Skip to content

Commit

Permalink
Merge pull request #89 from Cloudshelf/explicit-tables
Browse files Browse the repository at this point in the history
fix: explicit table names
  • Loading branch information
ashleyww93 authored Dec 24, 2024
2 parents c3bc8e1 + aedd945 commit 6990938
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/data-ingestion/bulk.operation.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Entity, Enum, Index, Property, types } from '@mikro-orm/core';
import { BaseEntity } from '../database/abstract-entities/entity.base';
import { BulkOperationType } from './bulk.operation.type';

@Entity()
@Entity({ tableName: 'bulk_operation' })
export class BulkOperation extends BaseEntity {
constructor() {
super();
Expand Down
2 changes: 1 addition & 1 deletion src/modules/retailer/retailer.entity.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Entity, Index, Property, types } from '@mikro-orm/core';
import { BaseEntity } from '../database/abstract-entities/entity.base';

@Entity()
@Entity({ tableName: 'retailer_entity' })
export class RetailerEntity extends BaseEntity {
@Index()
@Property({ type: 'text', unique: true })
Expand Down

0 comments on commit 6990938

Please sign in to comment.