Sha256: 2e7be75a66d57421ac0712c8d8a6ee4f5197fba7e9f41c1b4dfd5461489daebc

Contents?: true

Size: 239 Bytes

Versions: 60

Compression:

Stored size: 239 Bytes

Contents

class CreateBlogs < ActiveRecord::Migration
  def self.up
    create_table :blogs do |t|
      t.integer :user_id
      t.string :title
      t.text :body
      t.timestamps
    end

  end

  def self.down
    drop_table :blogs
  end
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
wheels-0.1.30 db/migrate/0020_create_blogs.rb
wheels-0.1.28 db/migrate/0020_create_blogs.rb
wheels-0.1.27 db/migrate/0020_create_blogs.rb
wheels-0.1.25 db/migrate/0020_create_blogs.rb
wheels-0.1.24 db/migrate/0020_create_blogs.rb
wheels-0.1.23 db/migrate/0020_create_blogs.rb
wheels-0.1.22 db/migrate/0020_create_blogs.rb
wheels-0.1.21 db/migrate/0020_create_blogs.rb
wheels-0.1.20 db/migrate/0020_create_blogs.rb
wheels-0.1.19 db/migrate/0020_create_blogs.rb
wheels-0.1.18 db/migrate/0020_create_blogs.rb
wheels-0.1.17 db/migrate/0020_create_blogs.rb
wheels-0.1.16 db/migrate/0020_create_blogs.rb
wheels-0.1.15 db/migrate/0020_create_blogs.rb
wheels-0.1.14 db/migrate/0020_create_blogs.rb
wheels-0.1.13 db/migrate/0020_create_blogs.rb
wheels-0.1.12 db/migrate/0020_create_blogs.rb
wheels-0.1.10 db/migrate/0020_create_blogs.rb
wheels-0.1.9 db/migrate/0020_create_blogs.rb
wheels-0.1.8 db/migrate/0020_create_blogs.rb