aboutsummaryrefslogtreecommitdiffstats
path: root/backend/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'backend/migrations')
-rw-r--r--backend/migrations/2021.06.29T19.17.13.value.sql5
-rw-r--r--backend/migrations/down/2021.06.29T19.17.13.value.sql1
2 files changed, 6 insertions, 0 deletions
diff --git a/backend/migrations/2021.06.29T19.17.13.value.sql b/backend/migrations/2021.06.29T19.17.13.value.sql
new file mode 100644
index 0000000..0324d1b
--- /dev/null
+++ b/backend/migrations/2021.06.29T19.17.13.value.sql
@@ -0,0 +1,5 @@
+CREATE TABLE state (
+ value BIGINT NOT NULL
+);
+
+INSERT INTO state (value) VALUES (0);
diff --git a/backend/migrations/down/2021.06.29T19.17.13.value.sql b/backend/migrations/down/2021.06.29T19.17.13.value.sql
new file mode 100644
index 0000000..cf9801d
--- /dev/null
+++ b/backend/migrations/down/2021.06.29T19.17.13.value.sql
@@ -0,0 +1 @@
+DROP TABLE state;