summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--model_config.json7
2 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..11884d2
--- /dev/null
+++ b/README.md
@@ -0,0 +1 @@
+ * Generating the models from the db schema: `sequelize-auto -o ./models -d vainweb -h localhost -u vainweb -x vainweb -e mysql -c model_config.json`
diff --git a/model_config.json b/model_config.json
new file mode 100644
index 0000000..3597f93
--- /dev/null
+++ b/model_config.json
@@ -0,0 +1,7 @@
+{
+ "additional": {
+ "timestamps": false,
+ "underscored": true,
+ "freezeTableName": true
+ }
+}