mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-15 02:15:21 +00:00
fix issue in real time
This commit is contained in:
@ -4,7 +4,11 @@ import { Entity, Column, PrimaryColumn, Index } from 'typeorm';
|
||||
@Entity('device-status-log')
|
||||
@Index('logTime_idx', ['eventTime'])
|
||||
export class DeviceStatusLogEntity {
|
||||
@PrimaryColumn()
|
||||
@PrimaryColumn({
|
||||
type: 'int',
|
||||
generated: true,
|
||||
unsigned: true,
|
||||
})
|
||||
id: number;
|
||||
|
||||
@Column({ type: 'text' })
|
||||
|
Reference in New Issue
Block a user