最近在做一个项目的时候偶然遇到这个这个 [url=http://code.google.com/p/ruckusing/]ruckusing[/url]
按它的意思是一個迁移工具,不过我看更像一个数据库版本控制.
[quote]
Intro
Ruckusing Migrations is a "Database Migrations" framework for PHP5.
The framework is modeled after the migrations package as party of Ruby on Rails's ActiveRecord.
The framework is heavily modularized and can easily support many different types of databases. Currently only MySQL support is available, but it should be pretty easy to support other databases.
Unit tests of the various components are available, using the PHPUnit framework.
Features
* (Extensibility) Modularity, so other RDBMSs can be supported.
* A framework for writing tasks, which the framework auto-detects and loads. Tasks that come with the toolkit: executing migrations, dumping the current schema, initializing the DB and returning the current version of the DB.
* Rich API for manipulating DB structure and content.
Requirements
1. PHP5
2. Optional (but recommended) PHPUnit to run the unit tests
[/quote]
按它的意思是一個迁移工具,不过我看更像一个数据库版本控制.
[quote]
Intro
Ruckusing Migrations is a "Database Migrations" framework for PHP5.
The framework is modeled after the migrations package as party of Ruby on Rails's ActiveRecord.
The framework is heavily modularized and can easily support many different types of databases. Currently only MySQL support is available, but it should be pretty easy to support other databases.
Unit tests of the various components are available, using the PHPUnit framework.
Features
* (Extensibility) Modularity, so other RDBMSs can be supported.
* A framework for writing tasks, which the framework auto-detects and loads. Tasks that come with the toolkit: executing migrations, dumping the current schema, initializing the DB and returning the current version of the DB.
* Rich API for manipulating DB structure and content.
Requirements
1. PHP5
2. Optional (but recommended) PHPUnit to run the unit tests
[/quote]