steffenfritz / FileTrove

FileTrove indexes files and creates metadata from them.
https://filetrove.fritz.wtf
GNU Affero General Public License v3.0
28 stars 5 forks source link

[CHANGE] Add Update functionality to admftrove #15

Closed steffenfritz closed 9 months ago

steffenfritz commented 9 months ago

With every version update, even minor, older filetrove sqlite databases are not compatible with new ftrove versions. Even though not every update changes the database schema, this gives a lot of freedom in development.

On the other side with every new release a new database must be created.

To avoid this an upgrade path for every release should be defined and easily executable.

Therefore admftrove should have

i) all paths ii) sql updates iii) and file updates

as update function.

steffenfritz commented 9 months ago

Added update for version 1.0.0-DEV-5 to 1.0.0.-DEV-6

All changes are coded into admftrove. This is a naive, but also an easily understandable approach.