mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
remove password from clsi for sql
sequalise fails when it is set to null
This commit is contained in:
parent
3b06835499
commit
1ef8ea328c
5 changed files with 2407 additions and 110 deletions
2
services/clsi/.gitignore
vendored
2
services/clsi/.gitignore
vendored
|
@ -12,5 +12,7 @@ app.js
|
|||
cache
|
||||
.vagrant
|
||||
db.sqlite
|
||||
db.sqlite-wal
|
||||
db.sqlite-shm
|
||||
config/*
|
||||
npm-debug.log
|
||||
|
|
|
@ -42,4 +42,10 @@ module.exports =
|
|||
sync: () ->
|
||||
logger.log dbPath:Settings.mysql.clsi.storage, "syncing db schema"
|
||||
sequelize.sync()
|
||||
.then(->
|
||||
logger.log "db sync complete"
|
||||
).catch((err)->
|
||||
console.log err, "error syncing"
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -7,12 +7,11 @@ module.exports =
|
|||
clsi:
|
||||
database: "clsi"
|
||||
username: "clsi"
|
||||
password: null
|
||||
dialect: "sqlite"
|
||||
storage: process.env["SQLITE_PATH"] or Path.resolve(__dirname + "/../db.sqlite")
|
||||
pool:
|
||||
max: 1
|
||||
min: 0
|
||||
min: 1
|
||||
retry:
|
||||
max: 10
|
||||
|
||||
|
|
2502
services/clsi/package-lock.json
generated
2502
services/clsi/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -35,10 +35,10 @@
|
|||
"mkdirp": "0.3.5",
|
||||
"mysql": "2.6.2",
|
||||
"request": "^2.21.0",
|
||||
"sequelize": "4.38.0",
|
||||
"sequelize": "^4.38.0",
|
||||
"settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#v1.0.0",
|
||||
"smoke-test-sharelatex": "git+https://github.com/sharelatex/smoke-test-sharelatex.git#v0.2.0",
|
||||
"sqlite3": "4.0.2",
|
||||
"sqlite3": "^4.0.2",
|
||||
"underscore": "^1.8.2",
|
||||
"v8-profiler": "^5.2.4",
|
||||
"wrench": "~1.5.4"
|
||||
|
|
Loading…
Reference in a new issue