init push - laying out the project

This commit is contained in:
Mike Sutton
2022-11-12 02:27:46 +01:00
commit 14e163a1a5
183 changed files with 20069 additions and 0 deletions

View File

@ -0,0 +1,17 @@
# == Schema Information
#
# Table name: source_subscriptions
#
# id :uuid not null, primary key
# exchange_account_id :string
# tip_source_id :uuid
# created_at :datetime not null
# updated_at :datetime not null
#
class SourceSubscription < ApplicationRecord
belongs_to :tip_source, dependent: :delete
belongs_to :exchange_account
has_many :subscription_runs
has_many :tip_source_data, through: :tip_source
end