Skip to content

Commit

Permalink
local database
Browse files Browse the repository at this point in the history
  • Loading branch information
amranidev committed Jun 22, 2016
1 parent ad09580 commit 786e74d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Datasystem/Database/MysqlDatabase.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class MysqlDatabase extends Database
{
public function tableNames()
{
return collect(DB::select($this->getQuery()))->pluck('Tables_in_scaffold120')->reject(function ($name) {
return collect(DB::select($this->getQuery()))->pluck('Tables_in_'.env('DB_DATABASE'))->reject(function ($name) {
return $this->skips()->contains($name);
});
}
Expand Down

0 comments on commit 786e74d

Please sign in to comment.