for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the DB-Migration library.
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @copyright Alexander Obuhovich <[email protected]>
* @link https://github.com/console-helpers/db-migration
*/
namespace ConsoleHelpers\DatabaseMigration;
abstract class AbstractMigrationRunner
{
* Returns supported file extension.
* @return string
abstract public function getFileExtension();
* Runs the migration.
* @param string $migration_file Migration file.
* @param MigrationContext $context Migration context.
* @return void
abstract public function run($migration_file, MigrationContext $context);
* Returns new migration template.
public function getTemplate()
return '';
}