Skip to content

Commit

Permalink
test:postgres test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MXPOL committed Nov 28, 2023
1 parent b7231a8 commit f659f5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe('Sql Schema Column Translator', () => {

describe('string fields', () => {
test('string', () => {
expect( env.schemaTranslator.columnToDbColumnSql({ name: ctx.fieldName, type: 'text', subtype: 'string' }) ).toEqual(`${escapeIdentifier(ctx.fieldName)} varchar(4096)`)
expect( env.schemaTranslator.columnToDbColumnSql({ name: ctx.fieldName, type: 'text', subtype: 'string' }) ).toEqual(`${escapeIdentifier(ctx.fieldName)} varchar(65535)`)
})

test('string with length', () => {
Expand Down

0 comments on commit f659f5b

Please sign in to comment.