This commit is contained in:
LINKIWI 2024-05-24 15:24:38 +12:00 committed by GitHub
commit 0bd660dff1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 178 additions and 45 deletions

View file

@ -75,11 +75,6 @@ func run(cfg *config.Config) error {
// =========================================================================
// Initialize Database & Repos
err := os.MkdirAll(cfg.Storage.Data, 0o755)
if err != nil {
log.Fatal().Err(err).Msg("failed to create data directory")
}
c, err := ent.Open("sqlite3", cfg.Storage.SqliteURL)
if err != nil {
log.Fatal().