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

28 lines
422 B
PHP
Raw Normal View History

2016-02-19 21:49:00 +00:00
<?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();
}