mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-14 09:57:28 +00:00
changed date string to iso
This commit is contained in:
@ -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' })
|
||||
|
Reference in New Issue
Block a user