init push
This commit is contained in:
73
migrations/20260424_hospital_contacts_notes.sql
Normal file
73
migrations/20260424_hospital_contacts_notes.sql
Normal 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;
|
||||
Reference in New Issue
Block a user