<?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 Version20211023155842 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
/**
* First up with main api
* @param Schema $schema
*/
public function up(Schema $schema): void
{
$file = __DIR__ . "/sql/base_public.sql";
$this->connection->exec(file_get_contents($file));
$file = __DIR__ . "/sql/base_building.sql";
$this->connection->exec(file_get_contents($file));
$file = __DIR__ . "/sql/base_security.sql";
$this->connection->exec(file_get_contents($file));
$file = __DIR__ . "/sql/base_intervention.sql";
$this->connection->exec(file_get_contents($file));
$file = __DIR__ . "/sql/base_geolocation.sql";
$this->connection->exec(file_get_contents($file));
$file = __DIR__ . "/sql/base_notification.sql";
$this->connection->exec(file_get_contents($file));
$file = __DIR__ . "/sql/base_contract.sql";
$this->connection->exec(file_get_contents($file));
$file = __DIR__ . "/sql/base_log.sql";
$this->connection->exec(file_get_contents($file));
}
public function down(Schema $schema): void
{
}
}