Skip to content

Plugin allowing to synchronize data from models between many instance of CakePHP

Notifications You must be signed in to change notification settings

o2web/cake-migration

Repository files navigation

Database Migration

Pour cakePHP 1.3

Plugin allowing to synchronize data from models between many instance of CakePHP

Installation

  • Put the content of this plugin in "app/plugins/" in a folder named "migration".
  • Exécuter les commandes SQL de "database.sql" dans la base de donnée MySql.
  • Run the following to generate the config file :
    php cake/console/cake.php install_migration

Configuration

See libs/migration_config.php and models/behaviors/migration.php

Model Requirement

The table of a migrated model must have the "modified" and "created" fields.

todo

  • Overridable fields
  • On demand entry sync
  • Relations
  • Files
  • Set a global sync option
  • diff viewer
  • check invalidated entries at the end of a full synch
  • handle deleted entries
  • "create on map conflict" option
  • handle many files with the same name
  • console

Developpement

js and css must be compiled

cd app/plugins/migration
coffee -wmo webroot/js webroot/js/src
sass --sourcemap --watch webroot/sass:webroot/css

About

Plugin allowing to synchronize data from models between many instance of CakePHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published