summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-07 09:27:43 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-07 09:27:43 +0100
commit72f100c680ddcf9c36448ae3ee367eab19052adc (patch)
tree604f4bc303fcb71277fd17bafebed1aa573f4a75 /db/migrate
parent5685009f9fd60012034c1fde95d696225389a477 (diff)
Use CarrierWave to store the tar.gz. Removed size_of_the_backup attribute.
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20130207082728_remove_size_of_the_backup_from_backup_job.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20130207082728_remove_size_of_the_backup_from_backup_job.rb b/db/migrate/20130207082728_remove_size_of_the_backup_from_backup_job.rb
new file mode 100644
index 0000000..a902fd2
--- /dev/null
+++ b/db/migrate/20130207082728_remove_size_of_the_backup_from_backup_job.rb
@@ -0,0 +1,9 @@
+class RemoveSizeOfTheBackupFromBackupJob < ActiveRecord::Migration
+ def up
+ remove_column :backup_jobs, :size_of_the_backup
+ end
+
+ def down
+ add_column :backup_jobs, :size_of_the_backup, :string
+ end
+end