...

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

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

     1CREATE TABLE "identity_verifiable_addresses" (
     2"id" TEXT PRIMARY KEY,
     3"code" TEXT NOT NULL,
     4"status" TEXT NOT NULL,
     5"via" TEXT NOT NULL,
     6"verified" bool NOT NULL,
     7"value" TEXT NOT NULL,
     8"verified_at" DATETIME,
     9"expires_at" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
    10"identity_id" char(36) NOT NULL,
    11"created_at" DATETIME NOT NULL,
    12"updated_at" DATETIME NOT NULL,
    13FOREIGN KEY (identity_id) REFERENCES identities (id) ON DELETE cascade
    14)

View as plain text