Add the miratons from the conf.o.o live instance
This commit is contained in:
parent
03a0074c73
commit
d039670de0
4 changed files with 37 additions and 10 deletions
8
db/migrate/20130515125823_change_attachment_default.rb
Normal file
8
db/migrate/20130515125823_change_attachment_default.rb
Normal 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
|
||||
9
db/migrate/20130515131210_drop_additional_speakers.rb
Normal file
9
db/migrate/20130515131210_drop_additional_speakers.rb
Normal 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
|
||||
11
db/migrate/20130515131420_change_venue_types.rb
Normal file
11
db/migrate/20130515131420_change_venue_types.rb
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue