scinote-web/db/migrate/20160808083040_add_attachment_workflowimg_to_experiments.rb
2017-06-30 10:23:28 +02:00

10 lines
217 B
Ruby

class AddAttachmentWorkflowimgToExperiments < ActiveRecord::Migration[4.2]
def self.up
add_attachment :experiments, :workflowimg
end
def self.down
remove_attachment :experiments, :workflowimg
end
end