migrations/Version20220630134234.php line 1
<?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 Version20220630134234 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql("INSERT INTO \"user\" VALUES ('00000000-0000-0000-0000-000000000000', 'karma-bank@crtweb.ru', '[\"ROLE_SYSTEM\"]', now(), now())");
$this->addSql("INSERT INTO \"ledger__account\" VALUES ('00000000-0000-0000-0000-000000000000', '00000000-0000-0000-0000-000000000000', 0, now(), now())");
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql("DELETE FROM ledger__account WHERE id='00000000-0000-0000-0000-000000000000'");
$this->addSql("DELETE FROM \"user\" WHERE id='00000000-0000-0000-0000-000000000000'");
}
}