1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-24 23:26:42 +09:00
YuruToot/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