summaryrefslogtreecommitdiff
path: root/lib/migrations/20160607060246-support-revision.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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-15/+17
| | | | | | 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-9/+5
| | | | | Introduce JavaScript Standard Style as project style rule, and fixed all fail on backend code.
* Fix migration script of revision lacks of definition of primary keyWu Cheng-Han2017-01-021-1/+4
|
* Add support of saving note revision and improve app start and stop procedure ↵Cheng-Han, Wu2016-06-171-0/+24
to ensure data integrity