Sha256: 1860ac7558959dbc55cd83ace4e534c37459b16242e9fa41c0ac88ae2470eed2

Contents?: true

Size: 212 Bytes

Versions: 4

Compression:

Stored size: 212 Bytes

Contents

class CreatePeople < ActiveRecord::Migration
  def change
    create_table :people do |t|
      t.string :name
      t.string :email
      t.text :bio
      t.date :birthday

      t.timestamps
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
carnival-0.1.3 test/carnival-sample-application/db/migrate/20140906224643_create_people.rb
carnival-0.1.2 test/carnival-sample-application/db/migrate/20140906224643_create_people.rb
carnival-0.1.1 test/carnival-sample-application/db/migrate/20140906224643_create_people.rb
carnival-0.1.0 test/carnival-sample-application/db/migrate/20140906224643_create_people.rb