Skip to content

Commit

Permalink
DEV: Update plugin annotations (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
Grubba27 authored Oct 25, 2024
1 parent f40d6f9 commit dff47e2
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
17 changes: 17 additions & 0 deletions app/models/discourse_subscriptions/customer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,20 @@ def self.create_customer(user, customer)
end
end
end

# == Schema Information
#
# Table name: discourse_subscriptions_customers
#
# id :bigint not null, primary key
# customer_id :string not null
# product_id :string
# user_id :bigint
# created_at :datetime not null
# updated_at :datetime not null
#
# Indexes
#
# index_discourse_subscriptions_customers_on_customer_id (customer_id)
# index_discourse_subscriptions_customers_on_user_id (user_id)
#
14 changes: 14 additions & 0 deletions app/models/discourse_subscriptions/product.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,17 @@ module DiscourseSubscriptions
class Product < ActiveRecord::Base
end
end

# == Schema Information
#
# Table name: discourse_subscriptions_products
#
# id :bigint not null, primary key
# external_id :string not null
# created_at :datetime not null
# updated_at :datetime not null
#
# Indexes
#
# index_discourse_subscriptions_products_on_external_id (external_id)
#
17 changes: 17 additions & 0 deletions app/models/discourse_subscriptions/subscription.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,20 @@ class Subscription < ActiveRecord::Base
belongs_to :customer
end
end

# == Schema Information
#
# Table name: discourse_subscriptions_subscriptions
#
# id :bigint not null, primary key
# customer_id :bigint not null
# external_id :string not null
# created_at :datetime not null
# updated_at :datetime not null
# status :string
#
# Indexes
#
# index_discourse_subscriptions_subscriptions_on_customer_id (customer_id)
# index_discourse_subscriptions_subscriptions_on_external_id (external_id)
#

0 comments on commit dff47e2

Please sign in to comment.