cleaning documentation

This commit is contained in:
les
2019-09-24 11:46:11 +02:00
parent f5a2c788ac
commit 803a217122
20 changed files with 191 additions and 108 deletions

View File

@@ -274,15 +274,8 @@
<div id="main-content" class="page-content" role="main">
<h3 id="migration">Migration</h3>
<p>If you need to modify the dbs structure while hacking, its super easy,
just change <code class="highlighter-rouge">server/api/models/</code>.</p>
<p>If you then decide that your changes are good for production, a
sequelize migration is needed:</p>
<h4 id="create-a-migration">Create a migration:</h4>
<p><code class="highlighter-rouge">./node_modules/.bin/sequelize migration:generate --name your_migration</code></p>
<p>If you need to modify the dbs structure while hacking, just change <code class="highlighter-rouge">server/api/models/</code> and
remember to create a migration, to understand how things works <a href="https://sequelize.org/master/manual/migrations.html">check the sequelize documentation</a></p>