Skip to content

Commit 8a495be

Browse files
committed
- modifies `Text` loopback type mapping to `text` in postgres
2 parents ac9593a + e750d43 commit 8a495be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/migration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ function mixinMigration(PostgreSQL) {
529529
case 'JSON':
530530
return 'TEXT';
531531
case 'Text':
532-
return 'VARCHAR' + (colLength ? '(' + colLength + ')' : '(1024)');
532+
return 'TEXT';
533533
case 'Number':
534534
return 'INTEGER';
535535
case 'Date':

0 commit comments

Comments
 (0)