summaryrefslogtreecommitdiff
path: root/app/models/project_pages_metadatum.rb
blob: 1fda388b1aec4a0d620fc693c0d4d6ccc8b228a7 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class ProjectPagesMetadatum < ApplicationRecord
  self.primary_key = :project_id

  belongs_to :project, inverse_of: :pages_metadatum

  scope :deployed, -> { where(deployed: true) }
end