chinwagsocial/db/migrate/20180616192031_add_chosen_languages_to_users.rb

8 lines
206 B
Ruby
Raw Permalink Normal View History

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