Updated migrations
This commit is contained in:
@@ -12,5 +12,11 @@ CREATE TABLE IF NOT EXISTS "user" (
|
|||||||
email_verified BOOL NOT NULL,
|
email_verified BOOL NOT NULL,
|
||||||
date_created TIMESTAMPTZ NOT NULL DEFAULT NOW(),
|
date_created TIMESTAMPTZ NOT NULL DEFAULT NOW(),
|
||||||
status TEXT NOT NULL,
|
status TEXT NOT NULL,
|
||||||
last_login TIMESTAMPTZ NULL DEFAULT NOW()
|
last_login TIMESTAMPTZ NULL DEFAULT NOW(),
|
||||||
|
salt_id UUID NOT NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS "salt" (
|
||||||
|
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
||||||
|
salt TEXT NOT NULL
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user