Skip to content

Commit

Permalink
fix issue of empty seeder and ignore table option
Browse files Browse the repository at this point in the history
  • Loading branch information
weezqyd committed Feb 21, 2017
1 parent 551a9d9 commit 72e7665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DbExporter/DbSeeding.php
Expand Up @@ -52,7 +52,7 @@ public function write()
$absolutePath = Config::get('db-exporter.export_path.seeds');
$this->filename = ucfirst(Str::camel($this->database)) . "DatabaseSeeder";
$this->makePath($absolutePath);
file_put_contents($absolutePath . "/{$filename}.php", $seed);
file_put_contents($absolutePath . "/{$this->filename}.php", $seed);
}

/**
Expand Down

0 comments on commit 72e7665

Please sign in to comment.