init push
This commit is contained in:
6
migrations/20260602_add_status_to_flights.sql
Normal file
6
migrations/20260602_add_status_to_flights.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
ALTER TABLE flights
|
||||
ADD COLUMN status VARCHAR(20) NOT NULL DEFAULT 'draft' AFTER id;
|
||||
|
||||
UPDATE flights
|
||||
SET status = 'draft'
|
||||
WHERE status IS NULL OR status = '';
|
||||
Reference in New Issue
Block a user