DEV: Update plugin annotations (#243)

This commit is contained in:
Gabriel Grubba 2024-10-25 05:48:56 -03:00 committed by GitHub
parent f40d6f9cad
commit dff47e2a3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 48 additions and 0 deletions

View File

@ -13,3 +13,20 @@ module DiscourseSubscriptions
end end
end 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)
#

View File

@ -4,3 +4,17 @@ module DiscourseSubscriptions
class Product < ActiveRecord::Base class Product < ActiveRecord::Base
end end
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)
#

View File

@ -5,3 +5,20 @@ module DiscourseSubscriptions
belongs_to :customer belongs_to :customer
end end
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)
#