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) +#