donphan/db/migrate/20180616192031_add_chosen_l...

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