socialforge/db/migrate/20121213084931_add_attachme...

10 lines
199 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class AddAttachmentsDiskDirectory < ActiveRecord::Migration
def up
add_column :attachments, :disk_directory, :string
end
def down
remove_column :attachments, :disk_directory
end
end