<?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 Version20240622102952 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql('INSERT INTO service (id, name, "position", content, icon, url, is_active) VALUES (\'1d6094d8-4088-4a35-816f-f914fa7913c4\', \'Usługa 1\', 1, \'Tekst\', \'ikona-1\', \'www.usluga1.pl\', true);');
$this->addSql('INSERT INTO service (id, name, "position", content, icon, url, is_active) VALUES (\'28bad3f6-de13-411d-befd-da03b61572e9\', \'Usługa 2\', 2, \'Tekst\', \'ikona-2\', \'www.usluga2.pl\', false);');
$this->addSql('INSERT INTO service (id, name, "position", content, icon, url, is_active) VALUES (\'485c703f-d81f-4ebf-8bad-d5bdcd0abbcc\', \'Usługa 3\', 3, \'Tekst\', \'ikona-3\', \'www.usluga3.pl\', true);');
$this->addSql('INSERT INTO subpages (id, title_subpage, url, created_at, content, is_active) VALUES (\'89b85498-74f1-4fb1-8f07-efbf5aea2da1\', \'subpage1\', \'http://www.supgage1.pl\', \'2024-06-21 17:51:31\', \'test\', true);');
$this->addSql('INSERT INTO subpages (id, title_subpage, url, created_at, content, is_active) VALUES (\'92714f18-f335-4fbc-88dc-570424352152\', \'subpage2\', \'http://www.supgage2.pl\', \'2024-06-21 17:51:34\', \'test2\', false);');
$this->addSql('INSERT INTO subpages (id, title_subpage, url, created_at, content, is_active) VALUES (\'485c703f-d81f-4ebf-8bad-d5bdcd0abbcc\', \'subpage3\', \'http://www.supgage3.pl\', \'2024-06-21 17:51:36\', \'test3\', true);');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
}
}