Sha256: c2d4643f07faf3aa8e560c096fe7a42726431ea70b46aafc6722e2141c98c9c4

Contents?: true

Size: 302 Bytes

Versions: 2

Compression:

Stored size: 302 Bytes

Contents

class CreatePeople < ActiveRecord::Migration
  def self.up
    create_table :people do |t|
      t.string :prefix
      t.string :first_name
      t.string :middle_name
      t.string :last_name
      t.string :gender

      t.timestamps
    end
  end

  def self.down
    drop_table :people
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
radiant-people-extension-1.1.0 db/migrate/20090905004948_create_people.rb
radiant-people-extension-1.0.0 db/migrate/20090905004948_create_people.rb