Skip to content

Commit 653cfd5

Browse files
committed
test: fix incorrect column type for test tables
1 parent c0f495a commit 653cfd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-helpers/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ export async function setup(destroyDb: boolean = true) {
258258
if (!hasGroupsTable) {
259259
await db.schema.createTable('groups', (table) => {
260260
table.increments()
261-
table.integer('name').notNullable()
261+
table.string('name').notNullable()
262262
table.timestamps()
263263
})
264264
}

0 commit comments

Comments
 (0)