init push
This commit is contained in:
11
migrations/20260623_add_fm_report_completion_columns.sql
Normal file
11
migrations/20260623_add_fm_report_completion_columns.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
-- +goose Up
|
||||
ALTER TABLE fm_reports
|
||||
ADD COLUMN completed_at DATETIME(3) NULL DEFAULT NULL AFTER engine2_ptc_n2,
|
||||
ADD COLUMN completed_by BINARY(16) NULL DEFAULT NULL AFTER completed_at,
|
||||
ADD KEY idx_fm_reports_completed_at (completed_at);
|
||||
|
||||
-- +goose Down
|
||||
ALTER TABLE fm_reports
|
||||
DROP KEY idx_fm_reports_completed_at,
|
||||
DROP COLUMN completed_by,
|
||||
DROP COLUMN completed_at;
|
||||
Reference in New Issue
Block a user