mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-20 13:31:56 +00:00
Feat[BE]: add migration scripts to manage document columns in expenses table for Document service integration
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
|||||||
|
-- Rollback: restore document columns to expenses table
|
||||||
|
ALTER TABLE expenses ADD COLUMN IF NOT EXISTS document_path JSON;
|
||||||
|
ALTER TABLE expenses ADD COLUMN IF NOT EXISTS realization_document_path JSON;
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
-- Delete document columns from expenses table since we now use Document service with polymorphic relations
|
||||||
|
ALTER TABLE expenses DROP COLUMN IF EXISTS document_path;
|
||||||
|
ALTER TABLE expenses DROP COLUMN IF EXISTS realization_document_path;
|
||||||
Reference in New Issue
Block a user