From 5c138373b366547190fbc655c19a25a7a7ab4996 Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Sun, 3 Nov 2019 12:07:24 -0600 Subject: Add word squares --- src/index.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/index.js') 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); -- cgit v1.2.3