Introducing Lecturers

This commit is contained in:
Thomas Blazek
2013-08-19 15:43:54 +02:00
parent 52f7e0b9ba
commit f58c359d36
25 changed files with 544 additions and 8 deletions

View File

@@ -0,0 +1,12 @@
class CreateLecturers < ActiveRecord::Migration
def change
create_table :lecturers do |t|
t.string :name
t.string :email
t.integer :oid
t.string :picture
t.timestamps
end
end
end

View File

@@ -0,0 +1,13 @@
class CreateLecturersLvas < ActiveRecord::Migration
def change
create_table :lecturers_lvas, :id=> false do |t|
t.integer :lecturer_id
t.integer :lva_id
end
end
end