Sha256: 48006508a762d648f76584491076f400caa78f90e2da04d7146c798e89c3d570

Contents?: true

Size: 325 Bytes

Versions: 68

Compression:

Stored size: 325 Bytes

Contents

class AddColumnActivationLevelAndIntensityToEmotion < ActiveRecord::Migration
  def change
    remove_column :emotions, :type, :string
    add_column :emotions, :activation_level, :integer
    add_index :emotions, :activation_level
    add_column :emotions, :intensity, :integer
    add_index :emotions, :intensity
  end
end

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
think_feel_do_engine-3.19.2 db/migrate/20140311194313_add_column_activation_level_and_intensity_to_emotion.rb
think_feel_do_engine-3.19.1 db/migrate/20140311194313_add_column_activation_level_and_intensity_to_emotion.rb
think_feel_do_engine-3.19.0 db/migrate/20140311194313_add_column_activation_level_and_intensity_to_emotion.rb
think_feel_do_engine-3.18.0 db/migrate/20140311194313_add_column_activation_level_and_intensity_to_emotion.rb
think_feel_do_engine-3.17.2 db/migrate/20140311194313_add_column_activation_level_and_intensity_to_emotion.rb
think_feel_do_engine-3.17.1 db/migrate/20140311194313_add_column_activation_level_and_intensity_to_emotion.rb
think_feel_do_engine-3.17.0 db/migrate/20140311194313_add_column_activation_level_and_intensity_to_emotion.rb
think_feel_do_engine-3.16.3 db/migrate/20140311194313_add_column_activation_level_and_intensity_to_emotion.rb
think_feel_do_engine-3.16.2 db/migrate/20140311194313_add_column_activation_level_and_intensity_to_emotion.rb
think_feel_do_engine-3.16.1 db/migrate/20140311194313_add_column_activation_level_and_intensity_to_emotion.rb
think_feel_do_engine-3.15.7 db/migrate/20140311194313_add_column_activation_level_and_intensity_to_emotion.rb
think_feel_do_engine-3.16.0 db/migrate/20140311194313_add_column_activation_level_and_intensity_to_emotion.rb
think_feel_do_engine-3.15.6 db/migrate/20140311194313_add_column_activation_level_and_intensity_to_emotion.rb
think_feel_do_engine-3.15.5 db/migrate/20140311194313_add_column_activation_level_and_intensity_to_emotion.rb
think_feel_do_engine-3.15.4 db/migrate/20140311194313_add_column_activation_level_and_intensity_to_emotion.rb
think_feel_do_engine-3.15.3 db/migrate/20140311194313_add_column_activation_level_and_intensity_to_emotion.rb
think_feel_do_engine-3.15.2 db/migrate/20140311194313_add_column_activation_level_and_intensity_to_emotion.rb
think_feel_do_engine-3.15.1 db/migrate/20140311194313_add_column_activation_level_and_intensity_to_emotion.rb
think_feel_do_engine-3.15.0 db/migrate/20140311194313_add_column_activation_level_and_intensity_to_emotion.rb
think_feel_do_engine-3.14.9 db/migrate/20140311194313_add_column_activation_level_and_intensity_to_emotion.rb