addColumn('author', 'avatar', $this->string()); } /** * {@inheritdoc} */ public function safeDown() { $this->dropColumn('author', 'avatar'); } /* // Use up()/down() to run migration code without a transaction. public function up() { } public function down() { echo "m180626_065650_alter_table_author cannot be reverted.\n"; return false; } */ }