mirror of
https://gitlab.com/niansa/asbots.git
synced 2025-03-06 20:48:25 +01:00
In ChanServ: renamed main table from "users" to "channels"
This commit is contained in:
parent
8edc5f68df
commit
2433f56852
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ async::result<void> ChanServ::intitialize() {
|
|||
using namespace sqlite_orm;
|
||||
storage = std::make_unique<Storage>(make_storage(
|
||||
std::string(getConfig("ChanServ", "database").value_or("chanserv.sqlite")),
|
||||
make_table("users",
|
||||
make_table("channels",
|
||||
make_column("id", &ChannelReg::id, autoincrement(), primary_key()),
|
||||
make_column("name", &ChannelReg::name),
|
||||
make_column("owner", &ChannelReg::owner))
|
||||
|
|
Loading…
Add table
Reference in a new issue