Files
database/migrations/archive/000.413.sql
T
Rikard BartholfandGitHub ddcbd0afb0 Archive old migrations (#426)
* Archive old migrations

* Fix invalid placement of migrations
2024-10-17 11:19:12 +02:00

6 lines
288 B
SQL

-- Remove duplicate check on wallpaper kit price
ALTER TABLE prices_other_products DROP CONSTRAINT prices_other_products_wallpaper_kit_price_check1;
-- Add check on on samples price
ALTER TABLE prices_other_products ADD CONSTRAINT valid_samples_price CHECK (wallpaper_sample_price > 0);