Change database config development to sqlite, test to memory

This commit is contained in:
bananaappletw 2017-02-04 13:31:37 +08:00
parent 15bf2b6da8
commit 0e6d1bbd6d
1 changed files with 3 additions and 8 deletions

View File

@ -2,18 +2,13 @@
"test": {
"db": {
"dialect": "sqlite",
"storage": "./db.hackmd.sqlite"
"storage": ":memory:"
}
},
"development": {
"domain": "localhost",
"db": {
"username": "",
"password": "",
"database": "hackmd",
"host": "localhost",
"port": "3306",
"dialect": "mysql"
"dialect": "sqlite",
"storage": "./db.hackmd.sqlite"
}
},
"production": {