zitec/codepax-cli 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

zitec/codepax-cli

最新稳定版本:0.0.2

Composer 安装命令:

composer require zitec/codepax-cli

包简介

README 文档

README

CodePaxCLI is a command line interface (just for database versioning) of CodePax@Zitec.

Installation

Clone this repository into your project root directory:

$ git clone https://github.com/IulianCristianGrigoritaZitec/CodePaxCLI.git

Change directory to the repository you've just cloned and install all dependencies using Composer:

$ cd CodePaxCLI
$ composer install

Now you just need to add your settings into app/config/config.ini. You can copy and rename config.sample.ini to config.ini and change that file.

Commands

You can see all the commands available, from root directory of CodePaxCLI, by running app/console. You should change the permissions of the file so the it ca be executed.

dbv:info

Usage:

$ app/console dbv:info

Shows all the informations about database versioning (versions, updates, change scripts, etc.).

dbv:install

Usage:

$ app/console dbv:install

Creates the table that holds database versioning data inside the project's database.

dbv:newbaseline

Usage:

$ app/console dbv:newbaseline

Creates a new baseline from current database state.

dbv:run

Usage:

$ app/console dbv:run

or

$ app/console dbv:run --preserve-test-data

Runs change scripts.

统计信息

  • 总下载量: 540
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD
  • 更新时间: 2016-09-29