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

12 lines
243 B
Ruby
Raw Normal View History

class AddAttachmentWorkflowimgToExperiments < ActiveRecord::Migration
def self.up
change_table :experiments do |t|
t.attachment :workflowimg
end
end
def self.down
remove_attachment :experiments, :workflowimg
end
end