scinote-web/db/migrate/20160808083040_add_attachment_workflowimg_to_experiments.rb

10 lines
217 B
Ruby
Raw Normal View History

2017-06-30 16:23:28 +08:00
class AddAttachmentWorkflowimgToExperiments < ActiveRecord::Migration[4.2]
def self.up
add_attachment :experiments, :workflowimg
end
def self.down
remove_attachment :experiments, :workflowimg
end
end