This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/libraries/Migration/IMigration.php
2016-02-19 22:49:00 +01:00

27 lines
422 B
PHP

<?php
/**
* Holds the database migration interface.
*
* @package Sakura
*/
namespace Sakura\Migration;
/**
* Migration interface.
*
* @package Sakura
* @author Julian van de Groep <me@flash.moe>
*/
interface IMigration
{
/**
* Upgrade the database to a newer version.
*/
public function up();
/**
* Downgrade the database to an older version.
*/
public function down();
}