user-lib/migrations/1_user.sql

8 lines
212 B
MySQL
Raw Normal View History

2023-09-20 20:23:29 +00:00
CREATE TABLE IF NOT EXISTS user (
id SERIAL PRIMARY KEY,
name VARCHAR(255) NOT NULL,
password TEXT NOT NULL,
salt TEXT NOT NULL,
time_created TIMESTAMPTZ NOT NULL,
last_updated TIMESTAMPTZ NOT NULL,
)