Sha256: 76812d2ca4ee5e8842725742056ce334ee0e32fd71b36548775232316627b6a6

Contents?: true

Size: 194 Bytes

Versions: 5

Compression:

Stored size: 194 Bytes

Contents

class CreatePosts < ActiveRecord::Migration
  def self.up
    create_table :posts do |t|
      t.string :title

      t.timestamps
    end
  end

  def self.down
    drop_table :posts
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fixture_background-0.9.10.1 test/rails3/db/migrate/20110406091431_create_posts.rb
fixture_background-0.9.10 test/rails3/db/migrate/20110406091431_create_posts.rb
fixture_background-0.9.9 test/rails3/db/migrate/20110406091431_create_posts.rb
fixture_background-0.9.8 test/rails3/db/migrate/20110406091431_create_posts.rb
fixture_background-0.9.7 test/rails3/db/migrate/20110406091431_create_posts.rb