mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-20 14:45:56 +08:00
Fix migration for adding attachment to experiment
This commit is contained in:
parent
ef608d18e7
commit
9865ad80f9
|
@ -1,8 +1,6 @@
|
||||||
class AddAttachmentWorkflowimgToExperiments < ActiveRecord::Migration
|
class AddAttachmentWorkflowimgToExperiments < ActiveRecord::Migration
|
||||||
def self.up
|
def self.up
|
||||||
change_table :experiments do |t|
|
add_attachment :experiments, :workflowimg
|
||||||
t.attachment :workflowimg
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.down
|
def self.down
|
||||||
|
|
Loading…
Reference in a new issue