Anexos aninhados
This commit is contained in:
9
db/migrate/037_folders.rb
Normal file
9
db/migrate/037_folders.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class Folders < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :attachments, :path, :string
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_column :attachments, :path
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user