Improve gochan-migration
- [x] Implement pre-2021 DB migration
- [ ] Implement Kusaba X migration
- [ ] Implement TinyBoard migration
- [ ] Add the ability for plugins to extend gochan-migration
This issue is stale because it has been open for 150 days with no activity.
in the first comment, checkbox are up to date ?
They are. I split them into separate tasks for migrating to a new database (or the same but with a different table prefix) and migrating in place (altering the schema to be gochan compatible). Though after doing some more testing, migrating in place might not be feasible, since it can lead to compatibility issues, especially with SQLite
As a workaround for in-place migration, it now renames the tables and then treats it as if it wasn't an in-place migration, recreating the tables and populating them. That way, the data is all there, and it has foreign key constraints