<?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 Version20220909094828 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
$this->addSql('CREATE TABLE FulfillmentStock (id INT NOT NULL, record_added_at TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, created_at TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, d_fulfillment_source_id INT NOT NULL, m_quantity VARCHAR(255) NOT NULL, d_sku VARCHAR(255) NOT NULL, d_universal_sku VARCHAR(255) NOT NULL, PRIMARY KEY(id))');
$this->addSql('COMMENT ON COLUMN FulfillmentStock.record_added_at IS \'(DC2Type:datetime_immutable)\'');
$this->addSql('COMMENT ON COLUMN FulfillmentStock.created_at IS \'(DC2Type:datetime_immutable)\'');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE SCHEMA public');
$this->addSql('DROP SEQUENCE FulfillmentStock_id_seq CASCADE');
}
}