Sha256: 30b1c7f2aa8c4e4fdd9b2ece49d634797124501a1f4c39b957068f5f74ab762b

Contents?: true

Size: 130 Bytes

Versions: 30

Compression:

Stored size: 130 Bytes

Contents

class AddIndexToContentBlocks < ActiveRecord::Migration
  def change
    add_index :content_blocks, :slug, unique: true
  end
end

Version data entries

30 entries across 17 versions & 1 rubygems

Version Path
manifest-rails-0.2.8 lib/generators/manifest/install/templates/add_index_to_content_blocks.rb
manifest-rails-0.2.8 db/migrate/20120304155130_add_index_to_content_blocks.rb
manifest-rails-0.2.7 lib/generators/manifest/install/templates/add_index_to_content_blocks.rb
manifest-rails-0.2.7 db/migrate/20120304155130_add_index_to_content_blocks.rb
manifest-rails-0.2.6 db/migrate/20120304155130_add_index_to_content_blocks.rb
manifest-rails-0.2.6 lib/generators/manifest/install/templates/add_index_to_content_blocks.rb
manifest-rails-0.2.5 lib/generators/manifest/install/templates/add_index_to_content_blocks.rb
manifest-rails-0.2.5 db/migrate/20120304155130_add_index_to_content_blocks.rb
manifest-rails-0.2.4 lib/generators/manifest/install/templates/add_index_to_content_blocks.rb
manifest-rails-0.2.4 db/migrate/20120304155130_add_index_to_content_blocks.rb
manifest-rails-0.2.3 lib/generators/manifest/install/templates/add_index_to_content_blocks.rb
manifest-rails-0.2.3 db/migrate/20120304155130_add_index_to_content_blocks.rb
manifest-rails-0.2.2 lib/generators/manifest/install/templates/add_index_to_content_blocks.rb
manifest-rails-0.2.2 db/migrate/20120304155130_add_index_to_content_blocks.rb
manifest-rails-0.2.1 lib/generators/manifest/install/templates/add_index_to_content_blocks.rb
manifest-rails-0.2.1 db/migrate/20120304155130_add_index_to_content_blocks.rb
manifest-rails-0.2.0 lib/generators/manifest/install/templates/add_index_to_content_blocks.rb
manifest-rails-0.2.0 db/migrate/20120304155130_add_index_to_content_blocks.rb
manifest-rails-0.1.3 lib/generators/manifest/install/templates/add_index_to_content_blocks.rb
manifest-rails-0.1.3 db/migrate/20120304155130_add_index_to_content_blocks.rb