[DiscordArchive] You can just check the modules SQL folder and delete the tables in SQL?
[DiscordArchive] You can just check the modules SQL folder and delete the tables in SQL?
Archived author: Roddan • Posted: 2023-02-17T22:53:52.172000+00:00
Original source
You can just check the modules SQL folder and delete the tables in SQL?
Archived author: Roddan • Posted: 2023-02-17T22:54:07.394000+00:00
Original source
See what it modified if possible or just recompile the server without I guess
Archived author: Revision • Posted: 2023-02-17T22:55:05.727000+00:00
Original source
No
Archived author: 郑佩茹 • Posted: 2023-02-17T23:02:40.089000+00:00
Original source
The old values are not preserved when updating the SQL to the values providing by the module, so there is no way to revert. I recommend to use a fresh world database anyway when installing, updating or removing modules that change the database content to ensure there is no old data causing troubles.
Archived author: stevej • Posted: 2023-02-17T23:23:49.084000+00:00
Original source
I meant, to create inside the module, a file, that is executed somehow, when the cmake detects that the module was deleted or something like that. That's what I meant, but I know it's complicated to explain. Maybe the best thing to do is to revert the data in another way. Thanks for replying.
Archived author: Nyeriah • Posted: 2023-02-18T02:30:31.351000+00:00
Original source
This is a logically impossible situation considering that if you delete the module, the file you created inside the module (to revert the data) will also be deleted
Archived author: Nyeriah • Posted: 2023-02-18T02:31:09.837000+00:00
Original source
Otherwise, modules can handle reverts if coded that way, its just not practical (mod-progression-system does reverts, *in a way*)