Sha256: b88e5389acf0a9b9276c9d352e40d72f77f7c540cdc2564981ef051f0dcfd062

Contents?: true

Size: 199 Bytes

Versions: 6

Compression:

Stored size: 199 Bytes

Contents

class CreatePosts < ActiveRecord::Migration
  def self.up
    create_table :posts do |t|
      t.integer :author_id

      t.timestamps
    end
  end

  def self.down
    drop_table :posts
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
somehow_has_relation-0.0.7 test/dummy3/db/migrate/20110317224541_create_posts.rb
somehow_has_relation-0.0.6 test/dummy3/db/migrate/20110317224541_create_posts.rb
somehow_has_relation-0.0.4 test/dummy3/db/migrate/20110317224541_create_posts.rb
somehow_has_relation-0.0.3 test/dummy3/db/migrate/20110317224541_create_posts.rb
somehow_has_relation-0.0.2 test/dummy3/db/migrate/20110317224541_create_posts.rb
somehow_has_relation-0.0.1 test/dummy3/db/migrate/20110317224541_create_posts.rb