woodpecker/cmd
6543 f02789c74a
Fix bug where db file is posible moved outside of docker volume (#496)
#494 introduced a bug, where a migration function can remove the sqlite3 file outside of the mounted docker volume.
that would result in a data lose after a container recreate.

this fix it by only rename the file if in same folder else just use the old path as fallback and put warnings into the log

Co-authored-by: Anbraten <anton@ju60.de>
2021-10-30 14:53:24 +02:00
..
agent Upgrade urfave/cli to v2 (#483) 2021-10-27 21:03:14 +02:00
cli Upgrade urfave/cli to v2 (#483) 2021-10-27 21:03:14 +02:00
server Fix bug where db file is posible moved outside of docker volume (#496) 2021-10-30 14:53:24 +02:00