Sha256: ddc676c306c8691d404d8f84bc5b3d0c098e22e385655e47ea50bf93453608a3

Contents?: true

Size: 214 Bytes

Versions: 7

Compression:

Stored size: 214 Bytes

Contents

class CreateComments < ActiveRecord::Migration
  def change
    create_table :comments do |t|
      t.string :author
      t.text :text
      t.integer :article_id

      t.timestamps null: false
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
loco-rails-1.3.2 test/dummy/db/migrate/20150925131740_create_comments.rb
loco-rails-1.3.1 test/dummy/db/migrate/20150925131740_create_comments.rb
loco-rails-1.3.0 test/dummy/db/migrate/20150925131740_create_comments.rb
loco-rails-1.0.2 test/dummy/db/migrate/20150925131740_create_comments.rb
loco-rails-1.0.1 test/dummy/db/migrate/20150925131740_create_comments.rb
loco-rails-1.0.0 test/dummy/db/migrate/20150925131740_create_comments.rb
loco-rails-0.0.1 test/dummy/db/migrate/20150925131740_create_comments.rb