summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKapil Viren Ahuja <k.v.ahuja@gmail.com>2017-03-30 20:45:37 +0530
committerKapil Viren Ahuja <k.v.ahuja@gmail.com>2017-03-30 20:45:37 +0530
commit4e4597e14f5a4a70c6e81ec431946abbafe7ceb2 (patch)
tree42b98c2875b1ea67a7d7b146c1a1e207786e0dc5
parent14541dcb3c2713d166da427e16da2c5c54c2d1cc (diff)
parent5604c548f3e01c4f1eeeb14aae5629d22161e1f6 (diff)
downloadprocessor-4e4597e14f5a4a70c6e81ec431946abbafe7ceb2.tar.gz
processor-4e4597e14f5a4a70c6e81ec431946abbafe7ceb2.zip
Merge branch 'release/2.0.0' of https://gitlab.com/vainglorygame/processor into release/2.0.0
-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
+ }
+}