...

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

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

     1CREATE TABLE "selfservice_recovery_request_methods" (
     2"id" TEXT PRIMARY KEY,
     3"method" TEXT NOT NULL,
     4"config" TEXT NOT NULL,
     5"selfservice_recovery_request_id" char(36) NOT NULL,
     6"created_at" DATETIME NOT NULL,
     7"updated_at" DATETIME NOT NULL,
     8FOREIGN KEY (selfservice_recovery_request_id) REFERENCES selfservice_recovery_requests (id) ON DELETE cascade
     9)

View as plain text