Added new table and updated migrations
This commit is contained in:
@@ -20,3 +20,9 @@ CREATE TABLE IF NOT EXISTS "salt" (
|
|||||||
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
||||||
salt TEXT NOT NULL
|
salt TEXT NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS "passphrase" (
|
||||||
|
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
||||||
|
passphrase TEXT NOT NULL,
|
||||||
|
date_created TIMESTAMPTZ NOT NULL DEFAULT NOW()
|
||||||
|
);
|
||||||
|
2
migrations/20250802185652_passphrase_data.sql
Normal file
2
migrations/20250802185652_passphrase_data.sql
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
-- Add migration script here
|
||||||
|
INSERT INTO "passphrase" (passphrase) VALUES('iUOo1fxshf3y1tUGn1yU8l9raPApHCdinW0VdCHdRFEjqhR3Bf02aZzsKbLtaDFH');
|
Reference in New Issue
Block a user