mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-15 18:27:05 +00:00
Merge pull request #226 from SyncrowIOT/SP-874-adjust-primary-key-type-to-varchar-in-order-to-ensure-ease-of-joining-tables
Change deviceId column type to uuid
This commit is contained in:
@ -20,7 +20,7 @@ export class DeviceStatusLogEntity {
|
||||
})
|
||||
eventFrom: SourceType;
|
||||
|
||||
@Column({ type: 'text' })
|
||||
@Column({ type: 'uuid' })
|
||||
deviceId: string;
|
||||
|
||||
@Column({ type: 'text' })
|
||||
|
Reference in New Issue
Block a user