init push

This commit is contained in:
2026-07-16 22:16:45 +07:00
commit 8b068bdb10
1021 changed files with 332816 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
ALTER TABLE duty_rosters
ADD COLUMN flight_id BINARY(16) NULL AFTER id;
CREATE UNIQUE INDEX idx_roster_flight_id
ON duty_rosters (flight_id);
-- Keep base/date as a non-unique lookup index so existing roster views still work.
DROP INDEX idx_roster_base_date ON duty_rosters;
CREATE INDEX idx_roster_base_date
ON duty_rosters (base_id, duty_date);