Open-Wide / OWMigration

OW Migration provide an API to migrate content classes, roles, workflows en object states on eZ publish.

Home Page:http://projects.ez.no/owmigration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
2. 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.)
3. Regenerate autoloads
4. 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

About

OW Migration provide an API to migrate content classes, roles, workflows en object states on eZ publish.

http://projects.ez.no/owmigration

License:GNU General Public License v2.0


Languages

Language:PHP 60.0%Language:HTML 39.2%Language:Smarty 0.6%Language:CSS 0.1%Language:TypeScript 0.1%Language:JavaScript 0.0%