aboutsummaryrefslogtreecommitdiff
path: root/sqitch
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
parentdfb2bbd0d26c3e0a5f9d93be671677ab0491f934 (diff)
downloadbuild-coordinator-318c064c42cf77b8c4a4e7bf515c4a4bbbfd58a6.tar
build-coordinator-318c064c42cf77b8c4a4e7bf515c4a4bbbfd58a6.tar.gz
Add an initial migration
Diffstat (limited to 'sqitch')
-rw-r--r--sqitch/pg/deploy/schema.sql7
-rw-r--r--sqitch/pg/revert/schema.sql7
-rw-r--r--sqitch/pg/verify/schema.sql7
-rw-r--r--sqitch/sqitch.plan1
-rw-r--r--sqitch/sqlite/deploy/schema.sql7
-rw-r--r--sqitch/sqlite/revert/schema.sql7
-rw-r--r--sqitch/sqlite/verify/schema.sql7
7 files changed, 43 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;
diff --git a/sqitch/sqitch.plan b/sqitch/sqitch.plan
index 4cce5ba..5426bbd 100644
--- a/sqitch/sqitch.plan
+++ b/sqitch/sqitch.plan
@@ -1,3 +1,4 @@
%syntax-version=1.0.0
%project=guix-build-coordinator
+schema 2020-04-03T21:01:15Z Christopher Baines <mail@cbaines.net> # Create a schema
diff --git a/sqitch/sqlite/deploy/schema.sql b/sqitch/sqlite/deploy/schema.sql
new file mode 100644
index 0000000..48d6292
--- /dev/null
+++ b/sqitch/sqlite/deploy/schema.sql
@@ -0,0 +1,7 @@
+-- Deploy guix-build-coordinator:schema to sqlite
+
+BEGIN;
+
+-- XXX Add DDLs here.
+
+COMMIT;
diff --git a/sqitch/sqlite/revert/schema.sql b/sqitch/sqlite/revert/schema.sql
new file mode 100644
index 0000000..ddc8186
--- /dev/null
+++ b/sqitch/sqlite/revert/schema.sql
@@ -0,0 +1,7 @@
+-- Revert guix-build-coordinator:schema from sqlite
+
+BEGIN;
+
+-- XXX Add DDLs here.
+
+COMMIT;
diff --git a/sqitch/sqlite/verify/schema.sql b/sqitch/sqlite/verify/schema.sql
new file mode 100644
index 0000000..2c3c3a4
--- /dev/null
+++ b/sqitch/sqlite/verify/schema.sql
@@ -0,0 +1,7 @@
+-- Verify guix-build-coordinator:schema on sqlite
+
+BEGIN;
+
+-- XXX Add verifications here.
+
+ROLLBACK;