date.chapril.org-framadate/app/classes/Framadate/Migration/Migration.php
Olivier PEREZ 88cae82e71 Create a migration system to migrate database.
+ Use this system to migrate from 0.8 to 0.9 (WIP)
2014-12-31 01:33:56 +01:00

15 lines
291 B
PHP

<?php
namespace Framadate\Migration;
interface Migration {
/**
* This methode is called only one time in the migration page.
*
* @param \PDO $pdo The connection to database
* @return bool true is the execution succeeded
*/
function execute(\PDO $pdo);
}