This commit is contained in:
@@ -23,7 +23,7 @@ namespace AyaNova.Util
|
||||
private const int DESIRED_SCHEMA_LEVEL = 9;
|
||||
|
||||
internal const long EXPECTED_COLUMN_COUNT = 99;
|
||||
internal const long EXPECTED_INDEX_COUNT = 20;
|
||||
internal const long EXPECTED_INDEX_COUNT = 21;
|
||||
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::PrepareDatabaseForSeeding WHEN NEW TABLES ADDED!!!!
|
||||
|
||||
/////////////////////////////////////////////////////////////////
|
||||
@@ -136,7 +136,7 @@ namespace AyaNova.Util
|
||||
//too little is bad if search takes a dogs age to find anything
|
||||
|
||||
exec("CREATE TABLE asearchdictionary (id BIGSERIAL PRIMARY KEY, word varchar(255) not null)");
|
||||
// exec("CREATE UNIQUE INDEX tagname_idx ON atag (name);");
|
||||
exec("CREATE UNIQUE INDEX searchdictword_idx ON asearchdictionary (word);");
|
||||
exec("CREATE TABLE asearchkey (id BIGSERIAL PRIMARY KEY, wordid bigint not null REFERENCES asearchdictionary (id), objectid bigint not null, objecttype integer not null, inname bool not null)");
|
||||
|
||||
//create locale text tables
|
||||
|
||||
Reference in New Issue
Block a user