changed date string to iso

This commit is contained in:
unknown
2024-10-27 11:37:25 +03:00
parent 060accceea
commit 008fe0a515

View File

@ -2,13 +2,9 @@ import { SourceType } from '@app/common/constants/source-type.enum';
import { Entity, Column, PrimaryColumn, Index } from 'typeorm';
@Entity('device-status-log')
@Index('logTime_idx', ['eventTime'])
@Index('event_time_idx', ['eventTime'])
export class DeviceStatusLogEntity {
@PrimaryColumn({
type: 'int',
generated: true,
unsigned: true,
})
@Column({ type: 'int', generated: true, unsigned: true })
id: number;
@Column({ type: 'text' })