Skip to content

Commit ca20b80

Browse files
committed
add support for sqlite
1 parent 20077de commit ca20b80

File tree

1 file changed

+25
-15
lines changed

1 file changed

+25
-15
lines changed

.env

+25-15
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
# Postgres Live
2-
DB_HOST=127.0.0.1
3-
DB_DRIVER=postgres
4-
API_SECRET=98hbun98h #Used for creating a JWT. Can be anything
5-
DB_USER=steven
6-
DB_PASSWORD=
7-
DB_NAME=fullstack_api
8-
DB_PORT=5432
2+
# DB_HOST=127.0.0.1
3+
# DB_DRIVER=postgres
4+
# API_SECRET=98hbun98h #Used for creating a JWT. Can be anything
5+
# DB_USER=steven
6+
# DB_PASSWORD=
7+
# DB_NAME=fullstack_api
8+
# DB_PORT=5432
99

1010
# Postgres Test
11-
TestDbHost=127.0.0.1
12-
TestDbDriver=postgres
13-
TestApiSecret=98hbun98h
14-
TestDbUser=steven
15-
TestDbPassword=
16-
TestDbName=fullstack_api_test
17-
TestDbPort=5432
11+
# TestDbHost=127.0.0.1
12+
# TestDbDriver=postgres
13+
# TestApiSecret=98hbun98h
14+
# TestDbUser=steven
15+
# TestDbPassword=
16+
# TestDbName=fullstack_api_test
17+
# TestDbPort=5432
1818

1919
# Mysql Live
2020
# DB_HOST=127.0.0.1
@@ -32,4 +32,14 @@ TestDbPort=5432
3232
# TestDbUser=steven
3333
# TestDbPassword=here
3434
# TestDbName=fullstack_api_test
35-
# TestDbPort=3306
35+
# TestDbPort=3306
36+
37+
# sqlite live
38+
DB_DRIVER=sqlite3
39+
API_SECRET=98hbun98h #Used for creating a JWT. Can be anything
40+
DB_NAME=fullstack.sqlite
41+
42+
# sqlite test
43+
TestDbDriver=sqlite3
44+
TestApiSecret=98hbun98h
45+
TestDbName=fullstack_test.sqlite

0 commit comments

Comments
 (0)