Skip to content

Commit

Permalink
Merge pull request #1191 from catenax-ng/bug/828-fix-tractionbattery-…
Browse files Browse the repository at this point in the history
…code-duplicates

bug: #828 fix flyway scripts
  • Loading branch information
ds-mwesener authored Apr 19, 2024
2 parents a67f48f + 21a6ba7 commit c8821a8
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 c8821a8

Please sign in to comment.