diff options
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js index 3a0573e..1214038 100644 --- a/src/index.js +++ b/src/index.js @@ -73,6 +73,10 @@ function setUpModels(){ session: Sequelize.STRING, method: Sequelize.STRING, url: Sequelize.STRING, + }), + "emails": database.define('email', { + address: Sequelize.STRING, + name: Sequelize.STRING }) } models.pictures.belongsTo(models.posts); |