定制 seyfer/kohana-doctrine-migrations 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

seyfer/kohana-doctrine-migrations

Composer 安装命令:

composer require seyfer/kohana-doctrine-migrations

包简介

Kohana module to integrate with Doctrine ORM migrations

README 文档

README

Doctrine Migrations module for Kohana 3.3

Usage

Require kohana-doctrine installed. https://github.com/seyfer/kohana-doctrine

Copy doctrine.php and migrations.xml to application/config.

php vendor/kohana/modules/doctrine/bin/doctrine migrations:diff --configuration=application/config/migrations.xml
php vendor/kohana/modules/doctrine/bin/doctrine migrations:status --configuration=application/config/migrations.xml

Description

This module allows for managing database migrations between multiple environments easily by utilizing the Doctrine migrations library.

Requirements & Installation

The Doctrine Migrations module is tested with Doctrine v2.4. You should create a doctrine config file and specify vendor path in your config/doctrine.php file under configuration key

To run from the command line, you will need kohana-doctrine module available at http://github.com/seyfer/kohana-doctrine Remember to add this module after kohana-doctrine in the bootstrap.php After that you will be able to run ./modules/kohana-doctrine/bin/doctrine or copy it to your application root

Additional information about how to create migration classes can be found at http://www.doctrine-project.org/projects/migrations/2.0/docs/reference/en

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-01-09