boulder/sa/_db/migrations/20160602142227_AddCertifica...

11 lines
281 B
SQL

-- +goose Up
-- SQL in section 'Up' is executed when this migration is applied
ALTER TABLE `certificates` ADD INDEX `issued_idx` (`issued`);
-- +goose Down
-- SQL section 'Down' is executed when this migration is rolled back
ALTER TABLE `certificates` DROP INDEX `issued_idx`;