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

2
.vscode/launch.json vendored
View File

@@ -53,7 +53,7 @@
"AYANOVA_FOLDER_USER_FILES": "c:\\temp\\RavenTestData\\userfiles",
"AYANOVA_FOLDER_BACKUP_FILES": "c:\\temp\\RavenTestData\\backupfiles",
"AYANOVA_FOLDER_TEMPORARY_SERVER_FILES": "c:\\temp\\RavenTestData\\tempfiles",
"AYANOVA_SERVER_TEST_MODE": "false",
"AYANOVA_SERVER_TEST_MODE": "true",
"AYANOVA_SERVER_TEST_MODE_SEEDLEVEL": "small",
"AYANOVA_SERVER_TEST_MODE_TZ_OFFSET": "-7",
"AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\data\\code\\postgres_13\\bin\\"

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, " +