aboutsummaryrefslogtreecommitdiff
path: root/sqitch/pg
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-04-03 22:02:22 +0100
committerChristopher Baines <mail@cbaines.net>2020-04-03 22:02:22 +0100
commit318c064c42cf77b8c4a4e7bf515c4a4bbbfd58a6 (patch)
tree977ff52219d722c9e85939ae6a53e24c5d082c1b /sqitch/pg
parentdfb2bbd0d26c3e0a5f9d93be671677ab0491f934 (diff)
downloadbuild-coordinator-318c064c42cf77b8c4a4e7bf515c4a4bbbfd58a6.tar
build-coordinator-318c064c42cf77b8c4a4e7bf515c4a4bbbfd58a6.tar.gz
Add an initial migration
Diffstat (limited to 'sqitch/pg')
-rw-r--r--sqitch/pg/deploy/schema.sql7
-rw-r--r--sqitch/pg/revert/schema.sql7
-rw-r--r--sqitch/pg/verify/schema.sql7
3 files changed, 21 insertions, 0 deletions
diff --git a/sqitch/pg/deploy/schema.sql b/sqitch/pg/deploy/schema.sql
new file mode 100644
index 0000000..def0a54
--- /dev/null
+++ b/sqitch/pg/deploy/schema.sql
@@ -0,0 +1,7 @@
+-- Deploy guix-build-coordinator:schema to pg
+
+BEGIN;
+
+CREATE SCHEMA guix_build_coordinator;
+
+COMMIT;
diff --git a/sqitch/pg/revert/schema.sql b/sqitch/pg/revert/schema.sql
new file mode 100644
index 0000000..6359ce2
--- /dev/null
+++ b/sqitch/pg/revert/schema.sql
@@ -0,0 +1,7 @@
+-- Revert guix-build-coordinator:schema from pg
+
+BEGIN;
+
+-- XXX Add DDLs here.
+
+COMMIT;
diff --git a/sqitch/pg/verify/schema.sql b/sqitch/pg/verify/schema.sql
new file mode 100644
index 0000000..86d3c5f
--- /dev/null
+++ b/sqitch/pg/verify/schema.sql
@@ -0,0 +1,7 @@
+-- Verify guix-build-coordinator:schema on pg
+
+BEGIN;
+
+-- XXX Add verifications here.
+
+ROLLBACK;