Your IP : 216.73.217.79


Current Path : /var/www/v3.cesa.co.za/vendor/doctrine/migrations/src/Provider/
Upload File :
Current File : /var/www/v3.cesa.co.za/vendor/doctrine/migrations/src/Provider/SchemaDiffProvider.php

<?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;
}