<i id='uiV52'><tr id='uiV52'><dt id='uiV52'><q id='uiV52'><span id='uiV52'><b id='uiV52'><form id='uiV52'><ins id='uiV52'></ins><ul id='uiV52'></ul><sub id='uiV52'></sub></form><legend id='uiV52'></legend><bdo id='uiV52'><pre id='uiV52'><center id='uiV52'></center></pre></bdo></b><th id='uiV52'></th></span></q></dt></tr></i><div id='uiV52'><tfoot id='uiV52'></tfoot><dl id='uiV52'><fieldset id='uiV52'></fieldset></dl></div>
    <bdo id='uiV52'></bdo><ul id='uiV52'></ul>

<legend id='uiV52'><style id='uiV52'><dir id='uiV52'><q id='uiV52'></q></dir></style></legend>

  • <tfoot id='uiV52'></tfoot>

    1. <small id='uiV52'></small><noframes id='uiV52'>

      1. Joomla 中的数据库迁移

        Database migrations in Joomla(Joomla 中的数据库迁移)

            <legend id='pMRZh'><style id='pMRZh'><dir id='pMRZh'><q id='pMRZh'></q></dir></style></legend>
          • <tfoot id='pMRZh'></tfoot>

              <small id='pMRZh'></small><noframes id='pMRZh'>

                  <bdo id='pMRZh'></bdo><ul id='pMRZh'></ul>
                    <tbody id='pMRZh'></tbody>
                • <i id='pMRZh'><tr id='pMRZh'><dt id='pMRZh'><q id='pMRZh'><span id='pMRZh'><b id='pMRZh'><form id='pMRZh'><ins id='pMRZh'></ins><ul id='pMRZh'></ul><sub id='pMRZh'></sub></form><legend id='pMRZh'></legend><bdo id='pMRZh'><pre id='pMRZh'><center id='pMRZh'></center></pre></bdo></b><th id='pMRZh'></th></span></q></dt></tr></i><div id='pMRZh'><tfoot id='pMRZh'></tfoot><dl id='pMRZh'><fieldset id='pMRZh'></fieldset></dl></div>
                  本文介绍了Joomla 中的数据库迁移的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  有没有办法在 Joomla 中使用数据库迁移?我正在寻找一种类似于 Rails 或 Symfony 中的机制.

                  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,...

                  在这个问题中,接受的答案似乎是一个很酷的选择,但我不知道是否有特定于 Joomla 的东西.

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

                  谢谢!

                  推荐答案

                  如果你想更新你自己组件的数据库架构,你可以参考以下线程:http://forum.joomla.org/viewtopic.php?p=1607199

                  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

                  这篇关于Joomla 中的数据库迁移的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Is Joomla 2.5 much faster than Joomla 1.5 Querywise(Joomla 2.5 比 Joomla 1.5 Querywise 快得多吗)
                  How to share Joomla login session from one joomla website to one ASP.Net MVC website(如何将 Joomla 登录会话从一个 joomla 网站共享到一个 ASP.Net MVC 网站)
                  htaccess redirect root to subdirectory but allow index.php in root AND query strings to function(htaccess 将根重定向到子目录,但允许根和查询字符串中的 index.php 起作用)
                  Joomla include database functions(Joomla 包含数据库功能)
                  nl2br() not working when displaying SQL results(显示 SQL 结果时 nl2br() 不起作用)
                  Joomla 2.5 JFactory::getSession(); seems to be caching in firefox(Joomla 2.5 JFactory::getSession();似乎在 Firefox 中缓存)

                  <small id='O1VqM'></small><noframes id='O1VqM'>

                • <tfoot id='O1VqM'></tfoot>

                    <legend id='O1VqM'><style id='O1VqM'><dir id='O1VqM'><q id='O1VqM'></q></dir></style></legend>

                    <i id='O1VqM'><tr id='O1VqM'><dt id='O1VqM'><q id='O1VqM'><span id='O1VqM'><b id='O1VqM'><form id='O1VqM'><ins id='O1VqM'></ins><ul id='O1VqM'></ul><sub id='O1VqM'></sub></form><legend id='O1VqM'></legend><bdo id='O1VqM'><pre id='O1VqM'><center id='O1VqM'></center></pre></bdo></b><th id='O1VqM'></th></span></q></dt></tr></i><div id='O1VqM'><tfoot id='O1VqM'></tfoot><dl id='O1VqM'><fieldset id='O1VqM'></fieldset></dl></div>
                      <tbody id='O1VqM'></tbody>

                      • <bdo id='O1VqM'></bdo><ul id='O1VqM'></ul>