summaryrefslogtreecommitdiff
path: root/lib/migrations/20161009040430-support-delete-note.js (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-12-02Catch more errorsTilman Vatteroth1-1/+2
Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
2019-05-31Fix eslint warningsSheogorath1-0/+1
Since we are about to release it's time to finally fix our linting. This patch basically runs eslint --fix and does some further manual fixes. Also it sets up eslint to fail on every warning on order to make warnings visable in the CI process. There should no functional change be introduced. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-11-16Update error message text checksCarles Bruguera1-1/+1
Signed-off-by: Carles Bruguera <carlesba@gmail.com>
2018-09-05Extend migration error handlingSheogorath1-1/+1
The current error handling seems to conflict with some sequelize versions. So we add a second version of it in our excemptions. I'm not happy about it, but when it helps to prevent further migration breaking, it's worth it. Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
2018-07-31Add missing catch blocks for migration from 1.1.1 to 1.2.0Hugo Caloto1-1/+7
Signed-off-by: Hugo Caloto <hcaloto@gmail.com>
2017-03-24fix: Fixed sequelize-cli db:migration cannot stop when occur errorBoHong Li1-2/+2
Up and Down method must return a Promise. breaking changes: docker-hackmd cannot initialize, because db:migration will fail
2017-03-14Use strict mode in all backend filesBoHong Li1-0/+1
add ‘use strict’ in all backend file
2017-03-08Use JavaScript Standard StyleBoHong Li1-5/+3
Introduce JavaScript Standard Style as project style rule, and fixed all fail on backend code.
2017-01-21Fix redundant parameter to removeColumn in db migration scriptsWu Cheng-Han1-1/+1
2016-10-10Update to support delete noteWu Cheng-Han1-0/+11