aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/index.js b/src/index.js
index 4b9a3c6..a94f8d0 100644
--- a/src/index.js
+++ b/src/index.js
@@ -53,6 +53,9 @@ function setUpModels(){
type: {
type: Sequelize.STRING,
allowNull: false,
+ },
+ title: {
+ type: Sequelize.STRING,
},}),
"pictures": database.define('pictures', {
source: { type: Sequelize.TEXT, allowNull: false},