Skip to content

Commit

Permalink
Updating database path and adding to git ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiehewitt15 committed Aug 12, 2024
1 parent 96339b0 commit bbc34c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,8 @@ html-report.html
.pk.out
.wallet.out
# environment
.env
.env

# databases
*.sqlite
databases/*
Binary file removed nonceDatabase.sqlite
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/database/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ export class NonceDatabase {
GENERIC_EMOJIS.EMOJI_CROSS_MARK,
LOG_LEVELS_STR.LEVEL_WARN
)
this.provider = new SQLiteProvider('nonceDatabase.sqlite')
this.provider = new SQLiteProvider('databases/nonceDatabase.sqlite')
await this.provider.createTable()
}

Expand Down

0 comments on commit bbc34c0

Please sign in to comment.