Stub Customer object
This commit is contained in:
@@ -315,6 +315,28 @@ namespace AyaNova.Util
|
||||
}
|
||||
|
||||
|
||||
|
||||
//////////////////////////////////////////////////
|
||||
//MULTIPLE BIZ OBJECT tables
|
||||
if (currentSchema < 11)
|
||||
{
|
||||
LogUpdateMessage(log);
|
||||
|
||||
//CUSTOMER
|
||||
await ExecQueryAsync("CREATE TABLE acustomer (id BIGSERIAL PRIMARY KEY, name varchar(255) not null unique, active bool, " +
|
||||
"notes text NULL, wiki text null, customfields text NULL, tags varchar(255) ARRAY NULL)");
|
||||
await ExecQueryAsync("CREATE UNIQUE INDEX acustomer_name_id_idx ON acustomer (id, name);");
|
||||
await ExecQueryAsync("CREATE INDEX acustomer_tags ON acustomer using GIN(tags)");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
await SetSchemaLevelAsync(++currentSchema);
|
||||
}
|
||||
|
||||
|
||||
|
||||
// //////////////////////////////////////////////////
|
||||
// // WikiPage table
|
||||
// if (currentSchema < 11)
|
||||
|
||||
Reference in New Issue
Block a user