This commit is contained in:
2018-09-07 20:24:56 +00:00
parent 7c5a6b3ad8
commit 6641179132
4 changed files with 20 additions and 17 deletions

View File

@@ -205,7 +205,7 @@ namespace AyaNova.Util
if (currentSchema < 6)
{
LogUpdateMessage(log);
// LOOKAT: Should taggroupmap have an index that enforces no taggroup can have the same tag more than once? Same for objects being tagged?
exec("CREATE TABLE atag (id BIGSERIAL PRIMARY KEY, ownerid bigint not null, name varchar(255) not null)");
exec("CREATE UNIQUE INDEX tagname_idx ON atag (name);");
exec("CREATE TABLE atagmap (id BIGSERIAL PRIMARY KEY, ownerid bigint not null," +