Skip to content

Commit 8d44b6d

Browse files
committed
Merge main and fix down migration to remove view that depends on fdu column first
1 parent e6cff46 commit 8d44b6d

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

  • moped-database/migrations/default/1763481385375_ecapris_funding

moped-database/migrations/default/1761074353404_ecapris_funding/down.sql renamed to moped-database/migrations/default/1763481385375_ecapris_funding/down.sql

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
-- Drop combined_project_funding_view
2+
DROP VIEW IF EXISTS combined_project_funding_view;
3+
14
-- Remove funding sync flag from projects table
25
ALTER TABLE moped_project
36
DROP COLUMN should_sync_ecapris_funding;
@@ -18,9 +21,3 @@ DROP INDEX IF EXISTS idx_moped_proj_funding_program_id;
1821

1922
-- Drop ecapris_subproject_funding table
2023
DROP TABLE IF EXISTS public.ecapris_subproject_funding;
21-
22-
-- Drop combined_project_funding_view
23-
DROP VIEW IF EXISTS combined_project_funding_view;
24-
25-
-- Restore previous view to use fund_dept_unit column
26-
DROP VIEW IF EXISTS project_funding_view;

moped-database/migrations/default/1761074353404_ecapris_funding/up.sql renamed to moped-database/migrations/default/1763481385375_ecapris_funding/up.sql

File renamed without changes.

0 commit comments

Comments
 (0)