Files
fm_be/migrations/scripts/migration_helicopter.sql
2026-07-16 22:16:45 +07:00

11 lines
432 B
SQL

-- Deprecated helper script.
-- Use versioned goose migrations instead:
-- 1) make migrate-up-to v=20260414
-- 2) import legacy dump rows into table `helicopter_old_import`
-- 3) make migrate-up-to v=20260415
--
-- Notes:
-- - Data is migrated into `helicopters` (backend table name) with UUID bytes (BINARY(16)).
-- - `counter`, `service`, `disabled`, `visible` from legacy dump are ignored.
-- - `is_active` is forced to 1.