mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-14 18:05:48 +00:00
convert project from microservices to rest apis
This commit is contained in:
@ -5,7 +5,7 @@ import { AbstractEntity } from '../../abstract/entities/abstract.entity';
|
||||
@Entity({ name: 'user' })
|
||||
export class UserEntity extends AbstractEntity<UserDto> {
|
||||
@Column({
|
||||
type: 'uuid',
|
||||
type: 'uuid',
|
||||
default: () => 'gen_random_uuid()', // Use gen_random_uuid() for default value
|
||||
nullable: false,
|
||||
})
|
||||
|
Reference in New Issue
Block a user