summaryrefslogtreecommitdiff
path: root/lib/migrations/20160607060246-support-revision.js (unfollow)
Commit message (Collapse)AuthorFilesLines
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-0/+6
Signed-off-by: Hugo Caloto <hcaloto@gmail.com>
2017-03-24fix: Fixed sequelize-cli db:migration cannot stop when occur errorBoHong Li1-15/+17
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-9/+5
Introduce JavaScript Standard Style as project style rule, and fixed all fail on backend code.
2017-01-02Fix migration script of revision lacks of definition of primary keyWu Cheng-Han1-1/+4
2016-06-17Add support of saving note revision and improve app start and stop procedure ↵Cheng-Han, Wu1-0/+24
to ensure data integrity