<?php
declare(strict_types=1);
namespace OrderMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20240108161118 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('CREATE TABLE SM_Mail (sm_mail_id INT NOT NULL, ad_client_id INT NOT NULL, ad_org_id INT NOT NULL, ad_user_id INT NOT NULL, fromaddress VARCHAR(255) NOT NULL, toaddress VARCHAR(255) NOT NULL, ccaddress VARCHAR(255) DEFAULT NULL, subject VARCHAR(255) NOT NULL, content VARCHAR(255) DEFAULT NULL, attach VARCHAR(255) DEFAULT NULL, created TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, createdby INT NOT NULL, issent VARCHAR(1) NOT NULL, isactive VARCHAR(1) NOT NULL, PRIMARY KEY(sm_mail_id))');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('DROP TABLE SM_Mail');
}
}