diff --git a/NOTES.md b/NOTES.md index 5b09ab732d765fd741d7a1be2180f6a09452c1eb..d33a485dbf77eff2dd11d4a1ce8903b755e4030b 100644 --- a/NOTES.md +++ b/NOTES.md @@ -14,6 +14,8 @@ Have readline store a history file for the user. Configure at the `accounts.Ope Look up how godoc does references to other things. +Look up how to run migrations on the db from embedded files. + ## Things to do * Implement a better dclish parser. diff --git a/accounts/accounts.go b/accounts/accounts.go index 7bedc9c76c9c59459993642c99004436f1a5ba1d..11e68a4f0710708e03ec000eab2f7998ccc44bc0 100644 --- a/accounts/accounts.go +++ b/accounts/accounts.go @@ -55,6 +55,7 @@ func Open(acc string) error { if err != nil { return errors.New("account preference database problem") } + // TODO: run prefs migration - move this to a storage module. bulldir := path.Join(xdg.DataHome, "BULLETIN") err = os.MkdirAll(bulldir, 0700) @@ -65,6 +66,7 @@ func Open(acc string) error { if err != nil { return errors.New("bulletin database problem") } + // TODO: run prefs migration - move this to a storage module. return nil }