getTable('short_urls'); $this->skipIf($shortUrls->hasColumn('forward_query')); $shortUrls->addColumn('forward_query', Types::BOOLEAN, ['default' => true]); } public function down(Schema $schema): void { $shortUrls = $schema->getTable('short_urls'); $this->skipIf(! $shortUrls->hasColumn('forward_query')); $shortUrls->dropColumn('forward_query'); } }