Skip to content

Commit ec5a99f

Browse files
committed
update example env to use better-sqlite3 and add DB_FILENAME
1 parent 680d5c7 commit ec5a99f

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.example.env

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,17 @@ DEFAULT_DOMAIN=localhost:3000
1111
JWT_SECRET=
1212

1313
# Optional - Database client. Available clients for the supported databases:
14-
# pg | pg-native | sqlite3 | better-sqlite3 | mysql | mysql2 | oracledb | tedious
15-
DB_CLIENT=sqlite3
16-
# SQL database credential details, only if you use Postgres or MySQL
14+
# pg | better-sqlite3 | mysql2
15+
# other supported drivers that you can use but you have to manually install them with npm:
16+
# pg-native | sqlite3 | mysql
17+
DB_CLIENT=better-sqlite3
18+
19+
# Optional - SQLite database file path
20+
# Only if you're using SQLite
21+
DB_FILENAME=db/data
22+
23+
# Optional - SQL database credential details
24+
# Only if you're using Postgres or MySQL
1725
DB_HOST=localhost
1826
DB_PORT=5432
1927
DB_NAME=kutt

0 commit comments

Comments
 (0)