mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 17:51:13 +08:00
Fix migration for adding attachment to experiment
This commit is contained in:
parent
ef608d18e7
commit
9865ad80f9
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue