This commit is contained in:
2020-01-23 23:59:32 +00:00
parent b14afa1726
commit 8edeae4c04
4 changed files with 15 additions and 15 deletions

View File

@@ -210,7 +210,7 @@ namespace AyaNova.Util
//id, text, longtext, boolean, currency,
exec("CREATE TABLE awidget (id BIGSERIAL PRIMARY KEY, name varchar(255) not null, serial bigint not null," +
"startdate timestamp, enddate timestamp, dollaramount decimal(19,5), active bool, roles int4, count integer,"+
"notes text, userid bigint, customfields text, tags varchar(255) ARRAY)");
"notes text, userid bigint null, customfields text, tags varchar(255) ARRAY)");
//TEST TEST TEST ONLY FOR DEVELOPMENT TESTING TO ENSURE UNIQUENESS
//exec("CREATE UNIQUE INDEX awidget_serial_idx ON awidget (serial);");