mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-07 13:44:23 +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
|
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…
Add table
Reference in a new issue