mirror of https://github.com/status-im/codimd.git
Merge pull request #342 from bananaappletw/master
Change database config development to sqlite, test to memory
This commit is contained in:
commit
d6822dd410
|
@ -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 New Issue