scinote-web/app/models/hidden_repository_cell_reminder.rb

9 lines
199 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class HiddenRepositoryCellReminder < ApplicationRecord
belongs_to :repository_cell
belongs_to :user
validates :user, uniqueness: { scope: :repository_cell }
end