class CreateTeachers < ActiveRecord::Migration
  def change
    create_table :teachers do |t|
      t.string :name, null: false
      t.integer :grade
      t.integer :college_id
      t.integer :user_id
      t.string :address
      t.string :phone
      t.string :email

      t.timestamps null: false
    end
  end
end
