github.com/icyphox/x@v0.0.355-0.20220311094250-029bd783e8b8/popx/stub/migrations/transactional/20200519101057000000_create_recovery_addresses.postgres.up.sql (about) 1 CREATE TABLE "identity_recovery_addresses" ( 2 "id" UUID NOT NULL, 3 PRIMARY KEY("id"), 4 "via" VARCHAR (16) NOT NULL, 5 "value" VARCHAR (400) NOT NULL, 6 "identity_id" UUID NOT NULL, 7 "created_at" timestamp NOT NULL, 8 "updated_at" timestamp NOT NULL, 9 FOREIGN KEY ("identity_id") REFERENCES "identities" ("id") ON DELETE cascade 10 )