[DiscordArchive] also, if i want to create new tables in my module, should I put them in azerothcore/modules/my-modul
[DiscordArchive] also, if i want to create new tables in my module, should I put them in azerothcore/modules/my-modul
Archived author: mingbip • Posted: 2025-02-16T11:01:10.694000+00:00
Original source
also, if i want to create new tables in my module, should I put them in azerothcore/modules/my-module/data/sql/db-characters/ base or updates?
Archived author: Kitzunu • Posted: 2025-02-16T11:01:15.654000+00:00
Original source
sounds right
Archived author: Kitzunu • Posted: 2025-02-16T11:02:20.526000+00:00
Original source
if you want the autoupdater to work it reads `modules/mod-name/data/sql/db-world` so I think you just put it in db-characters
Archived author: mingbip • Posted: 2025-02-16T11:03:14.010000+00:00
Original source
wait, what? i put the .sql file directly in `db-characters` and not in either of the `base` or `updates` sub folderss?
Archived author: Kitzunu • Posted: 2025-02-16T11:04:02.053000+00:00
Original source
I would think os
Archived author: Kitzunu • Posted: 2025-02-16T11:04:03.606000+00:00
Original source
so
Archived author: Kitzunu • Posted: 2025-02-16T11:04:27.180000+00:00
Original source
I dont use or dev modules myself, but from what the autoupdater does it looks so
Archived author: mingbip • Posted: 2025-02-16T11:04:59.207000+00:00
Original source
weird, that's in contradiction with the documentation ^^'
Archived author: Kitzunu • Posted: 2025-02-16T11:05:06.315000+00:00
Original source
test it
Archived author: Kitzunu • Posted: 2025-02-16T11:06:16.701000+00:00
Original source
but the way UpdateFetcher gets db updates for modules is like this
```cpp
_sourceDirectory->generic_string() + "/modules/" + itr + "/data/sql/" + _dbModuleName;
```