asdf
This commit is contained in:
7
database/migrations/make_spreader_brand_nullable.sql
Normal file
7
database/migrations/make_spreader_brand_nullable.sql
Normal 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;
|
||||
Reference in New Issue
Block a user