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