Fix queue setup (#3075)

fix bullmq setup
This commit is contained in:
Weiko
2023-12-19 17:12:22 +01:00
committed by GitHub
parent 5afcab4e78
commit 4637a92f09
10 changed files with 22 additions and 15 deletions

View File

@ -37,7 +37,7 @@ export class DataSourceEntity {
})
objects: ObjectMetadataEntity[];
@Column({ nullable: false })
@Column({ nullable: false, type: 'uuid' })
workspaceId: string;
@CreateDateColumn()

View File

@ -95,7 +95,7 @@ export class FieldMetadataEntity<
@Column({ nullable: true, default: true })
isNullable: boolean;
@Column({ nullable: false })
@Column({ nullable: false, type: 'uuid' })
workspaceId: string;
@OneToOne(

View File

@ -64,7 +64,7 @@ export class ObjectMetadataEntity implements ObjectMetadataInterface {
@Column({ nullable: true })
imageIdentifierFieldMetadataId?: string;
@Column({ nullable: false })
@Column({ nullable: false, type: 'uuid' })
workspaceId: string;
@OneToMany(() => FieldMetadataEntity, (field) => field.object, {

View File

@ -40,7 +40,7 @@ export class RelationMetadataEntity implements RelationMetadataInterface {
@Column({ nullable: false, type: 'uuid' })
toFieldMetadataId: string;
@Column({ nullable: false })
@Column({ nullable: false, type: 'uuid' })
workspaceId: string;
@ManyToOne(

View File

@ -11,7 +11,7 @@ export class WorkspaceCacheVersionEntity {
@PrimaryGeneratedColumn('uuid')
id: string;
@Column({ unique: true })
@Column({ unique: true, nullable: false, type: 'uuid' })
workspaceId: string;
@Column()

View File

@ -79,7 +79,7 @@ export class WorkspaceMigrationEntity {
@Column({ nullable: true })
appliedAt?: Date;
@Column()
@Column({ nullable: false, type: 'uuid' })
workspaceId: string;
@CreateDateColumn()