mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Fix type
This commit is contained in:
@@ -49,6 +49,8 @@ export default async function runSeed(knex: Knex, seed: string) {
|
||||
column = table.string(columnName, columnInfo.length);
|
||||
} else if (columnInfo.increments) {
|
||||
column = table.increments();
|
||||
} else if (columnInfo.type === 'csv') {
|
||||
column = table.string(columnName);
|
||||
} else {
|
||||
column = table[columnInfo.type!](columnName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user