phinx:php資料庫遷移

來源:互聯網
上載者:User

標籤:vendor   php   set   target   資料移轉   content   phar   nbsp   seo   

Phinx使你的php app進行資料移轉的過程變得異常輕鬆,在五分鐘之內你就可以安裝好Phinx 並進行資料移轉。

特性

 

  • 使用php代碼進行資料移轉
  • 部署模式下遷移
  • 五分鐘之內使用
  • 不再擔心資料庫的狀態
  • 可以整合任何app

安裝

使用Composer 進行安裝

  1. 安裝composer

 

  
1 curl -s https://getcomposer.org/installer | php

2.把phinx當做一個依賴加入到你的composer.json

     Java 
12345 {    "require": {        "robmorgan/phinx": "*"    }}

3.安裝Phinx

     Java 
1 php composer.phar install

4.執行Phinx

     Java 
1 php vendor/bin/phinx

開始使用

這裡是使用教程http://docs.phinx.org/en/latest/

github網址https://github.com/robmorgan/phinx

官網http://phinx.org

phinx:php資料庫遷移

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.