diff --git a/deploy/db_migrations/pricing-svc/0001_create_base_tables.down.sql b/deploy/db_migrations/pricing-svc/0001_create_base_tables.down.sql new file mode 100644 index 0000000..fc3c986 --- /dev/null +++ b/deploy/db_migrations/pricing-svc/0001_create_base_tables.down.sql @@ -0,0 +1 @@ +DROP TABLE IF EXISTS pricing.price; diff --git a/deploy/db_migrations/pricing-svc/0001_create_base_tables.up.sql b/deploy/db_migrations/pricing-svc/0001_create_base_tables.up.sql new file mode 100644 index 0000000..380305b --- /dev/null +++ b/deploy/db_migrations/pricing-svc/0001_create_base_tables.up.sql @@ -0,0 +1,9 @@ +CREATE TABLE IF NOT EXISTS pricing."price" +( + id uuid NOT NULL DEFAULT gen_random_uuid() +); + +ALTER TABLE IF EXISTS "pricing"."price" + OWNER to postgres; + +-- TODO ^^ PRIVILEGES... \ No newline at end of file