Removed created from the Media model
This commit is contained in:
@ -8,7 +8,6 @@ export interface IMedia extends Model<InferAttributes<IMedia>, InferCreationAttr
|
||||
assetName: string
|
||||
assetEnding: string
|
||||
assetDescription?: string
|
||||
created?: Date
|
||||
}
|
||||
|
||||
const MediaSchema = sequelize.define<IMedia>('media', {
|
||||
@ -31,10 +30,6 @@ const MediaSchema = sequelize.define<IMedia>('media', {
|
||||
assetEnding: {
|
||||
type: DataTypes.STRING,
|
||||
defaultValue: "txt"
|
||||
},
|
||||
created: {
|
||||
type: DataTypes.DATE,
|
||||
defaultValue: Date.now
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user