welcome back to dyb-tech
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Doctrine\Migrations\Provider;
|
||||
|
||||
use Doctrine\DBAL\Schema\Schema;
|
||||
|
||||
/**
|
||||
* The SchemaDiffProvider defines the interface used to provide the from and to schemas and to produce
|
||||
* the SQL queries needed to migrate.
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
interface SchemaDiffProvider
|
||||
{
|
||||
public function createFromSchema(): Schema;
|
||||
|
||||
public function createToSchema(Schema $fromSchema): Schema;
|
||||
|
||||
/** @return string[] */
|
||||
public function getSqlDiffToMigrate(Schema $fromSchema, Schema $toSchema): array;
|
||||
}
|
||||
Reference in New Issue
Block a user