From 1fcb80b736863014a5bf6b3d0fd3815f8613ef22 Mon Sep 17 00:00:00 2001 From: CraigChilds94 Date: Fri, 26 Feb 2016 20:56:02 +0000 Subject: [PATCH] Extract migration number to same place as version number --- anchor/config/migrations.php | 3 ++- index.php | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/anchor/config/migrations.php b/anchor/config/migrations.php index e7d038994..a468543f9 100755 --- a/anchor/config/migrations.php +++ b/anchor/config/migrations.php @@ -3,6 +3,7 @@ return array( /* * Latest migration + * overide for testing/development */ - 'current' => 211 + 'current' => MIGRATION_NUMBER ); diff --git a/index.php b/index.php index 5d4813f63..41f17c359 100755 --- a/index.php +++ b/index.php @@ -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);