Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
Extract migration number to same place as version number
Browse files Browse the repository at this point in the history
  • Loading branch information
CraigChilds94 committed Feb 26, 2016
1 parent ff54846 commit 1fcb80b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion anchor/config/migrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
return array(
/*
* Latest migration
* overide for testing/development
*/
'current' => 211
'current' => MIGRATION_NUMBER
);
1 change: 1 addition & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
define('DS', DIRECTORY_SEPARATOR);
define('ENV', getenv('APP_ENV'));
define('VERSION', '0.12');
define('MIGRATION_NUMBER', 211);

define('PATH', dirname(__FILE__) . DS);
define('APP', PATH . 'anchor' . DS);
Expand Down

0 comments on commit 1fcb80b

Please sign in to comment.