App
Classe de demarrage de mon framework
Migration
CONFIG
// Migration
"Migration" => [
/** migration de l'app principal */
'App' => ['path' => realpath($root_dir.DIRECTORY_SEPARATOR.'src'.DIRECTORY_SEPARATOR.'migration'.DIRECTORY_SEPARATOR), 'name' => 'App']
,'Trad' => ['path' => realpath($root_dir.DIRECTORY_SEPARATOR.'src'.DIRECTORY_SEPARATOR.'trad'.DIRECTORY_SEPARATOR), 'name' => 'Trad']
],
migration INIT ( install la bdd migration )
composer migration source=App action=init
migration UP (all)
composer migration source=App action=upgrade
migration DOWN (one at a time)
composer migration source=App action=downgrade