Skip to content

Commit

Permalink
M src/Migration.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Anderson Ismael committed Apr 2, 2018
1 parent 240270d commit 2b44f56
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ public function dropAll()
return false;
}
}
public function migrateAll()
public function migrateAll($filename=false)
{
$filename=ROOT.'app/model/';
if(!$filename){
$filename=ROOT.'app/model/';
}
if (file_exists($filename)) {
$dir=$filename;
} else {
Expand Down

0 comments on commit 2b44f56

Please sign in to comment.