gitdataai/libs/migrate/sql/m20250628_000007_create_user_password.sql
2026-04-14 19:02:01 +08:00

9 lines
266 B
SQL

CREATE TABLE IF NOT EXISTS user_password (
"user" UUID PRIMARY KEY,
password_hash VARCHAR(255) NOT NULL,
password_salt VARCHAR(255),
is_active BOOLEAN NOT NULL DEFAULT true,
created_at TIMESTAMPTZ NOT NULL,
updated_at TIMESTAMPTZ NOT NULL
);