diff options
author | Mark Powers <mark@marks.kitchen> | 2021-12-23 16:50:42 -0600 |
---|---|---|
committer | Mark Powers <mark@marks.kitchen> | 2021-12-23 16:50:42 -0600 |
commit | 1d3574d38909bc9aae2792d839023e296fb25791 (patch) | |
tree | c409fbff38083b85356498f636714e6ec74f95e4 /src/index.js | |
parent | 85a103d6a02a50ce28cbb44c2e693000d9b7388d (diff) |
Add email unsubcribe link, update about me, add hello.js
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/index.js b/src/index.js index c2ad0c1..a7dff9b 100644 --- a/src/index.js +++ b/src/index.js @@ -87,7 +87,8 @@ function setUpModels(){ }), "emails": database.define('email', { address: Sequelize.STRING, - name: Sequelize.STRING + name: Sequelize.STRING, + code: Sequelize.STRING, }), "wordsquares": database.define('wordsquare', { words: Sequelize.STRING, @@ -99,7 +100,10 @@ function setUpModels(){ name: {type:Sequelize.STRING, primaryKey: true}, turn: Sequelize.STRING, userside: Sequelize.STRING - }) + }), + "hellos": database.define('hellos', { + page: { type: Sequelize.TEXT, allowNull: false}, + }), } models.pictures.belongsTo(models.posts); models.tags.belongsTo(models.posts); |