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,73 @@
-- +goose Up
ALTER TABLE hospitals
ADD COLUMN IF NOT EXISTS note TEXT NULL;
ALTER TABLE icaos
ADD COLUMN IF NOT EXISTS note TEXT NULL;
ALTER TABLE health_insurance_companies
ADD COLUMN IF NOT EXISTS note TEXT NULL;
ALTER TABLE federal_states
ADD COLUMN IF NOT EXISTS note TEXT NULL;
ALTER TABLE lands
ADD COLUMN IF NOT EXISTS note TEXT NULL;
ALTER TABLE nationalities
ADD COLUMN IF NOT EXISTS note TEXT NULL;
ALTER TABLE pilot_profiles
ADD COLUMN IF NOT EXISTS note TEXT NULL;
ALTER TABLE doctor_profiles
ADD COLUMN IF NOT EXISTS note TEXT NULL;
ALTER TABLE air_rescuer_profiles
ADD COLUMN IF NOT EXISTS note TEXT NULL;
ALTER TABLE technician_profiles
ADD COLUMN IF NOT EXISTS note TEXT NULL;
ALTER TABLE flight_assistant_profiles
ADD COLUMN IF NOT EXISTS note TEXT NULL;
ALTER TABLE staff_profiles
ADD COLUMN IF NOT EXISTS note TEXT NULL;
-- +goose Down
ALTER TABLE hospitals
DROP COLUMN IF EXISTS note;
ALTER TABLE icaos
DROP COLUMN IF EXISTS note;
ALTER TABLE health_insurance_companies
DROP COLUMN IF EXISTS note;
ALTER TABLE federal_states
DROP COLUMN IF EXISTS note;
ALTER TABLE lands
DROP COLUMN IF EXISTS note;
ALTER TABLE nationalities
DROP COLUMN IF EXISTS note;
ALTER TABLE pilot_profiles
DROP COLUMN IF EXISTS note;
ALTER TABLE doctor_profiles
DROP COLUMN IF EXISTS note;
ALTER TABLE air_rescuer_profiles
DROP COLUMN IF EXISTS note;
ALTER TABLE technician_profiles
DROP COLUMN IF EXISTS note;
ALTER TABLE flight_assistant_profiles
DROP COLUMN IF EXISTS note;
ALTER TABLE staff_profiles
DROP COLUMN IF EXISTS note;