gab-social/db/migrate/20170414132105_add_language_to_statuses.rb

6 lines
155 B
Ruby
Raw Normal View History

2019-07-02 08:10:25 +01:00
class AddLanguageToStatuses < ActiveRecord::Migration[5.0]
def change
add_column :statuses, :language, :string, null: false, default: 'en'
end
end