<?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 Version20211116142440 extends AbstractMigration
{
public function getDescription(): string
{
return 'Payment';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE payment ADD total INT NOT NULL, ADD status VARCHAR(255) NOT NULL, ADD payment_intent VARCHAR(255) DEFAULT NULL');
}
public function down(Schema $schema): void
{
$this->addSql('ALTER TABLE payment DROP total, DROP status, DROP payment_intent');
}
public function isTransactional(): bool
{
return false;
}
}