add Job#priority
authorTom Clegg <tom@clinicalfuture.com>
Sun, 3 Feb 2013 11:53:57 +0000 (03:53 -0800)
committerTom Clegg <tom@clinicalfuture.com>
Sun, 3 Feb 2013 11:54:56 +0000 (03:54 -0800)
db/migrate/20130203115329_add_priority_to_jobs.rb [new file with mode: 0644]
db/schema.rb

diff --git a/db/migrate/20130203115329_add_priority_to_jobs.rb b/db/migrate/20130203115329_add_priority_to_jobs.rb
new file mode 100644 (file)
index 0000000..ad9ce87
--- /dev/null
@@ -0,0 +1,5 @@
+class AddPriorityToJobs < ActiveRecord::Migration
+  def change
+    add_column :jobs, :priority, :string
+  end
+end
index d5cd05d3f664b8e95fb63f47905e7aa4bacd29d6..c0b7abd0d6cf3c409b9048dfd3bddbc48ea9e579 100644 (file)
@@ -11,7 +11,7 @@
 #
 # It's strongly recommended to check this file into your version control system.
 
-ActiveRecord::Schema.define(:version => 20130203104824) do
+ActiveRecord::Schema.define(:version => 20130203115329) do
 
   create_table "api_client_authorizations", :force => true do |t|
     t.string   "api_token",               :null => false
@@ -105,6 +105,7 @@ ActiveRecord::Schema.define(:version => 20130203104824) do
     t.string   "output"
     t.datetime "created_at"
     t.datetime "updated_at"
+    t.string   "priority"
   end
 
   add_index "jobs", ["command"], :name => "index_jobs_on_command"