admin管理员组文章数量:1122833
Can I somehow force Wordpress plugins to output their required database changes as part of updates rather than let them change the database directly?
Coming from Java Spring Boot development, one of the most convenient ways to update databases in a development/production environment is to use Flyway for database changes. Essentially every database change gets checked in as a separate file that contains the SQL code needed to update the database structure. These migration files are then part of the versioning system and upon deployment will create the same structural changes to my live database.
In order for this to work, all database changes would have to go through Flyway (migrations) though and I'm not sure if there is a reasonably convenient way to do that with things like installing new plugins or updating existing ones.
本文标签: Is there a way to force plugins to use Flyway migrations for database changes
版权声明:本文标题:Is there a way to force plugins to use Flyway migrations for database changes? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736309198a1933928.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论