init push
This commit is contained in:
11
migrations/20260424_opcs_note_sortkey.sql
Normal file
11
migrations/20260424_opcs_note_sortkey.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
-- +goose Up
|
||||
ALTER TABLE opcs
|
||||
ADD COLUMN note VARCHAR(255) NULL AFTER description,
|
||||
ADD COLUMN sortkey INT NULL AFTER name,
|
||||
ADD KEY idx_opcs_sortkey (sortkey);
|
||||
|
||||
-- +goose Down
|
||||
ALTER TABLE opcs
|
||||
DROP KEY idx_opcs_sortkey,
|
||||
DROP COLUMN sortkey,
|
||||
DROP COLUMN note;
|
||||
Reference in New Issue
Block a user