]> git.openstreetmap.org Git - rails.git/blob - app/models/note_subscription.rb
Merge pull request #6394 from openstreetmap/dependabot/github_actions/ruby/setup...
[rails.git] / app / models / note_subscription.rb
1 # frozen_string_literal: true
2
3 # == Schema Information
4 #
5 # Table name: note_subscriptions
6 #
7 #  user_id :bigint           not null, primary key
8 #  note_id :bigint           not null, primary key
9 #
10 # Indexes
11 #
12 #  index_note_subscriptions_on_note_id  (note_id)
13 #
14 # Foreign Keys
15 #
16 #  fk_rails_...  (note_id => notes.id)
17 #  fk_rails_...  (user_id => users.id)
18 #
19 class NoteSubscription < ApplicationRecord
20   belongs_to :user
21   belongs_to :note
22 end