Update database/entity/0001-init_db/User.ts

Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
This commit is contained in:
Moriz Wahl 2021-11-26 12:22:24 +01:00 committed by GitHub
parent e2f8de0acb
commit 62c4552535
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ export class User extends BaseEntity {
@PrimaryGeneratedColumn('increment', { unsigned: true })
id: number
@Column({ default: 0, name: 'index_id' })
@Column({ name: 'index_id', default: 0 })
indexId: number
@Column({ default: 0, name: 'group_id', unsigned: true })