migrations/Version20230426204747.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 Version20230426204747 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE market_payout CHANGE payout payout NUMERIC(36, 18) NOT NULL, CHANGE fee fee NUMERIC(36, 18) NOT NULL');
$this->addSql('ALTER TABLE withdrawal_log CHANGE amount amount NUMERIC(36, 18) NOT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE market_payout CHANGE payout payout DOUBLE PRECISION NOT NULL, CHANGE fee fee DOUBLE PRECISION NOT NULL');
$this->addSql('ALTER TABLE withdrawal_log CHANGE amount amount DOUBLE PRECISION NOT NULL');
}
}