mirror of
https://github.com/ZorgCC/lumen-generators.git
synced 2025-03-06 10:20:29 +03:00
pivot seeder called from wn:resources
This commit is contained in:
parent
6094a546fc
commit
3eae8983c9
@ -42,6 +42,11 @@ class ResourcesCommand extends BaseCommand {
|
|||||||
'model1' => $tables[0],
|
'model1' => $tables[0],
|
||||||
'model2' => $tables[1]
|
'model2' => $tables[1]
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
$this->call('wn:pivot-seeder', [
|
||||||
|
'model1' => $tables[0],
|
||||||
|
'model2' => $tables[1]
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->call('migrate');
|
$this->call('migrate');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user