Migrations: Added a config that allows the system to migration to the latest migration when you load the library. This way you do not have to call migrations anywhere else in your code and can always be at the latest migration
diff --git a/system/libraries/Migration.php b/system/libraries/Migration.php
index 682d907..28b1dd6 100644
--- a/system/libraries/Migration.php
+++ b/system/libraries/Migration.php
@@ -33,6 +33,7 @@
 	protected $_migration_path = NULL;
 	protected $_migration_version = 0;
 	protected $_migration_table = 'migrations';
+	protected $_migration_auto_latest = FALSE;
 	
 	protected $_error_string = '';
 
@@ -86,6 +87,15 @@
 
 			$this->db->insert($this->_migration_table, array('version' => 0));
 		}
+		
+		// Do we auto migrate to the latest migration?
+		if ( $this->_migration_auto_latest == TRUE )
+		{
+			if ( ! $this->latest() )
+			{
+				show_error($this->error_string());
+			}
+		}
 	}
 
 	// --------------------------------------------------------------------