init push
This commit is contained in:
18
migrations/20260701_drop_easa_maintenance_program.sql
Normal file
18
migrations/20260701_drop_easa_maintenance_program.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
-- +goose Up
|
||||
-- +goose StatementBegin
|
||||
-- The EASA maintenance program field was removed from the release and its FM-report snapshot.
|
||||
ALTER TABLE easa_releases
|
||||
DROP COLUMN easa_maintenance_program;
|
||||
|
||||
ALTER TABLE fm_report_fleet_history
|
||||
DROP COLUMN easa_maintenance_program;
|
||||
-- +goose StatementEnd
|
||||
|
||||
-- +goose Down
|
||||
-- +goose StatementBegin
|
||||
ALTER TABLE easa_releases
|
||||
ADD COLUMN easa_maintenance_program VARCHAR(255) NULL AFTER helicopter_id;
|
||||
|
||||
ALTER TABLE fm_report_fleet_history
|
||||
ADD COLUMN easa_maintenance_program VARCHAR(255) NULL AFTER easa_is_signed;
|
||||
-- +goose StatementEnd
|
||||
Reference in New Issue
Block a user