github.com/icyphox/x@v0.0.355-0.20220311094250-029bd783e8b8/popx/stub/migrations/transactional/20191100000002000003_requests.cockroach.up.sql (about)

     1  CREATE TABLE "selfservice_registration_request_methods" (
     2  "id" UUID NOT NULL,
     3  PRIMARY KEY("id"),
     4  "method" VARCHAR (32) NOT NULL,
     5  "selfservice_registration_request_id" UUID NOT NULL,
     6  "config" json NOT NULL,
     7  "created_at" timestamp NOT NULL,
     8  "updated_at" timestamp NOT NULL,
     9  CONSTRAINT "selfservice_registration_request_methods_selfservice_registration_requests_id_fk" FOREIGN KEY ("selfservice_registration_request_id") REFERENCES "selfservice_registration_requests" ("id") ON DELETE cascade
    10  )