bigdir/db/migrate/20130831080808_create_teach...

13 lines
241 B
Ruby
Raw Normal View History

2013-09-12 10:41:15 +08:00
class CreateTeachers < ActiveRecord::Migration
def change
create_table :teachers do |t|
t.string :tea_name
t.string :location
t.integer :couurse_time
t.integer :course_code
t.timestamps
end
end
end