diff options
author | Christopher Baines <mail@cbaines.net> | 2018-04-07 15:28:40 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-04-12 19:05:31 +0100 |
commit | 0a87ae262287d516b2a2c7c8db07c7d4393d5fa8 (patch) | |
tree | 5641f6ad7152f6f12361090a4743bc37456413a0 /app | |
parent | 2e97d9f957eff4ba66f1c4c65ff0b5156471cf6c (diff) | |
download | govuk-mini-environment-admin-0a87ae262287d516b2a2c7c8db07c7d4393d5fa8.tar govuk-mini-environment-admin-0a87ae262287d516b2a2c7c8db07c7d4393d5fa8.tar.gz |
Add a QueJob model
Diffstat (limited to 'app')
-rw-r--r-- | app/models/que_job.rb | 36 |
1 files changed, 36 insertions, 0 deletions
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 <mail@cbaines.net> +# +# 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 +# <http://www.gnu.org/licenses/>. + +# == 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 |