getTable('short_urls'); $this->skipIf($shortUrls->hasColumn('crawlable')); $shortUrls->addColumn('crawlable', Types::BOOLEAN, ['default' => false]); } public function down(Schema $schema): void { $shortUrls = $schema->getTable('short_urls'); $this->skipIf(! $shortUrls->hasColumn('crawlable')); $shortUrls->dropColumn('crawlable'); } public function isTransactional(): bool { return ! ($this->connection->getDatabasePlatform() instanceof MySQLPlatform); } }