debian-mirror-gitlab/lib/gitlab/database/schema_validation/schema_inconsistency.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
326 B
Ruby
Raw Normal View History

2023-06-20 00:43:36 +05:30
# frozen_string_literal: true
module Gitlab
module Database
module SchemaValidation
class SchemaInconsistency < ApplicationRecord
self.table_name = :schema_inconsistencies
belongs_to :issue
validates :object_name, :valitador_name, :table_name, presence: true
end
end
end
end