mirror of
https://github.com/anope/anope.git
synced 2026-06-25 08:56:39 +02:00
Use versioned prefixes for the SQL database tables.
This commit is contained in:
@@ -158,7 +158,7 @@ public:
|
||||
const auto &block = conf.GetModule(this);
|
||||
|
||||
this->SQL.SetServiceName(block.Get<const Anope::string>("engine"));
|
||||
this->prefix = block.Get<const Anope::string>("prefix", "anope_db_");
|
||||
this->prefix = block.Get<const Anope::string>("prefix", "anope21_");
|
||||
}
|
||||
|
||||
void OnSerializableConstruct(Serializable *obj) override
|
||||
|
||||
Reference in New Issue
Block a user