github.com/icyphox/x@v0.0.355-0.20220311094250-029bd783e8b8/popx/stub/migrations/transactional/20191100000002000004_requests.sqlite3.up.sql (about) 1 CREATE TABLE "selfservice_profile_management_requests" ( 2 "id" TEXT PRIMARY KEY, 3 "request_url" TEXT NOT NULL, 4 "issued_at" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, 5 "expires_at" DATETIME NOT NULL, 6 "form" TEXT NOT NULL, 7 "update_successful" bool NOT NULL, 8 "identity_id" char(36) NOT NULL, 9 "created_at" DATETIME NOT NULL, 10 "updated_at" DATETIME NOT NULL, 11 FOREIGN KEY (identity_id) REFERENCES identities (id) ON DELETE cascade 12 );