Sha256: be114649a074baca6a25034bdad0eb2ac71455b115c798dee862c65ca91b552e

Contents?: true

Size: 196 Bytes

Versions: 5

Compression:

Stored size: 196 Bytes

Contents

class CreatePeople < ActiveRecord::Migration
  def self.up
    create_table :people do |t|
      t.string :first_name, :last_name
    end
  end
  
  def self.down
    drop_table :people
  end
end

Version data entries

5 entries across 5 versions & 4 rubygems

Version Path
pluginaweek-table_helper-0.2.1 test/app_root/db/migrate/001_create_people.rb
tangofoxtrot-table_helper-0.2.2 test/app_root/db/migrate/001_create_people.rb
crushlovely_table_helper-0.3.0 test/app_root/db/migrate/001_create_people.rb
table_helper-0.2.2 test/app_root/db/migrate/001_create_people.rb
table_helper-0.2.1 test/app_root/db/migrate/001_create_people.rb