github.com/icyphox/x@v0.0.355-0.20220311094250-029bd783e8b8/popx/stub/migrations/transactional/20191100000006000000_courier.cockroach.up.sql (about) 1 CREATE TABLE "courier_messages" ( 2 "id" UUID NOT NULL, 3 PRIMARY KEY("id"), 4 "type" int NOT NULL, 5 "status" int NOT NULL, 6 "body" VARCHAR (255) NOT NULL, 7 "subject" VARCHAR (255) NOT NULL, 8 "recipient" VARCHAR (255) NOT NULL, 9 "created_at" timestamp NOT NULL, 10 "updated_at" timestamp NOT NULL 11 );