<?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 Version20240212100915 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 ads_inquiry (id INT AUTO_INCREMENT NOT NULL, business_type VARCHAR(255) NOT NULL, business_name VARCHAR(255) NOT NULL, business_category_id INT NOT NULL, business_establishment_year VARCHAR(20) DEFAULT NULL, business_website VARCHAR(255) DEFAULT NULL, reference_from VARCHAR(255) DEFAULT NULL, advertise_reach VARCHAR(255) DEFAULT NULL, how_long_advertise_run VARCHAR(255) DEFAULT NULL, contact_name VARCHAR(255) DEFAULT NULL, title VARCHAR(100) DEFAULT NULL, email VARCHAR(255) DEFAULT NULL, phone VARCHAR(20) DEFAULT NULL, address_1 VARCHAR(255) DEFAULT NULL, address_2 VARCHAR(255) DEFAULT NULL, country INT DEFAULT NULL, state INT DEFAULT NULL, city INT DEFAULT NULL, zip_code VARCHAR(20) DEFAULT NULL, created_by INT NOT NULL, created_at DATETIME DEFAULT NULL, updated_at DATETIME DEFAULT NULL, deleted_at DATETIME DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('DROP TABLE ads_inquiry');
}
}