Welcome Guest, Not a member yet? Register   Sign In
A new tutorial about migrations


I would like to present to you a new tutorial (part 1 of 3...). This one is about migrations: http://avenir.ro/the-migrations-in-codei...-database/

Hope you will enjoy it and maybe tell me your opinion about it

thanks for always sharig your knowledge dude.
No SEO spam

@Avenirer, there's a small error in this line of code (part of the undo_migration() method in the Migrate controller):
PHP Code:
$penultimate = (sizeof($migration_keys)==1) ? $migration_keys[sizeof(migration_keys) - 2]; 
The $ sign before migration_keys in sizeof(migration_keys) is missing. PHP says it's an undefined constant.
Other than that, it works great!!

Thank you. Will do the correction.

Theme © iAndrew 2016 - Forum software by © MyBB