[DiscordArchive] i have a question about managing the database while experimenting w/ different modules -- if i unins
[DiscordArchive] i have a question about managing the database while experimenting w/ different modules -- if i unins
Archived author: whipowill • Posted: 2022-05-15T15:08:31.619000+00:00
Original source
i have a question about managing the database while experimenting w/ different modules -- if i uninstall a module, how to I rollback the database w/out losing the accounts? for example the progression mod, if i want to roll everything back to a lower level, how would i do that? or uninstall the mod entirely, how would I restore the database to normal?
Archived author: Honey • Posted: 2022-05-15T15:10:47.310000+00:00
Original source
ideally modules should have a `up` sql to add their functionality and a `down` file to remove it. If they don't have it, it's on you.
Archived author: Honey • Posted: 2022-05-15T15:11:21.507000+00:00
Original source
However, if you just drop your world db, it's gonna be re-populated at next startup with a default db plus what's inside your custom folder.