Skip to content

Commit 73adfef

Browse files
committed
add faker generator as the second argument to table closure
1 parent 2a21bcf commit 73adfef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DumpSchema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function load()
9797

9898
foreach ($this->customizedTables as $tableName => $tableDefinition) {
9999
$table = new TableDefinition($this->getTable($tableName));
100-
call_user_func_array($tableDefinition, [$table]);
100+
call_user_func_array($tableDefinition, [$table, Factory::create()]);
101101

102102
$this->dumpTables[$tableName] = $table;
103103
}

0 commit comments

Comments
 (0)