mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-25 09:26:15 +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
|