Unnecessary migration and invalid syntax in migraton
This commit is contained in:
parent
ad544a117f
commit
521d2dc72f
5 changed files with 11 additions and 22 deletions
|
|
@ -1,8 +1,8 @@
|
|||
class ChangeAttachmentDefault < ActiveRecord::Migration
|
||||
def up
|
||||
change_column_default(:event_attachments, :public, :default => true)
|
||||
change_column_default(:event_attachments, :public, true)
|
||||
end
|
||||
def down
|
||||
change_column_default(:event_attachments, :public, :default => nil)
|
||||
change_column_default(:event_attachments, :public, true)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
class DropAdditionalSpeakers < ActiveRecord::Migration
|
||||
def up
|
||||
remove_column :registrations, :additional_speakers
|
||||
end
|
||||
|
||||
def down
|
||||
add_column :registrations, :additional_speakers
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue