-- +goose Up -- One more layout module: the search box. ALTER TABLE modules DROP CONSTRAINT modules_kind_check; ALTER TABLE modules ADD CONSTRAINT modules_kind_check CHECK (kind IN ('title', 'logo', 'menu', 'archive', 'recent', 'html', 'rss', 'text', 'sitemap', 'tags', 'tagcloud', 'search')); -- +goose Down DELETE FROM modules WHERE kind = 'search'; ALTER TABLE modules DROP CONSTRAINT modules_kind_check; ALTER TABLE modules ADD CONSTRAINT modules_kind_check CHECK (kind IN ('title', 'logo', 'menu', 'archive', 'recent', 'html', 'rss', 'text', 'sitemap', 'tags', 'tagcloud'));