From dff47e2a3a0d66d00656f206fd6fddc82e8fb93c Mon Sep 17 00:00:00 2001 From: Gabriel Grubba <70247653+Grubba27@users.noreply.github.com> Date: Fri, 25 Oct 2024 05:48:56 -0300 Subject: [PATCH] DEV: Update plugin annotations (#243) --- app/models/discourse_subscriptions/customer.rb | 17 +++++++++++++++++ app/models/discourse_subscriptions/product.rb | 14 ++++++++++++++ .../discourse_subscriptions/subscription.rb | 17 +++++++++++++++++ 3 files changed, 48 insertions(+) diff --git a/app/models/discourse_subscriptions/customer.rb b/app/models/discourse_subscriptions/customer.rb index 395f2ff..27b48de 100644 --- a/app/models/discourse_subscriptions/customer.rb +++ b/app/models/discourse_subscriptions/customer.rb @@ -13,3 +13,20 @@ module DiscourseSubscriptions 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) +# diff --git a/app/models/discourse_subscriptions/product.rb b/app/models/discourse_subscriptions/product.rb index 288bc35..72c20b0 100644 --- a/app/models/discourse_subscriptions/product.rb +++ b/app/models/discourse_subscriptions/product.rb @@ -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) +# diff --git a/app/models/discourse_subscriptions/subscription.rb b/app/models/discourse_subscriptions/subscription.rb index de0e885..2224d15 100644 --- a/app/models/discourse_subscriptions/subscription.rb +++ b/app/models/discourse_subscriptions/subscription.rb @@ -5,3 +5,20 @@ module DiscourseSubscriptions 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) +#