aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js
index c6a5a18..3a01d6f 100644
--- a/src/index.js
+++ b/src/index.js
@@ -81,6 +81,11 @@ function setUpModels(){
"emails": database.define('email', {
address: Sequelize.STRING,
name: Sequelize.STRING
+ }),
+ "wordsquares": database.define('wordsquare', {
+ words: Sequelize.STRING,
+ name: Sequelize.STRING,
+ best: Sequelize.BOOLEAN
})
}
models.pictures.belongsTo(models.posts);