Sha256: 8be852db5c8315bb8a9a232a4fcfca04d8dd6e52358bb5bfcdd08c7fdeafb63e

Contents?: true

Size: 281 Bytes

Versions: 15

Compression:

Stored size: 281 Bytes

Contents

class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string    :first_name
      t.string    :last_name
      t.date      :birthday
      t.string    :sex
      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
will_filter-5.1.4 test/dummy/db/migrate/20090416182137_create_users.rb
will_filter-5.1.3 test/dummy/db/migrate/20090416182137_create_users.rb
will_filter-5.1.2 test/dummy/db/migrate/20090416182137_create_users.rb
will_filter-5.1.1 test/dummy/db/migrate/20090416182137_create_users.rb
will_filter-5.1.0 test/dummy/db/migrate/20090416182137_create_users.rb
will_filter-3.1.11 test/dummy/db/migrate/20090416182137_create_users.rb
will_filter-3.1.10 test/dummy/db/migrate/20090416182137_create_users.rb
will_filter-3.1.9 test/dummy/db/migrate/20090416182137_create_users.rb
will_filter-3.1.8 test/dummy/db/migrate/20090416182137_create_users.rb
will_filter-3.1.7 test/dummy/db/migrate/20090416182137_create_users.rb
will_filter-3.1.6 test/dummy/db/migrate/20090416182137_create_users.rb
will_filter-3.1.5 test/dummy/db/migrate/20090416182137_create_users.rb
will_filter-3.1.3 test/dummy/db/migrate/20090416182137_create_users.rb
will_filter-3.1.2 test/dummy/db/migrate/20090416182137_create_users.rb
will_filter-3.1.1 test/dummy/db/migrate/20090416182137_create_users.rb