forked from mirrors/homebox
feat: versioned migrations (#26)
* enable atlas migrations * use embedded atlas migrations * chores * bad migration example * tidy * fix linter issues * reset migration state * sort slice before testing * move temp write logic to migrations package
This commit is contained in:
parent
343290a55a
commit
8ba954674e
14 changed files with 255 additions and 30 deletions
|
@ -6,6 +6,6 @@ const (
|
|||
|
||||
type Storage struct {
|
||||
// Data is the path to the root directory
|
||||
Data string `yaml:"data" conf:"default:./homebox-data"`
|
||||
SqliteUrl string `yaml:"sqlite-url" conf:"default:./homebox-data/homebox.db?_fk=1"`
|
||||
Data string `yaml:"data" conf:"default:./.data"`
|
||||
SqliteUrl string `yaml:"sqlite-url" conf:"default:./.data/homebox.db?_fk=1"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue