Skip to content

Commit

Permalink
fix(db-postgres): extra version suffix added to table names (#5939)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanRibbens committed Apr 21, 2024
1 parent c380dee commit bd8b512
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/db-postgres/src/schema/traverseFields.ts
Expand Up @@ -228,7 +228,6 @@ export const traverseFields = ({
prefix: `enum_${newTableName}_`,
target: 'enumName',
throwValidationError,
versions,
})

adapter.enums[enumName] = pgEnum(
Expand All @@ -249,7 +248,6 @@ export const traverseFields = ({
parentTableName: newTableName,
prefix: `${newTableName}_`,
throwValidationError,
versions,
})
const baseColumns: Record<string, PgColumnBuilder> = {
order: integer('order').notNull(),
Expand Down

0 comments on commit bd8b512

Please sign in to comment.