1
0
miroir de https://github.com/redmine/redmine.git synchronisé 2024-07-27 07:37:45 +02:00
redmine/db/migrate/20121213084931_add_attachments_disk_directory.rb

10 lignes
204 B
Ruby

class AddAttachmentsDiskDirectory < ActiveRecord::Migration[4.2]
def up
add_column :attachments, :disk_directory, :string
end
def down
remove_column :attachments, :disk_directory
end
end