This commit is contained in:
@@ -253,9 +253,6 @@ namespace AyaNova.Util
|
||||
await ExecQueryAsync("CREATE TABLE aglobalbizsettings (id INTEGER NOT NULL PRIMARY KEY, "
|
||||
+ "searchcasesensitiveonly BOOL DEFAULT FALSE, "
|
||||
+ "useinventory BOOL DEFAULT TRUE, "
|
||||
+ "taxpartpurchaseid BIGINT REFERENCES ataxcode, "
|
||||
+ "taxpartsaleid BIGINT REFERENCES ataxcode, "
|
||||
+ "taxratesaleid BIGINT REFERENCES ataxcode, "
|
||||
+ "workordercompletebyage INTERVAL NOT NULL DEFAULT '00:00:00'"
|
||||
+ ")");
|
||||
|
||||
@@ -513,6 +510,10 @@ $BODY$ LANGUAGE PLPGSQL STABLE");
|
||||
+ "notes TEXT, wiki TEXT, customfields TEXT, tags VARCHAR(255) ARRAY, "
|
||||
+ "taxapct DECIMAL(8,5) NOT NULL default 0, taxbpct DECIMAL(8,5) NOT NULL default 0, taxontax BOOL NOT NULL default false)");
|
||||
|
||||
//Global tax code defaults
|
||||
await ExecQueryAsync("ALTER TABLE aglobalbizsettings ADD column taxpartpurchaseid BIGINT REFERENCES ataxcode, "
|
||||
+"ADD column taxpartsaleid BIGINT REFERENCES ataxcode, ADD column taxratesaleid BIGINT REFERENCES ataxcode");
|
||||
|
||||
//MEMO
|
||||
await ExecQueryAsync("CREATE TABLE amemo (id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY, name TEXT NOT NULL, "
|
||||
+ "notes TEXT, wiki TEXT, customfields TEXT, tags VARCHAR(255) ARRAY, "
|
||||
|
||||
Reference in New Issue
Block a user