Sha256: 4674c316a80351aac78c08df006eda99cd1cb91d46eea94562ba52afb3a009fb

Contents?: true

Size: 207 Bytes

Versions: 8

Compression:

Stored size: 207 Bytes

Contents

class CreateComments < ActiveRecord::Migration
  def change
    create_table :comments do |t|
      t.integer :tweet_id
      t.integer :user_id
      t.string :content

      t.timestamps
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
dread-0.1.0 test/dummy/db/migrate/20140913143724_create_comments.rb
dread-0.0.7 test/dummy/db/migrate/20140913143724_create_comments.rb
dread-0.0.6 test/dummy/db/migrate/20140913143724_create_comments.rb
dread-0.0.5 test/dummy/db/migrate/20140913143724_create_comments.rb
dread-0.0.4 test/dummy/db/migrate/20140913143724_create_comments.rb
dread-0.0.3 test/dummy/db/migrate/20140913143724_create_comments.rb
dread-0.0.2 test/dummy/db/migrate/20140913143724_create_comments.rb
dread-0.0.1 test/dummy/db/migrate/20140913143724_create_comments.rb