2022-03-11 12:38:45 +01:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class HiddenRepositoryCellReminder < ApplicationRecord
|
|
|
|
belongs_to :repository_cell
|
|
|
|
belongs_to :user
|
2022-03-30 10:54:55 +02:00
|
|
|
|
|
|
|
validates :user, uniqueness: { scope: :repository_cell }
|
2022-03-11 12:38:45 +01:00
|
|
|
end
|