Skip to content

Commit

Permalink
Fix migration script
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Feb 7, 2017
1 parent c9ddd2d commit f90f24a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions migration.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
$req->execute();
$data = $req->fetch();

$sql_schema = 0;
$sql_schema = -1;
if ($data['sql_schema']) {
$sql_schema = $data['sql_schema'];
}
}
// Table does not exist
catch (Exception $e) {
$sql_schema = 0;
$sql_schema = -1;
}

// For each migrations
Expand Down

0 comments on commit f90f24a

Please sign in to comment.