...

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

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

     1CREATE TABLE `selfservice_profile_management_requests` (
     2`id` char(36) NOT NULL,
     3PRIMARY KEY(`id`),
     4`request_url` VARCHAR (2048) NOT NULL,
     5`issued_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
     6`expires_at` DATETIME NOT NULL,
     7`form` JSON NOT NULL,
     8`update_successful` bool NOT NULL,
     9`identity_id` char(36) NOT NULL,
    10`created_at` DATETIME NOT NULL,
    11`updated_at` DATETIME NOT NULL,
    12FOREIGN KEY (`identity_id`) REFERENCES `identities` (`id`) ON DELETE cascade
    13) ENGINE=InnoDB;

View as plain text