pivot seeder called from wn:resources

This commit is contained in:
Amine Ben hammou 2016-02-23 20:57:23 +01:00
parent 6094a546fc
commit 3eae8983c9

View File

@ -42,6 +42,11 @@ class ResourcesCommand extends BaseCommand {
'model1' => $tables[0],
'model2' => $tables[1]
]);
$this->call('wn:pivot-seeder', [
'model1' => $tables[0],
'model2' => $tables[1]
]);
}
$this->call('migrate');