1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-21 01:59:02 +09:00
whippy-edition/db/migrate/20180616192031_add_chosen_languages_to_users.rb
Eugen Rochko 7eec279c7f
Change language opt-out to language opt-in (#7823)
* Switch filtered_languages to chosen_languages

* Adjust interface

* Remove unused translations
2018-06-17 13:54:02 +02:00

6 lines
175 B
Ruby

class AddChosenLanguagesToUsers < ActiveRecord::Migration[5.2]
def change
add_column :users, :chosen_languages, :string, array: true, null: true, default: nil
end
end