summaryrefslogtreecommitdiff
path: root/util/updates/update_2.18.sql
blob: 90a5bcd3de060fe55cc64778a7b6648405c6e113 (plain)
1
2
3
4
5
6
7
8

CREATE TYPE tag_category AS ENUM('cont', 'ero', 'tech');

ALTER TABLE tags ADD COLUMN cat tag_category NOT NULL DEFAULT 'cont';

-- load new function(s)
\i util/sql/func.sql