sdgsdgf
This commit is contained in:
7
database/migrations/V13__watering_point_equipment.sql
Normal file
7
database/migrations/V13__watering_point_equipment.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
-- Link watering plan points to saved equipment and store name snapshot
|
||||
ALTER TABLE watering_plan_points
|
||||
ADD COLUMN IF NOT EXISTS equipment_id INTEGER REFERENCES user_equipment(id) ON DELETE SET NULL,
|
||||
ADD COLUMN IF NOT EXISTS equipment_name VARCHAR(255);
|
||||
|
||||
SELECT 'Added equipment_id and equipment_name to watering_plan_points' as migration_status;
|
||||
|
||||
Reference in New Issue
Block a user