aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2019-07-16 18:42:28 -0400
committerMark Powers <markppowers0@gmail.com>2019-07-16 18:42:28 -0400
commita73da0d736a50b7fb10f010b9ae4cc3e551c59e7 (patch)
tree3fc2dc724505c515e7c71ffc1dc61a0176700a0e /src/index.js
parent7d0aa00e74b1ed2ea2cab9afaf8eb7b7f9280d3d (diff)
Add email form
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js4
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);