To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / db / migrate / 20121213084931_add_attachments_disk_directory.rb @ 1298:4f746d8966dd

History | View | Annotate | Download (199 Bytes)

1 1295:622f24f53b42 Chris
class AddAttachmentsDiskDirectory < ActiveRecord::Migration
2
  def up
3
    add_column :attachments, :disk_directory, :string
4
  end
5
6
  def down
7
    remove_column :attachments, :disk_directory
8
  end
9
end