From a73da0d736a50b7fb10f010b9ae4cc3e551c59e7 Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Tue, 16 Jul 2019 18:42:28 -0400 Subject: Add email form --- src/index.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/index.js') 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); -- cgit v1.2.3