You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: moped-database/migrations/1745881623802_decom_and_new_subcomponents/down.sql
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,8 @@
1
-
-- if we delete the component tag in the future, we will soft delete and leave existing data intact
1
+
-- if we delete the added component tag in the future, we will soft delete and leave existing data intact
2
+
3
+
-- Remove unique constraint to allow for duplicate component/subcomponent associations
4
+
ALTERTABLE moped_components_subcomponents
5
+
DROP CONSTRAINT unique_component_subcomponents;
2
6
3
7
-- Restore previous component tag name
4
8
UPDATE moped_component_tags SET name ='Upgrades Existing', type ='Bikeways - Performance Measure', slug ='bikeways_performance_measure_upgrades_existing'
0 commit comments