addSql('CREATE TABLE comment (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, body CLOB NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME DEFAULT NULL, is_public BOOLEAN NOT NULL, attachment_location VARCHAR(255) DEFAULT NULL, attachment_content_type VARCHAR(255) DEFAULT NULL, attachment_name VARCHAR(255) DEFAULT NULL, is_purchase BOOLEAN NOT NULL, comment_type VARCHAR(255) NOT NULL, attachment_size INTEGER DEFAULT NULL)'); } public function down(Schema $schema): void { // this down() migration is auto-generated, please modify it to your needs $this->addSql('DROP TABLE comment'); } }