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

Hello,

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
Reply
#2

thanks for always sharig your knowledge dude.
No SEO spam
Reply
#3

@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!!
Reply
#4

Thank you. Will do the correction.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB