Sprankelprachtig aan/afmeldsysteem

20161207204032_create_people.rb 281B

123456789101112131415
  1. class CreatePeople < ActiveRecord::Migration[5.0]
  2. def change
  3. create_table :people do |t|
  4. t.string :first_name
  5. t.string :infix
  6. t.string :last_name
  7. t.date :birth_date
  8. t.string :email
  9. t.boolean :is_admin
  10. t.timestamps
  11. end
  12. end
  13. end