Update README.md

This commit is contained in:
Max Wu 2016-06-02 03:45:30 +08:00
parent dcc5ef2df6
commit 7b093899ce
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ DB migration
If you are upgrading HackMD from older version, you might need to do this to apply the DB schema changes. If you are upgrading HackMD from older version, you might need to do this to apply the DB schema changes.
1. Modify the file named `.sequelizerc`, change the value of the variable `url` with your db connection string. 1. Modify the file named `.sequelizerc`, change the value of the variable `url` with your db connection string.
For example: `postgres://username:password@localhost:5432/hackmd`
2. Run `node_modules/.bin/sequelize db:migrate`, that's it! 2. Run `node_modules/.bin/sequelize db:migrate`, that's it!
Structure Structure