Sha256: b753f61d3bae8a52b80257fa55f75533a36ff2f89040fb549a57aef708760529

Contents?: true

Size: 213 Bytes

Versions: 14

Compression:

Stored size: 213 Bytes

Contents

# This migration comes from almanac (originally 20121116194902)
class AddIndexToAlmanacPostsOnSlug < ActiveRecord::Migration
  def up
    add_index :almanac_posts, :slug, unique: true
  end
   def down
   end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
almanac-0.9.2 spec/dummy/db/migrate/20121116195111_add_index_to_almanac_posts_on_slug.almanac.rb
almanac-0.9.1 spec/dummy/db/migrate/20121116195111_add_index_to_almanac_posts_on_slug.almanac.rb
almanac-0.9.0 spec/dummy/db/migrate/20121116195111_add_index_to_almanac_posts_on_slug.almanac.rb
almanac-0.8.0 spec/dummy/db/migrate/20121116195111_add_index_to_almanac_posts_on_slug.almanac.rb
almanac-0.7.4 spec/dummy/db/migrate/20121116195111_add_index_to_almanac_posts_on_slug.almanac.rb
almanac-0.7.3 spec/dummy/db/migrate/20121116195111_add_index_to_almanac_posts_on_slug.almanac.rb
almanac-0.7.2 spec/dummy/db/migrate/20121116195111_add_index_to_almanac_posts_on_slug.almanac.rb
almanac-0.7.1 spec/dummy/db/migrate/20121116195111_add_index_to_almanac_posts_on_slug.almanac.rb
almanac-0.6.1 spec/dummy/db/migrate/20121116195111_add_index_to_almanac_posts_on_slug.almanac.rb
almanac-0.6.0 spec/dummy/db/migrate/20121116195111_add_index_to_almanac_posts_on_slug.almanac.rb
almanac-0.5.3 spec/dummy/db/migrate/20121116195111_add_index_to_almanac_posts_on_slug.almanac.rb
almanac-0.5.2 spec/dummy/db/migrate/20121116195111_add_index_to_almanac_posts_on_slug.almanac.rb
almanac-0.5.1 spec/dummy/db/migrate/20121116195111_add_index_to_almanac_posts_on_slug.almanac.rb
almanac-0.5.0 spec/dummy/db/migrate/20121116195111_add_index_to_almanac_posts_on_slug.almanac.rb