Skip to content

Commit

Permalink
Merge pull request #4486 from omnivore-app/jacksonh/admin-exports-list
Browse files Browse the repository at this point in the history
Add exports to admin
  • Loading branch information
jacksonh authored Nov 2, 2024
2 parents c10bd80 + 086de77 commit 938fe4d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions pkg/admin/src/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -507,23 +507,24 @@ export class Export extends BaseEntity {
@PrimaryGeneratedColumn('uuid')
id!: string

@Column('uuid')
userId!: string
@JoinColumn({ name: 'user_id' })
@ManyToOne(() => User, { eager: true })
user!: User

@Column('text', { nullable: true })
taskId?: string
task_id?: string

@Column('text')
state!: string

@Column('int', { default: 0 })
totalItems!: number
total_items!: number

@Column('int', { default: 0 })
processedItems!: number
processed_items!: number

@Column('text', { nullable: true })
signedUrl?: string
signed_url?: string

@Column({ type: 'timestamp', name: 'created_at' })
createdAt!: Date
Expand Down

0 comments on commit 938fe4d

Please sign in to comment.