summaryrefslogtreecommitdiff
path: root/lib/migrations/20160703062241-support-authorship.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix eslint warningsSheogorath2019-05-311-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>
* Update error message text checksCarles Bruguera2018-11-161-1/+1
| | | | Signed-off-by: Carles Bruguera <carlesba@gmail.com>
* Extend migration error handlingSheogorath2018-09-051-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>
* Add missing catch blocks for migration from 1.1.1 to 1.2.0Hugo Caloto2018-07-311-0/+6
| | | | Signed-off-by: Hugo Caloto <hcaloto@gmail.com>
* fix: Fixed sequelize-cli db:migration cannot stop when occur errorBoHong Li2017-03-241-16/+20
| | | | | | Up and Down method must return a Promise. breaking changes: docker-hackmd cannot initialize, because db:migration will fail
* Use strict mode in all backend filesBoHong Li2017-03-141-0/+1
| | | | add ‘use strict’ in all backend file
* Use JavaScript Standard StyleBoHong Li2017-03-081-11/+7
| | | | | Introduce JavaScript Standard Style as project style rule, and fixed all fail on backend code.
* Add support of saving authors and authorshipWu Cheng-Han2016-07-301-0/+28