sync
This commit is contained in:
7
migrations/add_start_time_to_drops.sql
Normal file
7
migrations/add_start_time_to_drops.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
-- Add start_time column to drops table
|
||||
ALTER TABLE `drops`
|
||||
ADD COLUMN `start_time` datetime DEFAULT NULL AFTER `created_at`;
|
||||
|
||||
-- Update existing drops to have start_time = created_at (so they're immediately available)
|
||||
UPDATE `drops` SET `start_time` = `created_at` WHERE `start_time` IS NULL;
|
||||
|
||||
Reference in New Issue
Block a user