...
1CREATE TABLE "selfservice_recovery_requests" (
2"id" UUID NOT NULL,
3PRIMARY KEY("id"),
4"request_url" VARCHAR (2048) NOT NULL,
5"issued_at" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
6"expires_at" timestamp NOT NULL,
7"messages" json,
8"active_method" VARCHAR (32),
9"csrf_token" VARCHAR (255) NOT NULL,
10"state" VARCHAR (32) NOT NULL,
11"recovered_identity_id" UUID,
12"created_at" timestamp NOT NULL,
13"updated_at" timestamp NOT NULL,
14CONSTRAINT "selfservice_recovery_requests_identities_id_fk" FOREIGN KEY ("recovered_identity_id") REFERENCES "identities" ("id") ON DELETE cascade
15)
View as plain text