From 0a87ae262287d516b2a2c7c8db07c7d4393d5fa8 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 7 Apr 2018 15:28:40 +0100 Subject: Add a QueJob model --- app/models/que_job.rb | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 app/models/que_job.rb diff --git a/app/models/que_job.rb b/app/models/que_job.rb new file mode 100644 index 0000000..a2227b8 --- /dev/null +++ b/app/models/que_job.rb @@ -0,0 +1,36 @@ +# GOV.UK Mini Environment Admin +# Copyright © 2018 Christopher Baines +# +# This file is part of the GOV.UK Mini Environment Admin. +# +# The GOV.UK Mini Environment Admin is free software: you can +# redistribute it and/or modify it under the terms of the GNU Affero +# General Public License as published by the Free Software Foundation, +# either version 3 of the License, or (at your option) any later +# version. +# +# The GOV.UK Mini Environment Admin is distributed in the hope that it +# will be useful, but WITHOUT ANY WARRANTY; without even the implied +# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +# See the GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public +# License along with the GOV.UK Mini Environment Admin. If not, see +# . + +# == Schema Information +# +# Table name: que_jobs +# +# priority :integer default(100), not null +# run_at :datetime not null +# job_id :integer not null +# job_class :text not null +# args :json not null +# error_count :integer default(0), not null +# last_error :text +# queue :text default(""), not null +# + +class QueJob < ActiveRecord::Base +end -- cgit v1.2.3