mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-29 12:53:42 +00:00
Merge pull request #324 from SISheogorath/fix/unintended-migrations
Limit DB schema changes to migrations
This commit is contained in:
commit
301ab04839
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ function startListen () {
|
|||
}
|
||||
|
||||
// sync db then start listen
|
||||
models.sequelize.sync().then(function () {
|
||||
models.sequelize.authenticate().then(function () {
|
||||
// check if realtime is ready
|
||||
if (realtime.isReady()) {
|
||||
models.Revision.checkAllNotesRevision(function (err, notes) {
|
||||
|
|
Loading…
Reference in a new issue