summaryrefslogtreecommitdiff
path: root/lib/migrations/20160515114000-user-add-tokens.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-4/+6
| | | | | | 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-13/+9
| | | | | Introduce JavaScript Standard Style as project style rule, and fixed all fail on backend code.
* Add db migrations for PR #121Cheng-Han, Wu2016-05-151-0/+15