Skip to content

Open-Wide/OWMigration

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages