...
1CREATE TABLE "identity_verifiable_addresses" (
2"id" UUID NOT NULL,
3PRIMARY KEY("id"),
4"code" VARCHAR (32) NOT NULL,
5"status" VARCHAR (16) NOT NULL,
6"via" VARCHAR (16) NOT NULL,
7"verified" bool NOT NULL,
8"value" VARCHAR (400) NOT NULL,
9"verified_at" timestamp,
10"expires_at" timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
11"identity_id" UUID NOT NULL,
12"created_at" timestamp NOT NULL,
13"updated_at" timestamp NOT NULL,
14FOREIGN KEY ("identity_id") REFERENCES "identities" ("id") ON DELETE cascade
15)
View as plain text