<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20220813174500 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add Salto schema';
}
public function up(Schema $schema): void
{
$file = __DIR__ . "/sql/20220813174500.up.sql";
$this->connection->exec(file_get_contents($file));
}
public function down(Schema $schema): void
{
$file = __DIR__ . "/sql/20220813174500.down.sql";
$this->connection->exec(file_get_contents($file));
}
}