Switch from files to database #22
AlUlkesh
announced in
Announcements
Replies: 3 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Cool ... getting curious about where this is going to ... :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
I don't know the best place to ask this, but what do you think about using switching to SQLAlchemy instead of sqlite3. Its an ORM model so its a lot more pythonic, and we don't have to write any raw sequel. I think it should also make adding new features easier. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'll commit another major change soon. I changed all the file-based handling to a database. This should make it easier for me to implement new features in the future.
On the first run, the old settings are migrated and some rescanning is necessary on each directory. Those are all one-time things though.
While not everything I want with this change is in there yet, everything should feel faster already.
Since this was a big rewrite, it's possible some data constellation might have a problem with the database implementation.
In case you run into a game-breaking bug, you can downgrade to the last non-db version by doing:
or to go back after that:
Beta Was this translation helpful? Give feedback.
All reactions