Sha256: 0776b6bf806d3e792249e13d24eb370a7a75d01dfdcea10baabc8cefcffa1373

Contents?: true

Size: 176 Bytes

Versions: 61

Compression:

Stored size: 176 Bytes

Contents

class AddIsNewsToSpudPosts < ActiveRecord::Migration
  def change
  	add_column :spud_posts, :is_news, :boolean, :default => false
  	add_index :spud_posts, :is_news
  end
end

Version data entries

61 entries across 61 versions & 2 rubygems

Version Path
tb_blog-1.4.4 db/migrate/20120210165540_add_is_news_to_spud_posts.rb
tb_blog-1.4.3 db/migrate/20120210165540_add_is_news_to_spud_posts.rb
tb_blog-1.4.2 db/migrate/20120210165540_add_is_news_to_spud_posts.rb
tb_blog-1.3.5 db/migrate/20120210165540_add_is_news_to_spud_posts.rb
tb_blog-1.4.1 db/migrate/20120210165540_add_is_news_to_spud_posts.rb
tb_blog-1.4.0 db/migrate/20120210165540_add_is_news_to_spud_posts.rb
tb_blog-1.3.4 db/migrate/20120210165540_add_is_news_to_spud_posts.rb
tb_blog-1.4.beta1 db/migrate/20120210165540_add_is_news_to_spud_posts.rb
tb_blog-1.3.3 db/migrate/20120210165540_add_is_news_to_spud_posts.rb
tb_blog-1.3.2 db/migrate/20120210165540_add_is_news_to_spud_posts.rb
tb_blog-1.3.1 db/migrate/20120210165540_add_is_news_to_spud_posts.rb
tb_blog-1.3.0 db/migrate/20120210165540_add_is_news_to_spud_posts.rb
tb_blog-1.3.0.beta1 db/migrate/20120210165540_add_is_news_to_spud_posts.rb
tb_blog-1.2.1 db/migrate/20120210165540_add_is_news_to_spud_posts.rb
tb_blog-1.2.0 db/migrate/20120210165540_add_is_news_to_spud_posts.rb
spud_blog-1.0.2 db/migrate/20120210165540_add_is_news_to_spud_posts.rb
spud_blog-1.0.1 db/migrate/20120210165540_add_is_news_to_spud_posts.rb
spud_blog-1.0.0 db/migrate/20120210165540_add_is_news_to_spud_posts.rb
tb_blog-1.1.3 db/migrate/20120210165540_add_is_news_to_spud_posts.rb
tb_blog-1.1.2 db/migrate/20120210165540_add_is_news_to_spud_posts.rb