mirror of https://github.com/Chocobozzz/PeerTube
Fix createdAt/updatedAt issues
parent
c28bcdd10a
commit
4f0f2ab228
|
@ -10,7 +10,8 @@ import { AccountModel } from '../account/account'
|
|||
]
|
||||
}))
|
||||
@Table({
|
||||
tableName: 'application'
|
||||
tableName: 'application',
|
||||
timestamps: false
|
||||
})
|
||||
export class ApplicationModel extends Model<ApplicationModel> {
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ import * as Sequelize from 'sequelize'
|
|||
|
||||
@Table({
|
||||
tableName: 'videoView',
|
||||
updatedAt: false,
|
||||
indexes: [
|
||||
{
|
||||
fields: [ 'videoId' ]
|
||||
|
|
Loading…
Reference in New Issue