Updated migrations

This commit is contained in:
2025-04-05 11:41:02 -04:00
parent 68d8d057b1
commit 5e683c1b48

View File

@@ -12,5 +12,11 @@ CREATE TABLE IF NOT EXISTS "user" (
email_verified BOOL NOT NULL,
date_created TIMESTAMPTZ NOT NULL DEFAULT NOW(),
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
);