Add db migrations for PR #121

This commit is contained in:
Cheng-Han, Wu
2016-05-15 12:20:42 +08:00
parent 93c6205aa6
commit baa946968d
5 changed files with 31 additions and 0 deletions

View File

@@ -125,6 +125,10 @@ Third-party integration api key settings
| imgur | `config.json` | for image upload |
| google drive, dropbox | `public/js/common.js` | for export and import |
DB migration
---
Modify the file named `.sequelizerc`, change the value of the variable `url` with your db connection string.
And run `node_modules/.bin/sequelize db:migrate`, that's it!
Operational Transformation
---