Sha256: 30ba7fca6bcc99a98051edcd17569840d77e5d8fb43294b5900fcebea7326649

Contents?: true

Size: 257 Bytes

Versions: 3

Compression:

Stored size: 257 Bytes

Contents

class AddMissingIndexes < ActiveRecord::Migration
  def change
    change_table :formol_forums do |t|
      t.index :last_post_id
    end
    
    change_table :formol_topics do |t|
      t.index :first_post_id
      t.index :last_post_id
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
formol-0.0.6 db/migrate/20120107122921_add_missing_indexes.rb
formol-0.0.5 db/migrate/20120107122921_add_missing_indexes.rb
formol-0.0.4 db/migrate/20120107122921_add_missing_indexes.rb