1
0
Fork 0

Fix createdAt/updatedAt issues

This commit is contained in:
Chocobozzz 2019-04-26 09:16:43 +02:00
parent c28bcdd10a
commit 4f0f2ab228
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 3 additions and 1 deletions

View file

@ -10,7 +10,8 @@ import { AccountModel } from '../account/account'
]
}))
@Table({
tableName: 'application'
tableName: 'application',
timestamps: false
})
export class ApplicationModel extends Model<ApplicationModel> {

View file

@ -4,6 +4,7 @@ import * as Sequelize from 'sequelize'
@Table({
tableName: 'videoView',
updatedAt: false,
indexes: [
{
fields: [ 'videoId' ]