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

     1  CREATE TABLE "selfservice_verification_flow_methods" (
     2  "id" UUID NOT NULL,
     3  PRIMARY KEY("id"),
     4  "method" VARCHAR (32) NOT NULL,
     5  "selfservice_verification_flow_id" UUID NOT NULL,
     6  "config" jsonb NOT NULL,
     7  "created_at" timestamp NOT NULL,
     8  "updated_at" timestamp NOT NULL
     9  );
    10  ALTER TABLE "selfservice_verification_flows" ADD COLUMN "active_method" VARCHAR (32);