This commit is contained in:
2020-11-24 15:44:14 +00:00
parent aa0cece551
commit 0f17a79c30
2 changed files with 3 additions and 3 deletions

View File

@@ -493,9 +493,9 @@ $BODY$;
//CUSTOMER NOTES
await ExecQueryAsync("CREATE TABLE acustomernotes (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, " +
await ExecQueryAsync("CREATE TABLE acustomernote (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, " +
"customerid bigint not null REFERENCES acustomer(id), userid bigint not null REFERENCES auser(id), " +
"startdate timestamp not null, notes text, tags varchar(255) ARRAY )");
"notedate timestamp not null, notes text, tags varchar(255) ARRAY )");
//CONTRACT
await ExecQueryAsync("CREATE TABLE acontract (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, name text not null unique, active bool, " +