about summary refs log tree commit diff
path: root/server/migrations/00000000000000_diesel_initial_setup/down.sql
diff options
context:
space:
mode:
authorMelonai <einebeere@gmail.com>2021-01-13 22:37:31 +0100
committerMelonai <einebeere@gmail.com>2021-01-13 22:37:31 +0100
commit5b6ed8cfb245f7f9991f5fc192b8c9215f0ecdc1 (patch)
treec4b9ef58c708900d2a88fa5e8790629d415e2b75 /server/migrations/00000000000000_diesel_initial_setup/down.sql
parent6e8a1117ddef390453d6b695c301d7f4d219f947 (diff)
downloadshorest-5b6ed8cfb245f7f9991f5fc192b8c9215f0ecdc1.tar.zst
shorest-5b6ed8cfb245f7f9991f5fc192b8c9215f0ecdc1.zip
Created diesel migrations
Diffstat (limited to 'server/migrations/00000000000000_diesel_initial_setup/down.sql')
-rw-r--r--server/migrations/00000000000000_diesel_initial_setup/down.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/migrations/00000000000000_diesel_initial_setup/down.sql b/server/migrations/00000000000000_diesel_initial_setup/down.sql
new file mode 100644
index 0000000..a9f5260
--- /dev/null
+++ b/server/migrations/00000000000000_diesel_initial_setup/down.sql
@@ -0,0 +1,6 @@
+-- This file was automatically created by Diesel to setup helper functions
+-- and other internal bookkeeping. This file is safe to edit, any future
+-- changes will be added to existing projects as new migrations.
+
+DROP FUNCTION IF EXISTS diesel_manage_updated_at(_tbl regclass);
+DROP FUNCTION IF EXISTS diesel_set_updated_at();