Merge pull request #342 from bananaappletw/master
Change database config development to sqlite, test to memory
This commit is contained in:
commit
d6822dd410
1 changed files with 3 additions and 8 deletions
|
@ -2,18 +2,13 @@
|
||||||
"test": {
|
"test": {
|
||||||
"db": {
|
"db": {
|
||||||
"dialect": "sqlite",
|
"dialect": "sqlite",
|
||||||
"storage": "./db.hackmd.sqlite"
|
"storage": ":memory:"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"development": {
|
"development": {
|
||||||
"domain": "localhost",
|
|
||||||
"db": {
|
"db": {
|
||||||
"username": "",
|
"dialect": "sqlite",
|
||||||
"password": "",
|
"storage": "./db.hackmd.sqlite"
|
||||||
"database": "hackmd",
|
|
||||||
"host": "localhost",
|
|
||||||
"port": "3306",
|
|
||||||
"dialect": "mysql"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"production": {
|
"production": {
|
||||||
|
|
Loading…
Reference in a new issue