• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.