This commit is contained in:
Jake Kasper
2025-08-25 09:52:58 -04:00
parent a374fff7e6
commit d9ab650d39
2 changed files with 41 additions and 13 deletions

View File

@@ -0,0 +1,7 @@
-- Make spreader_brand nullable to support equipment-based spreader settings
-- When equipment_id is used, spreader_brand can be null
ALTER TABLE product_spreader_settings
ALTER COLUMN spreader_brand DROP NOT NULL;
SELECT 'Made spreader_brand nullable for equipment-based settings!' as migration_status;