From b043606829d07a14fcf0f44b17fb662cfc239ec7 Mon Sep 17 00:00:00 2001 From: Alinson Santos Date: Tue, 22 Apr 2008 12:04:33 -0300 Subject: [PATCH] Anexos aninhados --- db/migrate/036_folders.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 db/migrate/036_folders.rb diff --git a/db/migrate/036_folders.rb b/db/migrate/036_folders.rb new file mode 100644 index 0000000..2a21a40 --- /dev/null +++ b/db/migrate/036_folders.rb @@ -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