Sha256: b21d1f5ee9e28d2f2d316232274b17cd65634e97dbf3e9df2c9a092af531612e

Contents?: true

Size: 193 Bytes

Versions: 6

Compression:

Stored size: 193 Bytes

Contents

class CreateArticles < ActiveRecord::Migration
  def change
    create_table :articles do |t|
      t.string :title
      t.text :body
      t.text :extra

      t.timestamps
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
extend_at-0.2.4 spec/app/db/migrate/20120101231517_create_articles.rb
extend_at-0.2.3 spec/app/db/migrate/20120101231517_create_articles.rb
extend_at-0.2.2 spec/app/db/migrate/20120101231517_create_articles.rb
extend_at-0.2.1 spec/app/db/migrate/20120101231517_create_articles.rb
extend_at-0.2.0 spec/app/db/migrate/20120101231517_create_articles.rb
extend_at-0.1.5 spec/app/db/migrate/20120101231517_create_articles.rb