boulder/sa/_db/migrations/20150828161056_DropStatusCo...

11 lines
290 B
SQL

-- +goose Up
-- SQL in section 'Up' is executed when this migration is applied
ALTER TABLE `certificates` DROP COLUMN `status`;
-- +goose Down
-- SQL section 'Down' is executed when this migration is rolled back
ALTER TABLE `certificates` ADD COLUMN `status` varchar(255) DEFAULT NULL;