getTable($this->prefix.'emails')->hasColumn('preheader_text')) { throw new SkipMigration('The emails table already includes the preheader_text column'); } } public function up(Schema $schema): void { $this->addSql("ALTER TABLE {$this->prefix}emails ADD `preheader_text` VARCHAR(130) NULL AFTER `subject`"); } public function down(Schema $schema): void { $this->addSql("ALTER TABLE {$this->prefix}emails DROP COLUMN `preheader_text`"); } }