New rules made by developers are now automatically created when world boots up, this keeps from having to issue schema SQL updates every time rules are added.

- Whenever a rule isn't present in the database, it will be automatically created
- utils/sql/git/required/2017_06_24_rule_values_expand.sql required for avoid floating point value inserts
This commit is contained in:
Akkadius
2017-06-24 21:11:46 -05:00
parent 8f4ec1b960
commit 1c8dea909e
4 changed files with 6 additions and 1 deletions
+2
View File
@@ -332,6 +332,8 @@ int main(int argc, char** argv) {
database.ClearMerchantTemp();
}
RuleManager::Instance()->SaveRules(&database);
Log(Logs::General, Logs::World_Server, "Loading EQ time of day..");
TimeOfDay_Struct eqTime;
time_t realtime;