diff --git a/dictation_server/src/repositories/accounts/entity/account.entity.ts b/dictation_server/src/repositories/accounts/entity/account.entity.ts index 74a0a0a..7663f47 100644 --- a/dictation_server/src/repositories/accounts/entity/account.entity.ts +++ b/dictation_server/src/repositories/accounts/entity/account.entity.ts @@ -13,7 +13,7 @@ export class Account { @PrimaryGeneratedColumn() id: number; - @Column({ nullable: true, type: 'unsigned big int' }) + @Column({ nullable: true, type: 'int' }) parent_account_id: number | null; @Column() @@ -34,13 +34,13 @@ export class Account { @Column({ default: false }) verified: boolean; - @Column({ nullable: true, type: 'unsigned big int' }) + @Column({ nullable: true, type: 'int' }) primary_admin_user_id: number | null; - @Column({ nullable: true, type: 'unsigned big int' }) + @Column({ nullable: true, type: 'int' }) secondary_admin_user_id: number | null; - @Column({ nullable: true, type: 'unsigned big int' }) + @Column({ nullable: true, type: 'int' }) active_worktype_id: number | null; @Column({ nullable: true, type: 'datetime' }) diff --git a/dictation_server/src/repositories/checkout_permissions/entity/checkout_permission.entity.ts b/dictation_server/src/repositories/checkout_permissions/entity/checkout_permission.entity.ts index 1269c1f..2ff148e 100644 --- a/dictation_server/src/repositories/checkout_permissions/entity/checkout_permission.entity.ts +++ b/dictation_server/src/repositories/checkout_permissions/entity/checkout_permission.entity.ts @@ -18,10 +18,10 @@ export class CheckoutPermission { @Column({}) task_id: number; - @Column({ nullable: true, type: 'unsigned big int' }) + @Column({ nullable: true, type: 'int' }) user_id: number | null; - @Column({ nullable: true, type: 'unsigned big int' }) + @Column({ nullable: true, type: 'int' }) user_group_id: number | null; @OneToOne(() => User, (user) => user.id) diff --git a/dictation_server/src/repositories/licenses/entity/license.entity.ts b/dictation_server/src/repositories/licenses/entity/license.entity.ts index b8e2cd2..c3adf94 100644 --- a/dictation_server/src/repositories/licenses/entity/license.entity.ts +++ b/dictation_server/src/repositories/licenses/entity/license.entity.ts @@ -79,16 +79,16 @@ export class License { @Column() status: string; - @Column({ nullable: true, type: 'unsigned big int' }) + @Column({ nullable: true, type: 'int' }) allocated_user_id: number | null; - @Column({ nullable: true, type: 'unsigned big int' }) + @Column({ nullable: true, type: 'int' }) order_id: number | null; @Column({ nullable: true, type: 'datetime' }) deleted_at: Date | null; - @Column({ nullable: true, type: 'unsigned big int' }) + @Column({ nullable: true, type: 'int' }) delete_order_id: number | null; @Column({ nullable: true, type: 'datetime' }) @@ -244,16 +244,16 @@ export class LicenseArchive { @Column() status: string; - @Column({ nullable: true, type: 'unsigned big int' }) + @Column({ nullable: true, type: 'int' }) allocated_user_id: number | null; - @Column({ nullable: true, type: 'unsigned big int' }) + @Column({ nullable: true, type: 'int' }) order_id: number | null; @Column({ nullable: true, type: 'datetime' }) deleted_at: Date | null; - @Column({ nullable: true, type: 'unsigned big int' }) + @Column({ nullable: true, type: 'int' }) delete_order_id: number | null; @Column({ nullable: true, type: 'datetime' }) diff --git a/dictation_server/src/repositories/tasks/entity/task.entity.ts b/dictation_server/src/repositories/tasks/entity/task.entity.ts index c734e1f..27da363 100644 --- a/dictation_server/src/repositories/tasks/entity/task.entity.ts +++ b/dictation_server/src/repositories/tasks/entity/task.entity.ts @@ -26,11 +26,11 @@ export class Task { audio_file_id: number; @Column() status: string; - @Column({ nullable: true, type: 'unsigned big int' }) + @Column({ nullable: true, type: 'int' }) typist_user_id: number | null; @Column() priority: string; - @Column({ nullable: true, type: 'unsigned big int' }) + @Column({ nullable: true, type: 'int' }) template_file_id: number | null; @Column({ nullable: true, type: 'datetime' }) started_at: Date | null; diff --git a/dictation_server/src/repositories/workflows/entity/workflow.entity.ts b/dictation_server/src/repositories/workflows/entity/workflow.entity.ts index 6c51d96..52af3e2 100644 --- a/dictation_server/src/repositories/workflows/entity/workflow.entity.ts +++ b/dictation_server/src/repositories/workflows/entity/workflow.entity.ts @@ -24,10 +24,10 @@ export class Workflow { @Column() author_id: number; - @Column({ nullable: true, type: 'unsigned big int' }) + @Column({ nullable: true, type: 'int' }) worktype_id: number | null; - @Column({ nullable: true, type: 'unsigned big int' }) + @Column({ nullable: true, type: 'int' }) template_id: number | null; @Column({ nullable: true, type: 'datetime' }) diff --git a/dictation_server/src/repositories/workflows/entity/workflow_typists.entity.ts b/dictation_server/src/repositories/workflows/entity/workflow_typists.entity.ts index f92d02e..31f8cbd 100644 --- a/dictation_server/src/repositories/workflows/entity/workflow_typists.entity.ts +++ b/dictation_server/src/repositories/workflows/entity/workflow_typists.entity.ts @@ -19,10 +19,10 @@ export class WorkflowTypist { @Column() workflow_id: number; - @Column({ nullable: true, type: 'unsigned big int' }) + @Column({ nullable: true, type: 'int' }) typist_id: number | null; - @Column({ nullable: true, type: 'unsigned big int' }) + @Column({ nullable: true, type: 'int' }) typist_group_id: number | null; @Column({ nullable: true, type: 'datetime' })