Sha256: 5c7165313a829be55d2ca5d6b231ff2702899836fc59ba3ba3f00761c9337b28

Contents?: true

Size: 230 Bytes

Versions: 6

Compression:

Stored size: 230 Bytes

Contents

class CreateComments < ActiveRecord::Migration
  def self.up
    create_table :comments do |t|
      t.integer :post_id
      t.integer :bio_id

      t.timestamps
    end
  end

  def self.down
    drop_table :comments
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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