This commit is contained in:
@@ -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, " +
|
||||
|
||||
Reference in New Issue
Block a user