mastodon/db/migrate/20180616192031_add_chosen_languages_to_users.rb

7 lines
206 B
Ruby

# 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