Skip to content

Commit

Permalink
remove migration env var
Browse files Browse the repository at this point in the history
  • Loading branch information
elnosh committed Dec 16, 2024
1 parent d516eb8 commit e6e1452
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cmd/mint/mint.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ func configFromEnv() (*mint.Config, error) {
mintPath = filepath.Join(homedir, ".gonuts", "mint")
}

dbMigrations := os.Getenv("DB_MIGRATIONS")
if len(dbMigrations) == 0 {
dbMigrations = "../../mint/storage/sqlite/migrations"
}

mintLimits := mint.MintLimits{}
if maxBalanceEnv, ok := os.LookupEnv("MAX_BALANCE"); ok {
maxBalance, err := strconv.ParseUint(maxBalanceEnv, 10, 64)
Expand Down

0 comments on commit e6e1452

Please sign in to comment.