...

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

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

     1CREATE TABLE "selfservice_recovery_request_methods" (
     2"id" UUID NOT NULL,
     3PRIMARY KEY("id"),
     4"method" VARCHAR (32) NOT NULL,
     5"config" jsonb NOT NULL,
     6"selfservice_recovery_request_id" UUID NOT NULL,
     7"created_at" timestamp NOT NULL,
     8"updated_at" timestamp NOT NULL,
     9FOREIGN KEY ("selfservice_recovery_request_id") REFERENCES "selfservice_recovery_requests" ("id") ON DELETE cascade
    10)

View as plain text