Below you will find pages that utilize the taxonomy term “SchemaSync”
Posts
>-
SchemaSync 使用方式如下:
schemasync [options] <source> <target> # source/target format: mysql://user:pass@host:port/database # output format: <database>[_<tag>].YYYYMMDD.(patch|revert)[_<version>].sql -h, --help show this help message and exit -V, --version show version and exit. -r, --revision increment the migration script version number if a file with the same name already exists. -a, --sync-auto-inc sync the AUTO_INCREMENT value for each table. -c, --sync-comments sync the COMMENT field for all tables AND columns --tag=TAG tag the migration scripts as <database>_<tag>.
read morePosts
SchemaSync - Installing the latest development version
要安裝 SchemaSync 最新的開發版,先將 SchemaSync 用 git clone 下來。
git clone git://github.com/mmatuson/SchemaSync.git 然後切到 clone 下來的目錄。
cd SchemaSync 透過 Python 調用 setup.py 進行安裝。
sudo python setup.py install 安裝完可調用命令查驗版本,確認安裝無誤。
schemasync -V Link Schema Sync a MySQL Schema Versioning and Migration Utility
read more