Fix createdAt/updatedAt issues

pull/1787/head
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' ]