...

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

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

     1CREATE TABLE "identity_recovery_addresses" (
     2"id" UUID NOT NULL,
     3PRIMARY KEY("id"),
     4"via" VARCHAR (16) NOT NULL,
     5"value" VARCHAR (400) NOT NULL,
     6"identity_id" UUID NOT NULL,
     7"created_at" timestamp NOT NULL,
     8"updated_at" timestamp NOT NULL,
     9FOREIGN KEY ("identity_id") REFERENCES "identities" ("id") ON DELETE cascade
    10)

View as plain text