aboutsummaryrefslogtreecommitdiff
path: root/app/models/govuk_guix/revision.rb
blob: 1657edb95db3ac8d73297742bf7d01b40c736888 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# == Schema Information
#
# Table name: govuk_guix_revisions
#
#  commit_hash :string           not null, primary key
#  store_path  :string
#  created_at  :datetime         not null
#  updated_at  :datetime         not null
#

class GovukGuix::Revision < ApplicationRecord
  self.primary_key = 'commit_hash'

  has_many :mini_environments, foreign_key: 'govuk_guix_revision_id'
end