Open 6543 opened 2 years ago
add env-var/flag to specify "migrate-from-db"
if set, open old and do run migrations, then copy to new db, else do run migrations on new db
docker.io/woodpeckerci/woodpecker-server:pull_1847
has a working import func for the one serching for it: https://github.com/woodpecker-ci/woodpecker/pull/1847
add sub-command to server to migrate databases.add env-far/flag to import from old db; a dedicated subcomand could be optionaly added, let's seemake it possible to migrate a sqlite3 instance into a ... MySQL and so on.
It is could happen that you at some point decide you like to scale ...