...

Text file src/github.com/ory/x/popx/stub/migrations/transactional/20191100000008000000_selfservice_verification.postgres.up.sql

Documentation: github.com/ory/x/popx/stub/migrations/transactional

     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