Fix migration for adding attachment to experiment

This commit is contained in:
Jure Grabnar 2016-08-10 08:53:59 +02:00
parent ef608d18e7
commit 9865ad80f9

View file

@ -1,8 +1,6 @@
class AddAttachmentWorkflowimgToExperiments < ActiveRecord::Migration
def self.up
change_table :experiments do |t|
t.attachment :workflowimg
end
add_attachment :experiments, :workflowimg
end
def self.down