table('audit_logs')->hasColumn('change'); if ($exists) { $this->table('audit_logs') ->renameColumn('change', 'changed') ->update(); } } }