1 # frozen_string_literal: true
3 # == Schema Information
5 # Table name: note_subscriptions
7 # user_id :bigint not null, primary key
8 # note_id :bigint not null, primary key
12 # index_note_subscriptions_on_note_id (note_id)
16 # fk_rails_... (note_id => notes.id)
17 # fk_rails_... (user_id => users.id)
19 class NoteSubscription < ApplicationRecord