Sha256: 270ba61af637ac1950f88b43c1b4181875cec1cc7ef5132af33efb8a099b5ebc

Contents?: true

Size: 161 Bytes

Versions: 15

Compression:

Stored size: 161 Bytes

Contents

class AddBlogKeyToSpudPosts < ActiveRecord::Migration
  def change
    add_column :spud_posts, :blog_key, :string
    add_index :spud_posts, :blog_key
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
tb_blog-1.4.4 db/migrate/20140808132950_add_blog_key_to_spud_posts.rb
tb_blog-1.4.3 db/migrate/20140808132950_add_blog_key_to_spud_posts.rb
tb_blog-1.4.2 db/migrate/20140808132950_add_blog_key_to_spud_posts.rb
tb_blog-1.3.5 db/migrate/20140808132950_add_blog_key_to_spud_posts.rb
tb_blog-1.4.1 db/migrate/20140808132950_add_blog_key_to_spud_posts.rb
tb_blog-1.4.0 db/migrate/20140808132950_add_blog_key_to_spud_posts.rb
tb_blog-1.3.4 db/migrate/20140808132950_add_blog_key_to_spud_posts.rb
tb_blog-1.4.beta1 db/migrate/20140808132950_add_blog_key_to_spud_posts.rb
tb_blog-1.3.3 db/migrate/20140808132950_add_blog_key_to_spud_posts.rb
tb_blog-1.3.2 db/migrate/20140808132950_add_blog_key_to_spud_posts.rb
tb_blog-1.3.1 db/migrate/20140808132950_add_blog_key_to_spud_posts.rb
tb_blog-1.3.0 db/migrate/20140808132950_add_blog_key_to_spud_posts.rb
tb_blog-1.3.0.beta1 db/migrate/20140808132950_add_blog_key_to_spud_posts.rb
tb_blog-1.2.1 db/migrate/20140808132950_add_blog_key_to_spud_posts.rb
tb_blog-1.2.0 db/migrate/20140808132950_add_blog_key_to_spud_posts.rb