lib/wco/subscription.rb in ish_models-0.0.33.260 vs lib/wco/subscription.rb in ish_models-0.0.33.261
- old
+ new
@@ -1,9 +1,14 @@
class Wco::Subscription
include Mongoid::Document
include Mongoid::Timestamps
+ field :customer_id, type: :string # stripe
+ field :price_id, type: :string # stripe
+
# belongs_to :organization, class_name: '::Wco::Organization', inverse_of: :subscriptions
belongs_to :product, class_name: '::Wco::Product', inverse_of: :subscriptions
end
+
+