Welcome Guest, Not a member yet? Register   Sign In
A new tutorial about migrations
#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


Messages In This Thread
A new tutorial about migrations - by Avenirer - 07-22-2015, 02:49 AM
RE: A new tutorial about migrations - by Wouter60 - 07-29-2015, 03:27 AM
RE: A new tutorial about migrations - by Avenirer - 07-29-2015, 03:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB