Skip to content

Commit a0262d4

Browse files
committed
fix: tiles column should be type text not varchar
1 parent e9b704b commit a0262d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/backend/src/models/tiles/pg/table-functions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export function createTable(tableId: string, columnIds: string[]) {
44
return tilesClient.schema.createTable(tableId, (table) => {
55
table.string('rowId').primary()
66
columnIds.forEach((columnId) => {
7-
table.string(columnId)
7+
table.text(columnId)
88
})
99
table.timestamps(true, true, true)
1010
})

0 commit comments

Comments
 (0)