test/rails_root/app/models/subscription.rb in muck-commerce-0.1.9 vs test/rails_root/app/models/subscription.rb in muck-commerce-0.2.0
- old
+ new
@@ -1,3 +1,24 @@
+# == Schema Information
+#
+# Table name: subscriptions
+#
+# id :integer(4) not null, primary key
+# user_id :integer(4)
+# amount :integer(4)
+# next_renewal_at :datetime
+# aasm_state :string(255) default("trial")
+# subscription_plan_id :integer(4)
+# renewal_period :integer(4)
+# number :string(255)
+# failed_billing_attempts :integer(4) default(0), not null
+# cancelled_at :datetime
+# suspended_at :datetime
+# activated_at :datetime
+# default :boolean(1)
+# created_at :datetime
+# updated_at :datetime
+#
+
class Subscription < ActiveRecord::Base
acts_as_muck_subscription
-end
\ No newline at end of file
+end