more on documentation

This commit is contained in:
lesion
2019-07-26 23:53:02 +02:00
parent 4da5e6dca5
commit 10921a072f
22 changed files with 1302 additions and 32 deletions

18
docs/dev/migration.md Normal file
View File

@@ -0,0 +1,18 @@
---
layout: default
title: Migration
permalink: /dev/migration
parent: Hacking
---
### Migration
If you need to modify the db's structure while hacking, it's super easy,
just change `server/api/models/`.
If you then decide that your changes are good for production, a
sequelize migration is needed:
#### Create a migration:
`./node_modules/.bin/sequelize migration:generate --name your_migration`