aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2019-11-03 12:07:24 -0600
committerMark Powers <markppowers0@gmail.com>2019-11-03 12:07:24 -0600
commit5c138373b366547190fbc655c19a25a7a7ab4996 (patch)
tree4ff10774a988278536d08a905c43b5bdfe10d9bd /src/index.js
parent316cb898d2439a28751b60511540e5fd3446cd9e (diff)
Add word squares
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);