Sha256: a978f8f403fd52339996815f6e2d7d6fd37a4b4cf6418dc7ae01ae4a5e2fe3c9

Contents?: true

Size: 185 Bytes

Versions: 5

Compression:

Stored size: 185 Bytes

Contents

class CreateBlogPosts < ActiveRecord::Migration
  def self.up
    create_table :blog_posts do |t|
      t.text :body
    end
  end

  def self.down
    drop_table :blog_posts
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
heritage-0.3.2 heritage_demo/db/migrate/20110411095612_create_blog_posts.rb
heritage-0.3.1 heritage_demo/db/migrate/20110411095612_create_blog_posts.rb
heritage-0.3.0 heritage_demo/db/migrate/20110411095612_create_blog_posts.rb
heritage-0.2.0 heritage_demo/db/migrate/20110411095612_create_blog_posts.rb
heritage-0.1.0 heritage_demo/db/migrate/20110411095612_create_blog_posts.rb