Skip to content

Commit

Permalink
bug: #828 fix flyway scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-lcapellino committed Apr 19, 2024
1 parent 8ecbd05 commit 21a6ba7
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@ ALTER TABLE traction_battery_code_subcomponent
ALTER TABLE traction_battery_code_subcomponent
ADD CONSTRAINT fk_asset_traction_battery_code_subcomponent FOREIGN KEY (asset_as_built_id) REFERENCES assets_as_built (id) on delete cascade;

ALTER VIEW IF EXISTS assets_as_built_view
ALTER COLUMN traction_battery_code DROP DEFAULT;

ALTER TABLE assets_as_built
DROP COLUMN traction_battery_code;
DROP COLUMN traction_battery_code CASCADE;

0 comments on commit 21a6ba7

Please sign in to comment.