Welcome Guest, Not a member yet? Register   Sign In
Migrations - very confusing
#2

(This post was last modified: 02-05-2016, 09:06 AM by keulu.)

in my app,

my config migration_version is set to 1 and it's run all my 001_* files. did you try to use version 2 ?

I use this piece of code

PHP Code:
$this->load->library('migration');
        
if (
$this->migration->current() === FALSE)
{
    
show_error($this->migration->error_string());
    exit;
}
$version $this->migration->current();
echo 
'Migration Done for Migration_id : ' $version
Reply


Messages In This Thread
Migrations - very confusing - by Wouter60 - 02-05-2016, 08:53 AM
RE: Migrations - very confusing - by keulu - 02-05-2016, 09:03 AM
RE: Migrations - very confusing - by Wouter60 - 02-05-2016, 09:17 AM
RE: Migrations - very confusing - by keulu - 02-05-2016, 09:23 AM
RE: Migrations - very confusing - by keulu - 02-05-2016, 09:24 AM
RE: Migrations - very confusing - by Wouter60 - 02-05-2016, 02:21 PM
RE: Migrations - very confusing - by siburny - 02-09-2016, 03:35 PM
RE: Migrations - very confusing - by siburny - 02-09-2016, 03:40 PM
RE: Migrations - very confusing - by LexXx - 05-31-2016, 12:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB