diff options
author | Mark Powers <markppowers0@gmail.com> | 2019-11-03 12:07:24 -0600 |
---|---|---|
committer | Mark Powers <markppowers0@gmail.com> | 2019-11-03 12:07:24 -0600 |
commit | 5c138373b366547190fbc655c19a25a7a7ab4996 (patch) | |
tree | 4ff10774a988278536d08a905c43b5bdfe10d9bd /src/index.js | |
parent | 316cb898d2439a28751b60511540e5fd3446cd9e (diff) |
Add word squares
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 5 |
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); |