github.com/icyphox/x@v0.0.355-0.20220311094250-029bd783e8b8/popx/stub/migrations/legacy/20200830130644_add_verification_methods.mysql.up.sql (about)

     1  CREATE TABLE `selfservice_verification_flow_methods` (
     2  `id` char(36) NOT NULL,
     3  PRIMARY KEY(`id`),
     4  `method` VARCHAR (32) NOT NULL,
     5  `selfservice_verification_flow_id` char(36) NOT NULL,
     6  `config` JSON NOT NULL,
     7  `created_at` DATETIME NOT NULL,
     8  `updated_at` DATETIME NOT NULL
     9  ) ENGINE=InnoDB;
    10  ALTER TABLE `selfservice_verification_flows` ADD COLUMN `active_method` VARCHAR (32);