mirror of
https://github.com/KevinMidboe/leifsbackend.git
synced 2025-10-29 09:40:20 +00:00
Image model gets a new folder column
This commit is contained in:
@@ -16,13 +16,17 @@ module.exports = (sequelize, DataTypes) => {
|
||||
type: DataTypes.TEXT,
|
||||
allowNull: true
|
||||
},
|
||||
size: {
|
||||
type: DataTypes.DOUBLE,
|
||||
variations: {
|
||||
type: DataTypes.JSON,
|
||||
allowNull: true
|
||||
},
|
||||
album_order: {
|
||||
type: DataTypes.INTEGER,
|
||||
allowNull: true
|
||||
},
|
||||
folder: {
|
||||
type: DataTypes.TEXT,
|
||||
allowNull: false
|
||||
}
|
||||
}, {});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user