1
0
Fork 0
forked from fedi/mastodon
mastodon/db/migrate/20170609145826_remove_default_language_from_statuses.rb
Matt Jankowski 022008a2a6 Language detection defaults to nil ()
* Default to nil for statuses.language

* Language detection defaults to nil instead of instance UI default
2017-06-09 18:09:37 +02:00

6 lines
168 B
Ruby

class RemoveDefaultLanguageFromStatuses < ActiveRecord::Migration[5.1]
def change
change_column :statuses, :language, :string, default: nil, null: true
end
end