forked from bofh/fetsite
Merge branch 'master' of https://github.com/fetsite/fetsite
Conflicts: app/views/layouts/menu.html.erb config/routes.rb
This commit is contained in:
12
db/migrate/20130805191709_create_calentries.rb
Normal file
12
db/migrate/20130805191709_create_calentries.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
class CreateCalentries < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :calentries do |t|
|
||||
t.timestamp :start
|
||||
t.timestamp :ende
|
||||
t.string :summary
|
||||
t.integer :typ
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
10
db/migrate/20130805191817_create_calendars.rb
Normal file
10
db/migrate/20130805191817_create_calendars.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class CreateCalendars < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :calendars do |t|
|
||||
t.string :name
|
||||
t.boolean :public
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,13 @@
|
||||
class CreateCalendarCalentriesJoinTable < ActiveRecord::Migration
|
||||
def up
|
||||
create_table :calendars_calentries, :id=>false do |t|
|
||||
t.integer :calentry_id
|
||||
t.integer :calendar_id
|
||||
end
|
||||
add_index :calendars_calentries, [:calentry_id, :calendar_id]
|
||||
add_index :calendars_calentries, :calendar_id
|
||||
end
|
||||
|
||||
def down
|
||||
end
|
||||
end
|
||||
5
db/migrate/20130810214456_add_picture_to_calendars.rb
Normal file
5
db/migrate/20130810214456_add_picture_to_calendars.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddPictureToCalendars < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :calendars, :picture, :string
|
||||
end
|
||||
end
|
||||
6
db/migrate/20130811191150_add_pruefungsinfos_to_lvas.rb
Normal file
6
db/migrate/20130811191150_add_pruefungsinfos_to_lvas.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class AddPruefungsinfosToLvas < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :lvas, :pruefungsinformation, :text
|
||||
add_column :lvas, :lernaufwand, :text
|
||||
end
|
||||
end
|
||||
5
db/migrate/20130812070544_add_typ_to_lvas.rb
Normal file
5
db/migrate/20130812070544_add_typ_to_lvas.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddTypToLvas < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :lvas, :typ, :string
|
||||
end
|
||||
end
|
||||
5
db/migrate/20130813145651_add_abkuerzung_to_studien.rb
Normal file
5
db/migrate/20130813145651_add_abkuerzung_to_studien.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddAbkuerzungToStudien < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :studien, :abkuerzung, :string
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user