From 5cde06c2443d21b807e44032589a6cd72d69b48c Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 6 Dec 2018 20:14:42 +0000 Subject: [PATCH] --- server/AyaNova/util/AySchema.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/AyaNova/util/AySchema.cs b/server/AyaNova/util/AySchema.cs index 9c60b8dd..ad47631d 100644 --- a/server/AyaNova/util/AySchema.cs +++ b/server/AyaNova/util/AySchema.cs @@ -166,7 +166,8 @@ namespace AyaNova.Util //Add user table exec("CREATE TABLE auser (id BIGSERIAL PRIMARY KEY, ownerid bigint not null, active bool not null, name varchar(255) not null, " + "login text not null, password text not null, salt text not null, roles integer not null, localeid bigint not null REFERENCES alocale (id), " + - "dlkey text, dlkeyexpire timestamp, usertype integer not null, employeenumber varchar(255), notes text, clientid bigint, headofficeid bigint, subvendorid bigint)"); + "dlkey text, dlkeyexpire timestamp, usertype integer not null, employeenumber varchar(255), notes text, clientid bigint, " + + "headofficeid bigint, subvendorid bigint, tags varchar(255) ARRAY)"); //Index for name fetching exec("CREATE UNIQUE INDEX auser_name_id_idx ON auser (id, name);");