Sha256: 18bc64e88bb20dbfd6089d300bdf2e4c366357e3dd0033328ceab36ab00d5393

Contents?: true

Size: 152 Bytes

Versions: 8

Compression:

Stored size: 152 Bytes

Contents

class AddIndexToAlmanacPostsOnSlug < ActiveRecord::Migration
  def up
    add_index :almanac_posts, :slug, :unique => true
  end
   def down
   end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
almanac-0.9.2 db/migrate/20121116194902_add_index_to_almanac_posts_on_slug.rb
almanac-0.9.1 db/migrate/20121116194902_add_index_to_almanac_posts_on_slug.rb
almanac-0.9.0 db/migrate/20121116194902_add_index_to_almanac_posts_on_slug.rb
almanac-0.8.0 db/migrate/20121116194902_add_index_to_almanac_posts_on_slug.rb
almanac-0.7.4 db/migrate/20121116194902_add_index_to_almanac_posts_on_slug.rb
almanac-0.7.3 db/migrate/20121116194902_add_index_to_almanac_posts_on_slug.rb
almanac-0.7.2 db/migrate/20121116194902_add_index_to_almanac_posts_on_slug.rb
almanac-0.7.1 db/migrate/20121116194902_add_index_to_almanac_posts_on_slug.rb