summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-05 16:21:02 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-05 16:21:02 +0100
commitb1f9f3b2c39d31d0621da36420318406f33a1f92 (patch)
tree6e387c9a04ec3f8efb50fc68d980d25c6be29eda /db/migrate
parent3005e0ecb346db7b3d85d610691dea14be21f5f6 (diff)
DelayedJob table upgrade.
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20130205151844_add_queue_to_delayed_jobs.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20130205151844_add_queue_to_delayed_jobs.rb b/db/migrate/20130205151844_add_queue_to_delayed_jobs.rb
new file mode 100644
index 0000000..072c8d4
--- /dev/null
+++ b/db/migrate/20130205151844_add_queue_to_delayed_jobs.rb
@@ -0,0 +1,9 @@
+class AddQueueToDelayedJobs < ActiveRecord::Migration
+ def self.up
+ add_column :delayed_jobs, :queue, :string
+ end
+
+ def self.down
+ remove_column :delayed_jobs, :queue
+ end
+end