```ruby
# frozen_string_literal: true

class AddLocaleToAnnouncements < ActiveRecord::Migration[4.2]
  def change
    add_column :announcements, :locale, :string
  end
end
```

Fix migration for better reversibility
user
```ruby
# frozen_string_literal: true

class AddLocaleToAnnouncements < ActiveRecord::Migration[4.2]
  def change
    add_column :announcements, :locale, :string, limit: 255
  end
end
```
assistant