...
1CREATE TABLE "selfservice_profile_management_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"form" json NOT NULL,
8"update_successful" bool NOT NULL,
9"identity_id" UUID NOT NULL,
10"created_at" timestamp NOT NULL,
11"updated_at" timestamp NOT NULL,
12CONSTRAINT "selfservice_profile_management_requests_identities_id_fk" FOREIGN KEY ("identity_id") REFERENCES "identities" ("id") ON DELETE cascade
13);
View as plain text