Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Database migrations in Joomla

Is there any way of using database migrations with Joomla? I'm looking for a mechanism like the one found in Rails or Symfony.

I would like to apply changes to the database whenever my model changes, e.g. adding a column, creating a new relationship, dropping some tables,...

In this question, the accepted answer seems like a very cool option, but I don't know if there is something specific to Joomla.

Thanks!

like image 956
elitalon Avatar asked Mar 09 '26 19:03

elitalon


1 Answers

If you want to update your own component's DB schema you can refer to the following thread: http://forum.joomla.org/viewtopic.php?p=1607199

If you need just migrations without components, check these standalone solutions:

  • https://github.com/davejkiger/mysql-php-migrations
  • https://github.com/Billiam/MySQL-PHP-AutoMigrations
like image 174
Sam Dark Avatar answered Mar 11 '26 07:03

Sam Dark



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!