20170609145826_remove_default_language_from_statuses.rb 259 B

1234567891011
  1. # frozen_string_literal: true
  2. class RemoveDefaultLanguageFromStatuses < ActiveRecord::Migration[5.1]
  3. def up
  4. change_column :statuses, :language, :string, default: nil, null: true
  5. end
  6. def down
  7. raise ActiveRecord::IrreversibleMigration
  8. end
  9. end