mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 20:24:43 +08:00
12 lines
243 B
Ruby
12 lines
243 B
Ruby
|
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
|