Sha256: 524344ab54fef84b7b785c5a1976a07703661ad7d5ce688dd68c43a94b34fbae

Contents?: true

Size: 296 Bytes

Versions: 68

Compression:

Stored size: 296 Bytes

Contents

class ChangeColumnNameActivationLevelToValence < ActiveRecord::Migration
  def change
    remove_index :emotions, column: :activation_level
    remove_index :emotions, column: :intensity
    remove_index :emotions, column: :name
    rename_column :emotions, :activation_level, :valence
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
think_feel_do_engine-3.12.0 db/migrate/20140314203044_change_column_name_activation_level_to_valence.rb
think_feel_do_engine-3.11.3 db/migrate/20140314203044_change_column_name_activation_level_to_valence.rb
think_feel_do_engine-3.11.0 db/migrate/20140314203044_change_column_name_activation_level_to_valence.rb
think_feel_do_engine-3.10.10 db/migrate/20140314203044_change_column_name_activation_level_to_valence.rb
think_feel_do_engine-3.10.9 db/migrate/20140314203044_change_column_name_activation_level_to_valence.rb
think_feel_do_engine-3.10.8 db/migrate/20140314203044_change_column_name_activation_level_to_valence.rb
think_feel_do_engine-3.10.7 db/migrate/20140314203044_change_column_name_activation_level_to_valence.rb
think_feel_do_engine-3.10.6 db/migrate/20140314203044_change_column_name_activation_level_to_valence.rb