Add the miratons from the conf.o.o live instance

This commit is contained in:
Henne Vogelsang 2013-05-15 15:19:53 +02:00 committed by Henne Vogelsang
parent 03a0074c73
commit d039670de0
4 changed files with 37 additions and 10 deletions

View file

@ -0,0 +1,8 @@
class ChangeAttachmentDefault < ActiveRecord::Migration
def up
change_column_default(:event_attachments, :public, :default => true)
end
def down
change_column_default(:event_attachments, :public, :default => nil)
end
end

View file

@ -0,0 +1,9 @@
class DropAdditionalSpeakers < ActiveRecord::Migration
def up
remove_column :registrations, :additional_speakers
end
def down
add_column :registrations, :additional_speakers
end
end

View file

@ -0,0 +1,11 @@
class ChangeVenueTypes < ActiveRecord::Migration
def up
change_column :venues, :name, :text
change_column :venues, :address, :text
end
def down
change_column :venues, :name, :string
change_column :venues, :address, :string
end
end