Initial Commit
This commit is contained in:
8
migrations/20241009170101_activation_token.up.sql
Normal file
8
migrations/20241009170101_activation_token.up.sql
Normal file
@@ -0,0 +1,8 @@
|
||||
-- Add up migration script here
|
||||
CREATE TABLE "activation_token" (
|
||||
"user_id" uuid NOT NULL,
|
||||
"token" character varying(255) NOT NULL,
|
||||
"created_at" timestamp DEFAULT CURRENT_TIMESTAMP,
|
||||
"updated_at" timestamp DEFAULT CURRENT_TIMESTAMP,
|
||||
CONSTRAINT "activation_token_user_id_token" PRIMARY KEY ("user_id", "token")
|
||||
) WITH (oids = false);
|
Reference in New Issue
Block a user