OWMigration

UNIX name Owner Status
OWMigration 7x stable
Version Compatible with
N/A N/A
OW Migration provide an API to migrate content classes, roles, workflows en object states on eZ publish.

Extension : OWMigration v2.0
Requires : eZ Publish 4.x.x (not tested on 3.X)
Author : Open Wide http://www.openwide.fr

What is OWMigration?

OW Migration provides an API to migrate content classes, roles, workflows and object states.

Usage

  1. Create a "migrations" folder in your extension
  2. Activate migration in the site.ini :
    [MigrationSettings]
    MigrationExtensions[]=myExtension
  3. Place your migration classes in this folder and implement the methods up () and down () inside. Take care to the name of your classes and file. It must start with the version nimbre on 3 digits (001, 002, 003, etc.)
  4. Regenerate autoloads
  5. Run the script migrate.php :
    php extension/owmigration/bin/migrate.php [--extension=myExtension [--version=2 --force=[up|down]]]

You can see some examples of migration class in the "migrations" directory of this extension, or see and export migration class from back-end.

Enjoy !!

License

This program is free software; you can redistribute it and/or
modify it under the terms of version 2.0 of the GNU General
Public License as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

Read /LICENSE

Installation

Read doc/INSTALL

No news yet.

This project has no reviews yet. Be the first one to review it!

No forum messages yet.