...

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

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

     1CREATE TABLE `identity_verifiable_addresses` (
     2`id` char(36) 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` DATETIME,
    10`expires_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
    11`identity_id` char(36) NOT NULL,
    12`created_at` DATETIME NOT NULL,
    13`updated_at` DATETIME NOT NULL,
    14FOREIGN KEY (`identity_id`) REFERENCES `identities` (`id`) ON DELETE cascade
    15) ENGINE=InnoDB

View as plain text