How to change the database schema to introduce new features or change current features

I am developing an application using Zend Framwork using Git for version control.

What is the best approach for updating the schema and database when one of us is updating the db structure?

we must currently blow the tables and recreate them manually to reflect new updates.

+3
source share
4 answers

ZF Akrabat Db Schema Manager . , @ceteras. , , Zend_Tool, .

+1

:

  • . , , DDL- (alter table add column ..) , Bugzilla/Jira , . , .

, , , svn.

, , .

, . , Navicat . , , . , .

0

DBDeploy

dbdeploy - . , - - , , .

Theres DBDeploy Phing ( PHP Apache Ant)

0

migrations. - . SQL , , . Youd , .

ZendFramework , Db_Schema_Manager. , , , , , - ZendTools.

Here is a link to how to use Db_Schema_Manager: http://framework.zend.com/wiki/display/ZFPROP/Zend_Db_Schema_Manager+-+Rob+Allen

0
source

Source: https://habr.com/ru/post/1754739/


All Articles