File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,6 +43,13 @@ Get started
43434 . Setup environment variables, which will overwrite the configs
44445 . Run the server as you like (node, forever, pm2)
4545
46+ DB migration
47+ ---
48+ If you are upgrading HackMD from older version, you might need to do this to apply the DB schema changes.
49+
50+ 1 . Modify the file named ` .sequelizerc ` , change the value of the variable ` url ` with your db connection string.
51+ 2 . Run ` node_modules/.bin/sequelize db:migrate ` , that's it!
52+
4653Structure
4754---
4855```
@@ -125,11 +132,6 @@ Third-party integration api key settings
125132| imgur | ` config.json ` | for image upload |
126133| google drive, dropbox | ` public/js/common.js ` | for export and import |
127134
128- DB migration
129- ---
130- Modify the file named ` .sequelizerc ` , change the value of the variable ` url ` with your db connection string.
131- And run ` node_modules/.bin/sequelize db:migrate ` , that's it!
132-
133135Operational Transformation
134136---
135137From 0.3.2, we start support operational transformation.
You can’t perform that action at this time.
0 commit comments