Sha256: 3d304cba025035478f630d2fba165d1429c6f416b31b36bdaeb5a758c141e40c

Contents?: true

Size: 163 Bytes

Versions: 177

Compression:

Stored size: 163 Bytes

Contents

class AddTypeColumnToEvents < ActiveRecord::Migration[5.0]
  def change
    add_column :events, :type, :string, null: false
    add_index :events, :type
  end
end

Version data entries

177 entries across 177 versions & 1 rubygems

Version Path
renalware-core-2.0.104 db/migrate/20170314115111_add_type_column_to_events.rb
renalware-core-2.0.103 db/migrate/20170314115111_add_type_column_to_events.rb
renalware-core-2.0.102 db/migrate/20170314115111_add_type_column_to_events.rb
renalware-core-2.0.101 db/migrate/20170314115111_add_type_column_to_events.rb
renalware-core-2.0.100 db/migrate/20170314115111_add_type_column_to_events.rb
renalware-core-2.0.99 db/migrate/20170314115111_add_type_column_to_events.rb
renalware-core-2.0.98 db/migrate/20170314115111_add_type_column_to_events.rb
renalware-core-2.0.97 db/migrate/20170314115111_add_type_column_to_events.rb
renalware-core-2.0.96 db/migrate/20170314115111_add_type_column_to_events.rb
renalware-core-2.0.95 db/migrate/20170314115111_add_type_column_to_events.rb
renalware-core-2.0.94 db/migrate/20170314115111_add_type_column_to_events.rb
renalware-core-2.0.93 db/migrate/20170314115111_add_type_column_to_events.rb
renalware-core-2.0.92 db/migrate/20170314115111_add_type_column_to_events.rb
renalware-core-2.0.91 db/migrate/20170314115111_add_type_column_to_events.rb
renalware-core-2.0.90 db/migrate/20170314115111_add_type_column_to_events.rb
renalware-core-2.0.89 db/migrate/20170314115111_add_type_column_to_events.rb
renalware-core-2.0.88 db/migrate/20170314115111_add_type_column_to_events.rb
renalware-core-2.0.87 db/migrate/20170314115111_add_type_column_to_events.rb
renalware-core-2.0.86 db/migrate/20170314115111_add_type_column_to_events.rb
renalware-core-2.0.85 db/migrate/20170314115111_add_type_column_to_events.rb