From fef1dc61af7373892eb32595ddc47329c2167d78 Mon Sep 17 00:00:00 2001
From: mrfoxygmfr <mrfoxygmfr@sch9.ru>
Date: Mon, 17 Mar 2025 12:20:49 +0300
Subject: feat(migrations): add database schema init scripts

---
 src/main/sql/1_create-database.down.sql | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 src/main/sql/1_create-database.down.sql

(limited to 'src/main/sql/1_create-database.down.sql')

diff --git a/src/main/sql/1_create-database.down.sql b/src/main/sql/1_create-database.down.sql
new file mode 100644
index 0000000..f43aba0
--- /dev/null
+++ b/src/main/sql/1_create-database.down.sql
@@ -0,0 +1,12 @@
+DROP TABLE IF EXISTS operation_products;
+DROP TABLE IF EXISTS operations;
+DROP TABLE IF EXISTS operation_statuses;
+DROP TYPE IF EXISTS OPERATION_TYPE;
+DROP TABLE IF EXISTS product_slots;
+DROP TABLE IF EXISTS product_storage_statues;
+DROP TABLE IF EXISTS storage_slots;
+DROP TABLE IF EXISTS partner_contacts;
+DROP TABLE IF EXISTS partners;
+DROP TYPE IF EXISTS PARTNER_TYPE;
+DROP TABLE IF EXISTS products;
+DROP TABLE IF EXISTS product_types;
\ No newline at end of file
-- 
cgit mrf-deployment

