...

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

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

     1CREATE TABLE `identity_recovery_addresses` (
     2`id` char(36) NOT NULL,
     3PRIMARY KEY(`id`),
     4`via` VARCHAR (16) NOT NULL,
     5`value` VARCHAR (400) NOT NULL,
     6`identity_id` char(36) NOT NULL,
     7`created_at` DATETIME NOT NULL,
     8`updated_at` DATETIME NOT NULL,
     9FOREIGN KEY (`identity_id`) REFERENCES `identities` (`id`) ON DELETE cascade
    10) ENGINE=InnoDB

View as plain text