stripe_local 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -19734,3 +19734,991 @@ Migrating to LoadStripeTables (20131122063517)
19734
19734
   (0.1ms) BEGIN
19735
19735
  SQL (1.3ms) INSERT INTO "stripe_local_charges" ("amount", "card_id", "created", "created_at", "customer_id", "id", "invoice_id", "paid", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["amount", 9900], ["card_id", "cc_1eX7GyRo6wivEf"], ["created", Thu, 01 Aug 2013 18:08:14 CDT -05:00], ["created_at", Fri, 29 Nov 2013 08:17:07 CST -06:00], ["customer_id", "cus_1eX7onie2gq8m1"], ["id", "ch_2wiSyZQkZw8F50"], ["invoice_id", "in_2whTLSkV2ItHAv"], ["paid", true], ["transaction_id", "txn_2wiSFq1N6BTZTQ"], ["updated_at", Fri, 29 Nov 2013 08:17:07 CST -06:00]]
19736
19736
   (0.3ms) COMMIT
19737
+  (3.7ms) ALTER TABLE "stripe_local_discounts" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_customers" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_transfers" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_cards" DISABLE TRIGGER ALL;ALTER TABLE "clients" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_subscriptions" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_invoices" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_plans" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_line_items" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_charges" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_coupons" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_transactions" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_balances" DISABLE TRIGGER ALL
19738
+  (10.6ms) select table_name from information_schema.views where table_schema = 'dummy_test'
19739
+  (87.7ms) TRUNCATE TABLE "stripe_local_discounts", "stripe_local_customers", "stripe_local_transfers", "stripe_local_cards", "clients", "stripe_local_subscriptions", "stripe_local_invoices", "stripe_local_plans", "stripe_local_line_items", "stripe_local_charges", "stripe_local_coupons", "stripe_local_transactions", "stripe_local_balances" RESTART IDENTITY CASCADE;
19740
+  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_discounts" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_transfers" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_cards" ENABLE TRIGGER ALL;ALTER TABLE "clients" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_customers" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_subscriptions" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_invoices" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_plans" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_line_items" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_charges" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_coupons" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_transactions" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_balances" ENABLE TRIGGER ALL
19741
+ ActiveRecord::SchemaMigration Load (2.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
19742
+  (0.1ms) BEGIN
19743
+ SQL (6.3ms) INSERT INTO "stripe_local_subscriptions" ("created_at", "current_period_end", "current_period_start", "customer_id", "plan_id", "start", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["current_period_end", Wed, 11 Dec 2013 15:32:46 CST -06:00], ["current_period_start", Mon, 11 Nov 2013 15:32:46 CST -06:00], ["customer_id", "cus_2vIuZmAfWK89Yk"], ["plan_id", "HR99"], ["start", Mon, 11 Nov 2013 15:32:46 CST -06:00], ["status", "active"], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19744
+  (0.4ms) COMMIT
19745
+  (0.2ms) BEGIN
19746
+ SQL (1.0ms) INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "id", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) [["brand", "Visa"], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["customer_id", "cus_2J7PZ8ncCbR10Z"], ["cvc_check", "pass"], ["exp_month", 1], ["exp_year", 2014], ["id", "cc_2J7Pscoh4jvFjJ"], ["last4", "4242"], ["name", "Connor Tumbleson"], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19747
+  (0.4ms) COMMIT
19748
+  (0.1ms) BEGIN
19749
+ SQL (1.7ms) INSERT INTO "stripe_local_charges" ("amount", "card_id", "created", "created_at", "customer_id", "id", "invoice_id", "paid", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["amount", 9900], ["card_id", "cc_1eX7GyRo6wivEf"], ["created", Thu, 01 Aug 2013 18:08:14 CDT -05:00], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["customer_id", "cus_1eX7onie2gq8m1"], ["id", "ch_2wiSyZQkZw8F50"], ["invoice_id", "in_2whTLSkV2ItHAv"], ["paid", true], ["transaction_id", "txn_2wiSFq1N6BTZTQ"], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19750
+  (0.3ms) COMMIT
19751
+  (0.1ms) BEGIN
19752
+ SQL (1.0ms) INSERT INTO "stripe_local_line_items" ("amount", "created_at", "id", "invoice_id", "period_end", "period_start", "plan_id", "proration", "quantity", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["amount", 9900], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["id", "su_1bfTBoL3o7blah"], ["invoice_id", "in_2blahblahagain"], ["period_end", Thu, 06 Jun 2013 18:23:47 CDT -05:00], ["period_start", Tue, 07 May 2013 18:23:47 CDT -05:00], ["plan_id", "HR99"], ["proration", false], ["quantity", 1], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19753
+  (0.3ms) COMMIT
19754
+  (0.2ms) BEGIN
19755
+ SQL (1.1ms) INSERT INTO "stripe_local_invoices" ("amount_due", "attempt_count", "attempted", "charge_id", "closed", "created_at", "customer_id", "date", "discount", "ending_balance", "id", "paid", "period_end", "period_start", "starting_balance", "subtotal", "total", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18) RETURNING "id" [["amount_due", 9900], ["attempt_count", 0], ["attempted", true], ["charge_id", "ch_blahblahblah"], ["closed", true], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["customer_id", "cus_1A3zUmx7NpUgrT"], ["date", Tue, 07 May 2013 18:23:47 CDT -05:00], ["discount", nil], ["ending_balance", 0], ["id", "in_2blahblahagain"], ["paid", true], ["period_end", Tue, 07 May 2013 18:23:47 CDT -05:00], ["period_start", Tue, 07 May 2013 18:23:47 CDT -05:00], ["starting_balance", 0], ["subtotal", 9900], ["total", 9900], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19756
+  (0.4ms) COMMIT
19757
+ StripeLocal::LineItem Load (0.8ms) SELECT "stripe_local_line_items".* FROM "stripe_local_line_items" WHERE "stripe_local_line_items"."invoice_id" = $1 [["invoice_id", "in_2blahblahagain"]]
19758
+  (0.1ms) BEGIN
19759
+ SQL (0.9ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19760
+  (0.4ms) COMMIT
19761
+  (0.1ms) BEGIN
19762
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19763
+  (0.3ms) COMMIT
19764
+  (0.6ms) SELECT COUNT(*) FROM "stripe_local_balances"
19765
+ StripeLocal::Balance Load (0.4ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
19766
+ StripeLocal::Balance Load (0.4ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
19767
+ SQL (0.7ms) UPDATE "stripe_local_balances" SET "updated_at" = '2013-12-01 15:38:57.803019' WHERE "stripe_local_balances"."id" = 2
19768
+  (0.2ms) SELECT COUNT(*) FROM "stripe_local_balances"
19769
+ StripeLocal::Balance Load (0.2ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
19770
+  (0.1ms) BEGIN
19771
+ SQL (0.4ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19772
+  (0.3ms) COMMIT
19773
+  (0.1ms) BEGIN
19774
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19775
+  (0.3ms) COMMIT
19776
+  (0.2ms) SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
19777
+  (0.1ms) BEGIN
19778
+ SQL (0.4ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19779
+  (0.3ms) COMMIT
19780
+  (0.1ms) BEGIN
19781
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19782
+  (0.3ms) COMMIT
19783
+  (0.2ms) SELECT COUNT(*) FROM "stripe_local_balances"
19784
+  (0.1ms) BEGIN
19785
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 39800], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["pending", 0], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19786
+  (0.2ms) COMMIT
19787
+  (0.1ms) SELECT COUNT(*) FROM "stripe_local_balances"
19788
+  (0.1ms) BEGIN
19789
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19790
+  (0.3ms) COMMIT
19791
+  (0.1ms) BEGIN
19792
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19793
+  (0.3ms) COMMIT
19794
+  (0.2ms) BEGIN
19795
+ SQL (0.4ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19796
+  (0.3ms) COMMIT
19797
+  (0.1ms) BEGIN
19798
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19799
+  (0.2ms) COMMIT
19800
+  (0.1ms) SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
19801
+  (0.1ms) BEGIN
19802
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19803
+  (0.2ms) COMMIT
19804
+  (0.1ms) BEGIN
19805
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19806
+  (0.2ms) COMMIT
19807
+  (0.1ms) SELECT "stripe_local_balances"."pending" FROM "stripe_local_balances"
19808
+  (0.1ms) BEGIN
19809
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19810
+  (0.2ms) COMMIT
19811
+  (0.1ms) BEGIN
19812
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19813
+  (0.2ms) COMMIT
19814
+  (0.2ms) BEGIN
19815
+ SQL (1.4ms) INSERT INTO "stripe_local_transactions" ("amount", "available_on", "created", "created_at", "description", "fee", "id", "net", "source_id", "source_type", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["amount", -100], ["available_on", Mon, 07 Oct 2013 05:01:01 CDT -05:00], ["created", Mon, 30 Sep 2013 05:01:01 CDT -05:00], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["description", "a dollar for Don Atello"], ["fee", 25], ["id", "txn_2fOGkiBkDgpObU"], ["net", -125], ["source_id", "tr_2fOGfKABdHu3uf"], ["source_type", "transfer"], ["status", "available"], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19816
+  (0.3ms) COMMIT
19817
+  (0.1ms) BEGIN
19818
+ SQL (1.3ms) INSERT INTO "stripe_local_transfers" ("amount", "created_at", "date", "description", "id", "status", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["amount", 100], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["date", Mon, 30 Sep 2013 05:01:01 CDT -05:00], ["description", "a dollar for Don Atello"], ["id", "tr_2fOGfKABdHu3uf"], ["status", "paid"], ["transaction_id", "txn_2fOGkiBkDgpObU"], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19819
+  (0.3ms) COMMIT
19820
+ StripeLocal::Plan Load (0.3ms) SELECT "stripe_local_plans".* FROM "stripe_local_plans" WHERE "stripe_local_plans"."id" = 'New_Plan' LIMIT 1
19821
+  (0.1ms) BEGIN
19822
+ SQL (0.8ms) INSERT INTO "stripe_local_plans" ("amount", "created_at", "id", "interval", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", 2999], ["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["id", "New_Plan"], ["interval", "month"], ["name", "New Plan"], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19823
+  (0.3ms) COMMIT
19824
+ StripeLocal::Customer Load (0.4ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19825
+  (0.2ms) BEGIN
19826
+ StripeLocal::Customer Load (0.3ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19827
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19828
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19829
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19830
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19831
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19832
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19833
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19834
+ SQL (0.9ms) INSERT INTO "clients" ("created_at", "email", "name", "password", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:38:57 CST -06:00], ["email", "test@test.com"], ["name", "Test Case"], ["password", "password"], ["updated_at", Sat, 30 Nov 2013 09:38:57 CST -06:00]]
19835
+  (0.3ms) COMMIT
19836
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
19837
+  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_discounts" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_transfers" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_cards" DISABLE TRIGGER ALL;ALTER TABLE "clients" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_customers" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_subscriptions" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_invoices" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_plans" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_line_items" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_charges" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_coupons" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_transactions" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_balances" DISABLE TRIGGER ALL
19838
+  (1.0ms) select table_name from information_schema.views where table_schema = 'dummy_test'
19839
+  (22.3ms) TRUNCATE TABLE "stripe_local_discounts", "stripe_local_transfers", "stripe_local_cards", "clients", "stripe_local_customers", "stripe_local_subscriptions", "stripe_local_invoices", "stripe_local_plans", "stripe_local_line_items", "stripe_local_charges", "stripe_local_coupons", "stripe_local_transactions", "stripe_local_balances" RESTART IDENTITY CASCADE;
19840
+  (1.0ms) ALTER TABLE "stripe_local_discounts" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_cards" ENABLE TRIGGER ALL;ALTER TABLE "clients" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_customers" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_transfers" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_subscriptions" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_invoices" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_plans" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_line_items" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_charges" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_coupons" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_transactions" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_balances" ENABLE TRIGGER ALL
19841
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
19842
+  (0.1ms) BEGIN
19843
+ SQL (7.2ms) INSERT INTO "stripe_local_subscriptions" ("created_at", "current_period_end", "current_period_start", "customer_id", "plan_id", "start", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:39:45 CST -06:00], ["current_period_end", Wed, 11 Dec 2013 15:32:46 CST -06:00], ["current_period_start", Mon, 11 Nov 2013 15:32:46 CST -06:00], ["customer_id", "cus_2vIuZmAfWK89Yk"], ["plan_id", "HR99"], ["start", Mon, 11 Nov 2013 15:32:46 CST -06:00], ["status", "active"], ["updated_at", Sat, 30 Nov 2013 09:39:45 CST -06:00]]
19844
+  (0.3ms) COMMIT
19845
+  (0.2ms) BEGIN
19846
+ SQL (1.1ms) INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "id", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) [["brand", "Visa"], ["created_at", Sat, 30 Nov 2013 09:39:45 CST -06:00], ["customer_id", "cus_2J7PZ8ncCbR10Z"], ["cvc_check", "pass"], ["exp_month", 1], ["exp_year", 2014], ["id", "cc_2J7Pscoh4jvFjJ"], ["last4", "4242"], ["name", "Connor Tumbleson"], ["updated_at", Sat, 30 Nov 2013 09:39:45 CST -06:00]]
19847
+  (0.3ms) COMMIT
19848
+  (0.1ms) BEGIN
19849
+ SQL (1.1ms) INSERT INTO "stripe_local_line_items" ("amount", "created_at", "id", "invoice_id", "period_end", "period_start", "plan_id", "proration", "quantity", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["amount", 9900], ["created_at", Sat, 30 Nov 2013 09:39:45 CST -06:00], ["id", "su_1bfTBoL3o7blah"], ["invoice_id", "in_2blahblahagain"], ["period_end", Thu, 06 Jun 2013 18:23:47 CDT -05:00], ["period_start", Tue, 07 May 2013 18:23:47 CDT -05:00], ["plan_id", "HR99"], ["proration", false], ["quantity", 1], ["updated_at", Sat, 30 Nov 2013 09:39:45 CST -06:00]]
19850
+  (0.3ms) COMMIT
19851
+  (0.2ms) BEGIN
19852
+ SQL (1.1ms) INSERT INTO "stripe_local_invoices" ("amount_due", "attempt_count", "attempted", "charge_id", "closed", "created_at", "customer_id", "date", "discount", "ending_balance", "id", "paid", "period_end", "period_start", "starting_balance", "subtotal", "total", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18) RETURNING "id" [["amount_due", 9900], ["attempt_count", 0], ["attempted", true], ["charge_id", "ch_blahblahblah"], ["closed", true], ["created_at", Sat, 30 Nov 2013 09:39:45 CST -06:00], ["customer_id", "cus_1A3zUmx7NpUgrT"], ["date", Tue, 07 May 2013 18:23:47 CDT -05:00], ["discount", nil], ["ending_balance", 0], ["id", "in_2blahblahagain"], ["paid", true], ["period_end", Tue, 07 May 2013 18:23:47 CDT -05:00], ["period_start", Tue, 07 May 2013 18:23:47 CDT -05:00], ["starting_balance", 0], ["subtotal", 9900], ["total", 9900], ["updated_at", Sat, 30 Nov 2013 09:39:45 CST -06:00]]
19853
+  (0.4ms) COMMIT
19854
+ StripeLocal::LineItem Load (0.7ms) SELECT "stripe_local_line_items".* FROM "stripe_local_line_items" WHERE "stripe_local_line_items"."invoice_id" = $1 [["invoice_id", "in_2blahblahagain"]]
19855
+ StripeLocal::Plan Load (0.4ms) SELECT "stripe_local_plans".* FROM "stripe_local_plans" WHERE "stripe_local_plans"."id" = 'New_Plan' LIMIT 1
19856
+  (0.2ms) BEGIN
19857
+ SQL (0.8ms) INSERT INTO "stripe_local_plans" ("amount", "created_at", "id", "interval", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", 2999], ["created_at", Sat, 30 Nov 2013 09:39:45 CST -06:00], ["id", "New_Plan"], ["interval", "month"], ["name", "New Plan"], ["updated_at", Sat, 30 Nov 2013 09:39:45 CST -06:00]]
19858
+  (0.3ms) COMMIT
19859
+  (0.2ms) BEGIN
19860
+ SQL (1.4ms) INSERT INTO "stripe_local_transactions" ("amount", "available_on", "created", "created_at", "description", "fee", "id", "net", "source_id", "source_type", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["amount", -100], ["available_on", Mon, 07 Oct 2013 05:01:01 CDT -05:00], ["created", Mon, 30 Sep 2013 05:01:01 CDT -05:00], ["created_at", Sat, 30 Nov 2013 09:39:45 CST -06:00], ["description", "a dollar for Don Atello"], ["fee", 25], ["id", "txn_2fOGkiBkDgpObU"], ["net", -125], ["source_id", "tr_2fOGfKABdHu3uf"], ["source_type", "transfer"], ["status", "available"], ["updated_at", Sat, 30 Nov 2013 09:39:45 CST -06:00]]
19861
+  (0.3ms) COMMIT
19862
+  (0.2ms) BEGIN
19863
+ SQL (1.3ms) INSERT INTO "stripe_local_charges" ("amount", "card_id", "created", "created_at", "customer_id", "id", "invoice_id", "paid", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["amount", 9900], ["card_id", "cc_1eX7GyRo6wivEf"], ["created", Thu, 01 Aug 2013 18:08:14 CDT -05:00], ["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["customer_id", "cus_1eX7onie2gq8m1"], ["id", "ch_2wiSyZQkZw8F50"], ["invoice_id", "in_2whTLSkV2ItHAv"], ["paid", true], ["transaction_id", "txn_2wiSFq1N6BTZTQ"], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19864
+  (0.3ms) COMMIT
19865
+  (0.1ms) BEGIN
19866
+ SQL (1.5ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19867
+  (0.3ms) COMMIT
19868
+  (0.1ms) BEGIN
19869
+ SQL (0.6ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19870
+  (0.3ms) COMMIT
19871
+  (0.1ms) BEGIN
19872
+ SQL (0.6ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19873
+  (0.3ms) COMMIT
19874
+  (0.1ms) BEGIN
19875
+ SQL (0.5ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19876
+  (0.3ms) COMMIT
19877
+  (0.3ms) SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
19878
+  (0.1ms) BEGIN
19879
+ SQL (0.6ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19880
+  (0.3ms) COMMIT
19881
+  (0.1ms) BEGIN
19882
+ SQL (0.4ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19883
+  (0.3ms) COMMIT
19884
+  (0.1ms) BEGIN
19885
+ SQL (0.6ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19886
+  (0.3ms) COMMIT
19887
+  (0.1ms) BEGIN
19888
+ SQL (0.5ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19889
+  (0.3ms) COMMIT
19890
+  (0.3ms) SELECT "stripe_local_balances"."pending" FROM "stripe_local_balances"
19891
+  (0.1ms) BEGIN
19892
+ SQL (0.4ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19893
+  (0.2ms) COMMIT
19894
+  (0.1ms) BEGIN
19895
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19896
+  (0.2ms) COMMIT
19897
+  (0.2ms) SELECT COUNT(*) FROM "stripe_local_balances"
19898
+ StripeLocal::Balance Load (0.3ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
19899
+ StripeLocal::Balance Load (0.2ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
19900
+ SQL (0.4ms) UPDATE "stripe_local_balances" SET "updated_at" = '2013-12-01 15:39:46.070931' WHERE "stripe_local_balances"."id" = 10
19901
+  (0.2ms) SELECT COUNT(*) FROM "stripe_local_balances"
19902
+ StripeLocal::Balance Load (0.2ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
19903
+  (0.1ms) BEGIN
19904
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19905
+  (0.2ms) COMMIT
19906
+  (0.1ms) BEGIN
19907
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19908
+  (0.2ms) COMMIT
19909
+  (0.1ms) SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
19910
+  (0.1ms) BEGIN
19911
+ SQL (0.5ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19912
+  (0.3ms) COMMIT
19913
+  (0.1ms) BEGIN
19914
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19915
+  (0.3ms) COMMIT
19916
+  (0.2ms) SELECT COUNT(*) FROM "stripe_local_balances"
19917
+  (0.1ms) BEGIN
19918
+ SQL (0.4ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 39800], ["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["pending", 0], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19919
+  (0.3ms) COMMIT
19920
+  (0.2ms) SELECT COUNT(*) FROM "stripe_local_balances"
19921
+ StripeLocal::Customer Load (0.5ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19922
+  (0.1ms) BEGIN
19923
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19924
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19925
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19926
+ StripeLocal::Customer Load (0.1ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19927
+ StripeLocal::Customer Load (0.1ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19928
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19929
+ StripeLocal::Customer Load (0.1ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19930
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19931
+ SQL (0.7ms) INSERT INTO "clients" ("created_at", "email", "name", "password", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["email", "test@test.com"], ["name", "Test Case"], ["password", "password"], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19932
+  (0.3ms) COMMIT
19933
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
19934
+  (0.1ms) BEGIN
19935
+ SQL (0.4ms) INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "id", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) [["brand", "Visa"], ["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["customer_id", "cus_123"], ["cvc_check", "pass"], ["exp_month", 8], ["exp_year", 2014], ["id", "card_102Y2J1Cmf55uWiejglofO7j"], ["last4", "4242"], ["name", "Test Case"], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19936
+  (0.2ms) COMMIT
19937
+  (0.1ms) BEGIN
19938
+ SQL (0.5ms) INSERT INTO "stripe_local_subscriptions" ("created_at", "current_period_end", "current_period_start", "customer_id", "plan_id", "start", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["current_period_end", Thu, 10 Oct 2013 13:52:04 CDT -05:00], ["current_period_start", Tue, 10 Sep 2013 13:52:04 CDT -05:00], ["customer_id", "cus_123"], ["plan_id", "GIN100"], ["start", Tue, 10 Sep 2013 13:52:04 CDT -05:00], ["status", "active"], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19939
+  (0.4ms) COMMIT
19940
+  (0.2ms) BEGIN
19941
+ SQL (1.1ms) INSERT INTO "stripe_local_customers" ("account_balance", "created_at", "default_card", "delinquent", "description", "email", "id", "model_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["account_balance", 0], ["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["default_card", "card_102Y2J1Cmf55uWiejglofO7j"], ["delinquent", false], ["description", "On September 10th, Test signed up for CA50."], ["email", "test@test.com"], ["id", "cus_123"], ["model_id", 1], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19942
+  (0.3ms) COMMIT
19943
+ Client Load (0.4ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = $1 LIMIT 1 [["id", 1]]
19944
+ StripeLocal::Customer Load (0.3ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
19945
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
19946
+  (0.2ms) BEGIN
19947
+ SQL (1.4ms) INSERT INTO "stripe_local_transfers" ("amount", "created_at", "date", "description", "id", "status", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["amount", 100], ["created_at", Sat, 30 Nov 2013 09:39:46 CST -06:00], ["date", Mon, 30 Sep 2013 05:01:01 CDT -05:00], ["description", "a dollar for Don Atello"], ["id", "tr_2fOGfKABdHu3uf"], ["status", "paid"], ["transaction_id", "txn_2fOGkiBkDgpObU"], ["updated_at", Sat, 30 Nov 2013 09:39:46 CST -06:00]]
19948
+  (0.3ms) COMMIT
19949
+  (0.7ms) ALTER TABLE "stripe_local_discounts" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_cards" DISABLE TRIGGER ALL;ALTER TABLE "clients" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_customers" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_transfers" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_subscriptions" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_invoices" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_plans" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_line_items" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_charges" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_coupons" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_transactions" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_balances" DISABLE TRIGGER ALL
19950
+  (1.0ms) select table_name from information_schema.views where table_schema = 'dummy_test'
19951
+  (20.7ms) TRUNCATE TABLE "stripe_local_discounts", "stripe_local_cards", "clients", "stripe_local_customers", "stripe_local_transfers", "stripe_local_subscriptions", "stripe_local_invoices", "stripe_local_plans", "stripe_local_line_items", "stripe_local_charges", "stripe_local_coupons", "stripe_local_transactions", "stripe_local_balances" RESTART IDENTITY CASCADE;
19952
+  (0.9ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_discounts" ENABLE TRIGGER ALL;ALTER TABLE "clients" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_customers" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_transfers" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_cards" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_subscriptions" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_invoices" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_plans" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_line_items" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_charges" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_coupons" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_transactions" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_balances" ENABLE TRIGGER ALL
19953
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
19954
+ StripeLocal::Customer Load (0.4ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19955
+  (0.2ms) BEGIN
19956
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19957
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19958
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19959
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19960
+ StripeLocal::Customer Load (0.4ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19961
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19962
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19963
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
19964
+ SQL (4.3ms) INSERT INTO "clients" ("created_at", "email", "name", "password", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["email", "test@test.com"], ["name", "Test Case"], ["password", "password"], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
19965
+  (0.3ms) COMMIT
19966
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
19967
+  (0.1ms) BEGIN
19968
+ SQL (1.0ms) INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "id", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) [["brand", "Visa"], ["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["customer_id", "cus_123"], ["cvc_check", "pass"], ["exp_month", 8], ["exp_year", 2014], ["id", "card_102Y2J1Cmf55uWiejglofO7j"], ["last4", "4242"], ["name", "Test Case"], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
19969
+  (0.3ms) COMMIT
19970
+  (0.2ms) BEGIN
19971
+ SQL (1.4ms) INSERT INTO "stripe_local_subscriptions" ("created_at", "current_period_end", "current_period_start", "customer_id", "plan_id", "start", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["current_period_end", Thu, 10 Oct 2013 13:52:04 CDT -05:00], ["current_period_start", Tue, 10 Sep 2013 13:52:04 CDT -05:00], ["customer_id", "cus_123"], ["plan_id", "GIN100"], ["start", Tue, 10 Sep 2013 13:52:04 CDT -05:00], ["status", "active"], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
19972
+  (0.3ms) COMMIT
19973
+  (0.2ms) BEGIN
19974
+ SQL (1.1ms) INSERT INTO "stripe_local_customers" ("account_balance", "created_at", "default_card", "delinquent", "description", "email", "id", "model_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["account_balance", 0], ["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["default_card", "card_102Y2J1Cmf55uWiejglofO7j"], ["delinquent", false], ["description", "On September 10th, Test signed up for CA50."], ["email", "test@test.com"], ["id", "cus_123"], ["model_id", 1], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
19975
+  (0.3ms) COMMIT
19976
+ Client Load (0.5ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = $1 LIMIT 1 [["id", 1]]
19977
+ StripeLocal::Customer Load (0.3ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
19978
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
19979
+  (0.1ms) BEGIN
19980
+ SQL (1.0ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
19981
+  (0.3ms) COMMIT
19982
+  (0.1ms) BEGIN
19983
+ SQL (0.4ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
19984
+  (0.3ms) COMMIT
19985
+  (0.2ms) SELECT "stripe_local_balances"."pending" FROM "stripe_local_balances"
19986
+  (0.1ms) BEGIN
19987
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
19988
+  (0.3ms) COMMIT
19989
+  (0.1ms) BEGIN
19990
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
19991
+  (0.3ms) COMMIT
19992
+  (0.2ms) SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
19993
+  (0.1ms) BEGIN
19994
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
19995
+  (0.3ms) COMMIT
19996
+  (0.1ms) BEGIN
19997
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
19998
+  (0.3ms) COMMIT
19999
+  (0.1ms) BEGIN
20000
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
20001
+  (0.3ms) COMMIT
20002
+  (0.1ms) BEGIN
20003
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
20004
+  (0.3ms) COMMIT
20005
+  (0.1ms) BEGIN
20006
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
20007
+  (0.3ms) COMMIT
20008
+  (0.1ms) BEGIN
20009
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
20010
+  (0.2ms) COMMIT
20011
+  (0.1ms) SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
20012
+  (0.1ms) BEGIN
20013
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
20014
+  (0.4ms) COMMIT
20015
+  (0.1ms) BEGIN
20016
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
20017
+  (0.2ms) COMMIT
20018
+  (0.1ms) SELECT COUNT(*) FROM "stripe_local_balances"
20019
+ StripeLocal::Balance Load (0.3ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20020
+ StripeLocal::Balance Load (0.2ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20021
+ SQL (0.4ms) UPDATE "stripe_local_balances" SET "updated_at" = '2013-12-01 15:39:54.919631' WHERE "stripe_local_balances"."id" = 12
20022
+  (0.2ms) SELECT COUNT(*) FROM "stripe_local_balances"
20023
+ StripeLocal::Balance Load (0.3ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20024
+  (0.1ms) BEGIN
20025
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
20026
+  (0.3ms) COMMIT
20027
+  (0.1ms) BEGIN
20028
+ SQL (0.4ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
20029
+  (0.3ms) COMMIT
20030
+  (0.2ms) SELECT COUNT(*) FROM "stripe_local_balances"
20031
+  (0.1ms) BEGIN
20032
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 39800], ["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["pending", 0], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
20033
+  (0.2ms) COMMIT
20034
+  (0.1ms) SELECT COUNT(*) FROM "stripe_local_balances"
20035
+  (0.1ms) BEGIN
20036
+ SQL (1.2ms) INSERT INTO "stripe_local_charges" ("amount", "card_id", "created", "created_at", "customer_id", "id", "invoice_id", "paid", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["amount", 9900], ["card_id", "cc_1eX7GyRo6wivEf"], ["created", Thu, 01 Aug 2013 18:08:14 CDT -05:00], ["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["customer_id", "cus_1eX7onie2gq8m1"], ["id", "ch_2wiSyZQkZw8F50"], ["invoice_id", "in_2whTLSkV2ItHAv"], ["paid", true], ["transaction_id", "txn_2wiSFq1N6BTZTQ"], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
20037
+  (0.4ms) COMMIT
20038
+  (0.1ms) BEGIN
20039
+ SQL (0.7ms) INSERT INTO "stripe_local_subscriptions" ("created_at", "current_period_end", "current_period_start", "customer_id", "plan_id", "start", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:39:54 CST -06:00], ["current_period_end", Wed, 11 Dec 2013 15:32:46 CST -06:00], ["current_period_start", Mon, 11 Nov 2013 15:32:46 CST -06:00], ["customer_id", "cus_2vIuZmAfWK89Yk"], ["plan_id", "HR99"], ["start", Mon, 11 Nov 2013 15:32:46 CST -06:00], ["status", "active"], ["updated_at", Sat, 30 Nov 2013 09:39:54 CST -06:00]]
20040
+  (0.3ms) COMMIT
20041
+ StripeLocal::Plan Load (0.7ms) SELECT "stripe_local_plans".* FROM "stripe_local_plans" WHERE "stripe_local_plans"."id" = 'New_Plan' LIMIT 1
20042
+  (0.2ms) BEGIN
20043
+ SQL (0.8ms) INSERT INTO "stripe_local_plans" ("amount", "created_at", "id", "interval", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", 2999], ["created_at", Sat, 30 Nov 2013 09:39:55 CST -06:00], ["id", "New_Plan"], ["interval", "month"], ["name", "New Plan"], ["updated_at", Sat, 30 Nov 2013 09:39:55 CST -06:00]]
20044
+  (0.3ms) COMMIT
20045
+  (0.1ms) BEGIN
20046
+ SQL (1.0ms) INSERT INTO "stripe_local_transfers" ("amount", "created_at", "date", "description", "id", "status", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["amount", 100], ["created_at", Sat, 30 Nov 2013 09:39:55 CST -06:00], ["date", Mon, 30 Sep 2013 05:01:01 CDT -05:00], ["description", "a dollar for Don Atello"], ["id", "tr_2fOGfKABdHu3uf"], ["status", "paid"], ["transaction_id", "txn_2fOGkiBkDgpObU"], ["updated_at", Sat, 30 Nov 2013 09:39:55 CST -06:00]]
20047
+  (0.3ms) COMMIT
20048
+  (0.2ms) BEGIN
20049
+ SQL (1.0ms) INSERT INTO "stripe_local_line_items" ("amount", "created_at", "id", "invoice_id", "period_end", "period_start", "plan_id", "proration", "quantity", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["amount", 9900], ["created_at", Sat, 30 Nov 2013 09:39:55 CST -06:00], ["id", "su_1bfTBoL3o7blah"], ["invoice_id", "in_2blahblahagain"], ["period_end", Thu, 06 Jun 2013 18:23:47 CDT -05:00], ["period_start", Tue, 07 May 2013 18:23:47 CDT -05:00], ["plan_id", "HR99"], ["proration", false], ["quantity", 1], ["updated_at", Sat, 30 Nov 2013 09:39:55 CST -06:00]]
20050
+  (0.3ms) COMMIT
20051
+  (0.2ms) BEGIN
20052
+ SQL (1.1ms) INSERT INTO "stripe_local_invoices" ("amount_due", "attempt_count", "attempted", "charge_id", "closed", "created_at", "customer_id", "date", "discount", "ending_balance", "id", "paid", "period_end", "period_start", "starting_balance", "subtotal", "total", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18) RETURNING "id" [["amount_due", 9900], ["attempt_count", 0], ["attempted", true], ["charge_id", "ch_blahblahblah"], ["closed", true], ["created_at", Sat, 30 Nov 2013 09:39:55 CST -06:00], ["customer_id", "cus_1A3zUmx7NpUgrT"], ["date", Tue, 07 May 2013 18:23:47 CDT -05:00], ["discount", nil], ["ending_balance", 0], ["id", "in_2blahblahagain"], ["paid", true], ["period_end", Tue, 07 May 2013 18:23:47 CDT -05:00], ["period_start", Tue, 07 May 2013 18:23:47 CDT -05:00], ["starting_balance", 0], ["subtotal", 9900], ["total", 9900], ["updated_at", Sat, 30 Nov 2013 09:39:55 CST -06:00]]
20053
+  (0.4ms) COMMIT
20054
+ StripeLocal::LineItem Load (0.6ms) SELECT "stripe_local_line_items".* FROM "stripe_local_line_items" WHERE "stripe_local_line_items"."invoice_id" = $1 [["invoice_id", "in_2blahblahagain"]]
20055
+  (0.2ms) BEGIN
20056
+ SQL (1.7ms) INSERT INTO "stripe_local_transactions" ("amount", "available_on", "created", "created_at", "description", "fee", "id", "net", "source_id", "source_type", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["amount", -100], ["available_on", Mon, 07 Oct 2013 05:01:01 CDT -05:00], ["created", Mon, 30 Sep 2013 05:01:01 CDT -05:00], ["created_at", Sat, 30 Nov 2013 09:39:55 CST -06:00], ["description", "a dollar for Don Atello"], ["fee", 25], ["id", "txn_2fOGkiBkDgpObU"], ["net", -125], ["source_id", "tr_2fOGfKABdHu3uf"], ["source_type", "transfer"], ["status", "available"], ["updated_at", Sat, 30 Nov 2013 09:39:55 CST -06:00]]
20057
+  (0.3ms) COMMIT
20058
+  (0.1ms) BEGIN
20059
+ SQL (0.5ms) INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "id", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) [["brand", "Visa"], ["created_at", Sat, 30 Nov 2013 09:39:55 CST -06:00], ["customer_id", "cus_2J7PZ8ncCbR10Z"], ["cvc_check", "pass"], ["exp_month", 1], ["exp_year", 2014], ["id", "cc_2J7Pscoh4jvFjJ"], ["last4", "4242"], ["name", "Connor Tumbleson"], ["updated_at", Sat, 30 Nov 2013 09:39:55 CST -06:00]]
20060
+  (0.4ms) COMMIT
20061
+  (1.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_discounts" DISABLE TRIGGER ALL;ALTER TABLE "clients" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_customers" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_transfers" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_cards" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_subscriptions" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_invoices" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_plans" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_line_items" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_charges" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_coupons" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_transactions" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_balances" DISABLE TRIGGER ALL
20062
+  (1.3ms) select table_name from information_schema.views where table_schema = 'dummy_test'
20063
+  (22.8ms) TRUNCATE TABLE "stripe_local_discounts", "clients", "stripe_local_customers", "stripe_local_transfers", "stripe_local_cards", "stripe_local_subscriptions", "stripe_local_invoices", "stripe_local_plans", "stripe_local_line_items", "stripe_local_charges", "stripe_local_coupons", "stripe_local_transactions", "stripe_local_balances" RESTART IDENTITY CASCADE;
20064
+  (0.9ms) ALTER TABLE "stripe_local_discounts" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_customers" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_transfers" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_cards" ENABLE TRIGGER ALL;ALTER TABLE "clients" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_subscriptions" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_invoices" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_plans" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_line_items" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_charges" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_coupons" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_transactions" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_balances" ENABLE TRIGGER ALL
20065
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
20066
+  (0.1ms) BEGIN
20067
+ SQL (5.5ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20068
+  (0.3ms) COMMIT
20069
+  (0.1ms) BEGIN
20070
+ SQL (0.4ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20071
+  (0.3ms) COMMIT
20072
+  (0.1ms) BEGIN
20073
+ SQL (0.4ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20074
+  (0.3ms) COMMIT
20075
+  (0.1ms) BEGIN
20076
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20077
+  (0.3ms) COMMIT
20078
+  (0.2ms) SELECT "stripe_local_balances"."pending" FROM "stripe_local_balances"
20079
+  (0.1ms) BEGIN
20080
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20081
+  (0.2ms) COMMIT
20082
+  (0.1ms) BEGIN
20083
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20084
+  (0.2ms) COMMIT
20085
+  (0.2ms) SELECT COUNT(*) FROM "stripe_local_balances"
20086
+  (0.1ms) BEGIN
20087
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 39800], ["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["pending", 0], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20088
+  (0.2ms) COMMIT
20089
+  (0.1ms) SELECT COUNT(*) FROM "stripe_local_balances"
20090
+  (0.1ms) BEGIN
20091
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20092
+  (0.3ms) COMMIT
20093
+  (0.1ms) BEGIN
20094
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20095
+  (0.3ms) COMMIT
20096
+  (0.1ms) SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
20097
+  (0.1ms) BEGIN
20098
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20099
+  (0.2ms) COMMIT
20100
+  (0.0ms) BEGIN
20101
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20102
+  (0.2ms) COMMIT
20103
+  (0.1ms) SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
20104
+  (0.1ms) BEGIN
20105
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20106
+  (0.2ms) COMMIT
20107
+  (0.1ms) BEGIN
20108
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20109
+  (0.2ms) COMMIT
20110
+  (0.1ms) SELECT COUNT(*) FROM "stripe_local_balances"
20111
+ StripeLocal::Balance Load (0.3ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20112
+ StripeLocal::Balance Load (0.2ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20113
+ SQL (0.4ms) UPDATE "stripe_local_balances" SET "updated_at" = '2013-12-01 15:40:11.742978' WHERE "stripe_local_balances"."id" = 13
20114
+  (0.2ms) SELECT COUNT(*) FROM "stripe_local_balances"
20115
+ StripeLocal::Balance Load (0.2ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20116
+  (0.1ms) BEGIN
20117
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20118
+  (0.3ms) COMMIT
20119
+  (0.1ms) BEGIN
20120
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20121
+  (0.2ms) COMMIT
20122
+  (0.2ms) BEGIN
20123
+ SQL (1.1ms) INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "id", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) [["brand", "Visa"], ["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["customer_id", "cus_2J7PZ8ncCbR10Z"], ["cvc_check", "pass"], ["exp_month", 1], ["exp_year", 2014], ["id", "cc_2J7Pscoh4jvFjJ"], ["last4", "4242"], ["name", "Connor Tumbleson"], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20124
+  (0.3ms) COMMIT
20125
+ StripeLocal::Customer Load (0.4ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20126
+  (0.2ms) BEGIN
20127
+ StripeLocal::Customer Load (0.3ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20128
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20129
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20130
+ StripeLocal::Customer Load (0.6ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20131
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20132
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20133
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20134
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20135
+ SQL (0.9ms) INSERT INTO "clients" ("created_at", "email", "name", "password", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["email", "test@test.com"], ["name", "Test Case"], ["password", "password"], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20136
+  (0.3ms) COMMIT
20137
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
20138
+  (0.1ms) BEGIN
20139
+ SQL (0.4ms) INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "id", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) [["brand", "Visa"], ["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["customer_id", "cus_123"], ["cvc_check", "pass"], ["exp_month", 8], ["exp_year", 2014], ["id", "card_102Y2J1Cmf55uWiejglofO7j"], ["last4", "4242"], ["name", "Test Case"], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20140
+  (0.3ms) COMMIT
20141
+  (0.1ms) BEGIN
20142
+ SQL (1.2ms) INSERT INTO "stripe_local_subscriptions" ("created_at", "current_period_end", "current_period_start", "customer_id", "plan_id", "start", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["current_period_end", Thu, 10 Oct 2013 13:52:04 CDT -05:00], ["current_period_start", Tue, 10 Sep 2013 13:52:04 CDT -05:00], ["customer_id", "cus_123"], ["plan_id", "GIN100"], ["start", Tue, 10 Sep 2013 13:52:04 CDT -05:00], ["status", "active"], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20143
+  (2.0ms) COMMIT
20144
+  (0.2ms) BEGIN
20145
+ SQL (1.2ms) INSERT INTO "stripe_local_customers" ("account_balance", "created_at", "default_card", "delinquent", "description", "email", "id", "model_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["account_balance", 0], ["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["default_card", "card_102Y2J1Cmf55uWiejglofO7j"], ["delinquent", false], ["description", "On September 10th, Test signed up for CA50."], ["email", "test@test.com"], ["id", "cus_123"], ["model_id", 1], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20146
+  (0.3ms) COMMIT
20147
+ StripeLocal::Customer Load (0.6ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
20148
+  (0.1ms) BEGIN
20149
+ SQL (1.0ms) INSERT INTO "stripe_local_transactions" ("amount", "available_on", "created", "created_at", "description", "fee", "id", "net", "source_id", "source_type", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["amount", -100], ["available_on", Mon, 07 Oct 2013 05:01:01 CDT -05:00], ["created", Mon, 30 Sep 2013 05:01:01 CDT -05:00], ["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["description", "a dollar for Don Atello"], ["fee", 25], ["id", "txn_2fOGkiBkDgpObU"], ["net", -125], ["source_id", "tr_2fOGfKABdHu3uf"], ["source_type", "transfer"], ["status", "available"], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20150
+  (1.5ms) COMMIT
20151
+  (0.1ms) BEGIN
20152
+ SQL (0.6ms) INSERT INTO "stripe_local_subscriptions" ("created_at", "current_period_end", "current_period_start", "customer_id", "plan_id", "start", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:40:11 CST -06:00], ["current_period_end", Wed, 11 Dec 2013 15:32:46 CST -06:00], ["current_period_start", Mon, 11 Nov 2013 15:32:46 CST -06:00], ["customer_id", "cus_2vIuZmAfWK89Yk"], ["plan_id", "HR99"], ["start", Mon, 11 Nov 2013 15:32:46 CST -06:00], ["status", "active"], ["updated_at", Sat, 30 Nov 2013 09:40:11 CST -06:00]]
20153
+  (0.3ms) COMMIT
20154
+  (0.2ms) BEGIN
20155
+ SQL (1.4ms) INSERT INTO "stripe_local_line_items" ("amount", "created_at", "id", "invoice_id", "period_end", "period_start", "plan_id", "proration", "quantity", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["amount", 9900], ["created_at", Sat, 30 Nov 2013 09:40:12 CST -06:00], ["id", "su_1bfTBoL3o7blah"], ["invoice_id", "in_2blahblahagain"], ["period_end", Thu, 06 Jun 2013 18:23:47 CDT -05:00], ["period_start", Tue, 07 May 2013 18:23:47 CDT -05:00], ["plan_id", "HR99"], ["proration", false], ["quantity", 1], ["updated_at", Sat, 30 Nov 2013 09:40:12 CST -06:00]]
20156
+  (0.3ms) COMMIT
20157
+  (0.1ms) BEGIN
20158
+ SQL (1.1ms) INSERT INTO "stripe_local_invoices" ("amount_due", "attempt_count", "attempted", "charge_id", "closed", "created_at", "customer_id", "date", "discount", "ending_balance", "id", "paid", "period_end", "period_start", "starting_balance", "subtotal", "total", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18) RETURNING "id" [["amount_due", 9900], ["attempt_count", 0], ["attempted", true], ["charge_id", "ch_blahblahblah"], ["closed", true], ["created_at", Sat, 30 Nov 2013 09:40:12 CST -06:00], ["customer_id", "cus_1A3zUmx7NpUgrT"], ["date", Tue, 07 May 2013 18:23:47 CDT -05:00], ["discount", nil], ["ending_balance", 0], ["id", "in_2blahblahagain"], ["paid", true], ["period_end", Tue, 07 May 2013 18:23:47 CDT -05:00], ["period_start", Tue, 07 May 2013 18:23:47 CDT -05:00], ["starting_balance", 0], ["subtotal", 9900], ["total", 9900], ["updated_at", Sat, 30 Nov 2013 09:40:12 CST -06:00]]
20159
+  (0.4ms) COMMIT
20160
+ StripeLocal::LineItem Load (0.6ms) SELECT "stripe_local_line_items".* FROM "stripe_local_line_items" WHERE "stripe_local_line_items"."invoice_id" = $1 [["invoice_id", "in_2blahblahagain"]]
20161
+ StripeLocal::Plan Load (0.3ms) SELECT "stripe_local_plans".* FROM "stripe_local_plans" WHERE "stripe_local_plans"."id" = 'New_Plan' LIMIT 1
20162
+  (0.2ms) BEGIN
20163
+ SQL (0.9ms) INSERT INTO "stripe_local_plans" ("amount", "created_at", "id", "interval", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", 2999], ["created_at", Sat, 30 Nov 2013 09:40:12 CST -06:00], ["id", "New_Plan"], ["interval", "month"], ["name", "New Plan"], ["updated_at", Sat, 30 Nov 2013 09:40:12 CST -06:00]]
20164
+  (0.3ms) COMMIT
20165
+  (0.1ms) BEGIN
20166
+ SQL (1.2ms) INSERT INTO "stripe_local_charges" ("amount", "card_id", "created", "created_at", "customer_id", "id", "invoice_id", "paid", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["amount", 9900], ["card_id", "cc_1eX7GyRo6wivEf"], ["created", Thu, 01 Aug 2013 18:08:14 CDT -05:00], ["created_at", Sat, 30 Nov 2013 09:40:12 CST -06:00], ["customer_id", "cus_1eX7onie2gq8m1"], ["id", "ch_2wiSyZQkZw8F50"], ["invoice_id", "in_2whTLSkV2ItHAv"], ["paid", true], ["transaction_id", "txn_2wiSFq1N6BTZTQ"], ["updated_at", Sat, 30 Nov 2013 09:40:12 CST -06:00]]
20167
+  (0.4ms) COMMIT
20168
+  (0.1ms) BEGIN
20169
+ SQL (1.1ms) INSERT INTO "stripe_local_transfers" ("amount", "created_at", "date", "description", "id", "status", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["amount", 100], ["created_at", Sat, 30 Nov 2013 09:40:12 CST -06:00], ["date", Mon, 30 Sep 2013 05:01:01 CDT -05:00], ["description", "a dollar for Don Atello"], ["id", "tr_2fOGfKABdHu3uf"], ["status", "paid"], ["transaction_id", "txn_2fOGkiBkDgpObU"], ["updated_at", Sat, 30 Nov 2013 09:40:12 CST -06:00]]
20170
+  (0.3ms) COMMIT
20171
+  (1.0ms) ALTER TABLE "stripe_local_discounts" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_customers" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_transfers" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_cards" DISABLE TRIGGER ALL;ALTER TABLE "clients" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_subscriptions" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_invoices" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_plans" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_line_items" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_charges" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_coupons" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_transactions" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_balances" DISABLE TRIGGER ALL
20172
+  (1.3ms) select table_name from information_schema.views where table_schema = 'dummy_test'
20173
+  (24.2ms) TRUNCATE TABLE "stripe_local_discounts", "stripe_local_customers", "stripe_local_transfers", "stripe_local_cards", "clients", "stripe_local_subscriptions", "stripe_local_invoices", "stripe_local_plans", "stripe_local_line_items", "stripe_local_charges", "stripe_local_coupons", "stripe_local_transactions", "stripe_local_balances" RESTART IDENTITY CASCADE;
20174
+  (0.9ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_discounts" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_transfers" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_cards" ENABLE TRIGGER ALL;ALTER TABLE "clients" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_customers" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_subscriptions" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_invoices" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_plans" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_line_items" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_charges" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_coupons" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_transactions" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_balances" ENABLE TRIGGER ALL
20175
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
20176
+  (0.1ms) BEGIN
20177
+ SQL (6.4ms) INSERT INTO "stripe_local_transactions" ("amount", "available_on", "created", "created_at", "description", "fee", "id", "net", "source_id", "source_type", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["amount", -100], ["available_on", Mon, 07 Oct 2013 05:01:01 CDT -05:00], ["created", Mon, 30 Sep 2013 05:01:01 CDT -05:00], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["description", "a dollar for Don Atello"], ["fee", 25], ["id", "txn_2fOGkiBkDgpObU"], ["net", -125], ["source_id", "tr_2fOGfKABdHu3uf"], ["source_type", "transfer"], ["status", "available"], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20178
+  (0.3ms) COMMIT
20179
+  (0.2ms) BEGIN
20180
+ SQL (1.0ms) INSERT INTO "stripe_local_line_items" ("amount", "created_at", "id", "invoice_id", "period_end", "period_start", "plan_id", "proration", "quantity", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["amount", 9900], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["id", "su_1bfTBoL3o7blah"], ["invoice_id", "in_2blahblahagain"], ["period_end", Thu, 06 Jun 2013 18:23:47 CDT -05:00], ["period_start", Tue, 07 May 2013 18:23:47 CDT -05:00], ["plan_id", "HR99"], ["proration", false], ["quantity", 1], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20181
+  (0.3ms) COMMIT
20182
+  (0.1ms) BEGIN
20183
+ SQL (1.1ms) INSERT INTO "stripe_local_invoices" ("amount_due", "attempt_count", "attempted", "charge_id", "closed", "created_at", "customer_id", "date", "discount", "ending_balance", "id", "paid", "period_end", "period_start", "starting_balance", "subtotal", "total", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18) RETURNING "id" [["amount_due", 9900], ["attempt_count", 0], ["attempted", true], ["charge_id", "ch_blahblahblah"], ["closed", true], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["customer_id", "cus_1A3zUmx7NpUgrT"], ["date", Tue, 07 May 2013 18:23:47 CDT -05:00], ["discount", nil], ["ending_balance", 0], ["id", "in_2blahblahagain"], ["paid", true], ["period_end", Tue, 07 May 2013 18:23:47 CDT -05:00], ["period_start", Tue, 07 May 2013 18:23:47 CDT -05:00], ["starting_balance", 0], ["subtotal", 9900], ["total", 9900], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20184
+  (0.4ms) COMMIT
20185
+ StripeLocal::LineItem Load (0.6ms) SELECT "stripe_local_line_items".* FROM "stripe_local_line_items" WHERE "stripe_local_line_items"."invoice_id" = $1 [["invoice_id", "in_2blahblahagain"]]
20186
+  (0.4ms) BEGIN
20187
+ SQL (1.2ms) INSERT INTO "stripe_local_charges" ("amount", "card_id", "created", "created_at", "customer_id", "id", "invoice_id", "paid", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["amount", 9900], ["card_id", "cc_1eX7GyRo6wivEf"], ["created", Thu, 01 Aug 2013 18:08:14 CDT -05:00], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["customer_id", "cus_1eX7onie2gq8m1"], ["id", "ch_2wiSyZQkZw8F50"], ["invoice_id", "in_2whTLSkV2ItHAv"], ["paid", true], ["transaction_id", "txn_2wiSFq1N6BTZTQ"], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20188
+  (0.3ms) COMMIT
20189
+  (0.2ms) BEGIN
20190
+ SQL (0.9ms) INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "id", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) [["brand", "Visa"], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["customer_id", "cus_2J7PZ8ncCbR10Z"], ["cvc_check", "pass"], ["exp_month", 1], ["exp_year", 2014], ["id", "cc_2J7Pscoh4jvFjJ"], ["last4", "4242"], ["name", "Connor Tumbleson"], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20191
+  (0.3ms) COMMIT
20192
+  (0.1ms) BEGIN
20193
+ SQL (1.2ms) INSERT INTO "stripe_local_subscriptions" ("created_at", "current_period_end", "current_period_start", "customer_id", "plan_id", "start", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["current_period_end", Wed, 11 Dec 2013 15:32:46 CST -06:00], ["current_period_start", Mon, 11 Nov 2013 15:32:46 CST -06:00], ["customer_id", "cus_2vIuZmAfWK89Yk"], ["plan_id", "HR99"], ["start", Mon, 11 Nov 2013 15:32:46 CST -06:00], ["status", "active"], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20194
+  (0.4ms) COMMIT
20195
+ StripeLocal::Plan Load (0.3ms) SELECT "stripe_local_plans".* FROM "stripe_local_plans" WHERE "stripe_local_plans"."id" = 'New_Plan' LIMIT 1
20196
+  (0.2ms) BEGIN
20197
+ SQL (1.0ms) INSERT INTO "stripe_local_plans" ("amount", "created_at", "id", "interval", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", 2999], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["id", "New_Plan"], ["interval", "month"], ["name", "New Plan"], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20198
+  (0.3ms) COMMIT
20199
+  (0.1ms) BEGIN
20200
+ SQL (1.6ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20201
+  (0.4ms) COMMIT
20202
+  (0.2ms) BEGIN
20203
+ SQL (0.7ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20204
+  (0.3ms) COMMIT
20205
+  (0.4ms) SELECT COUNT(*) FROM "stripe_local_balances"
20206
+  (0.1ms) BEGIN
20207
+ SQL (0.5ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 39800], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["pending", 0], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20208
+  (0.3ms) COMMIT
20209
+  (0.2ms) SELECT COUNT(*) FROM "stripe_local_balances"
20210
+  (0.1ms) BEGIN
20211
+ SQL (0.6ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20212
+  (0.3ms) COMMIT
20213
+  (0.1ms) BEGIN
20214
+ SQL (0.5ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20215
+  (0.3ms) COMMIT
20216
+  (0.1ms) BEGIN
20217
+ SQL (0.6ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20218
+  (0.3ms) COMMIT
20219
+  (0.1ms) BEGIN
20220
+ SQL (0.5ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20221
+  (0.3ms) COMMIT
20222
+  (0.3ms) SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
20223
+  (0.1ms) BEGIN
20224
+ SQL (0.6ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20225
+  (0.3ms) COMMIT
20226
+  (0.1ms) BEGIN
20227
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20228
+  (0.3ms) COMMIT
20229
+  (0.2ms) SELECT "stripe_local_balances"."pending" FROM "stripe_local_balances"
20230
+  (0.1ms) BEGIN
20231
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20232
+  (0.3ms) COMMIT
20233
+  (0.1ms) BEGIN
20234
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20235
+  (0.3ms) COMMIT
20236
+  (0.1ms) SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
20237
+  (0.1ms) BEGIN
20238
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20239
+  (0.3ms) COMMIT
20240
+  (0.0ms) BEGIN
20241
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20242
+  (0.3ms) COMMIT
20243
+  (0.1ms) BEGIN
20244
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20245
+  (0.3ms) COMMIT
20246
+  (0.1ms) BEGIN
20247
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20248
+  (0.3ms) COMMIT
20249
+  (0.1ms) SELECT COUNT(*) FROM "stripe_local_balances"
20250
+ StripeLocal::Balance Load (0.3ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20251
+ StripeLocal::Balance Load (0.2ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20252
+ SQL (0.5ms) UPDATE "stripe_local_balances" SET "updated_at" = '2013-12-01 15:40:15.830886' WHERE "stripe_local_balances"."id" = 15
20253
+  (0.2ms) SELECT COUNT(*) FROM "stripe_local_balances"
20254
+ StripeLocal::Balance Load (0.2ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20255
+  (0.1ms) BEGIN
20256
+ SQL (1.0ms) INSERT INTO "stripe_local_transfers" ("amount", "created_at", "date", "description", "id", "status", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["amount", 100], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["date", Mon, 30 Sep 2013 05:01:01 CDT -05:00], ["description", "a dollar for Don Atello"], ["id", "tr_2fOGfKABdHu3uf"], ["status", "paid"], ["transaction_id", "txn_2fOGkiBkDgpObU"], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20257
+  (0.4ms) COMMIT
20258
+ StripeLocal::Customer Load (0.4ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20259
+  (0.1ms) BEGIN
20260
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20261
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20262
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20263
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20264
+ StripeLocal::Customer Load (0.1ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20265
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20266
+ StripeLocal::Customer Load (0.1ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20267
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20268
+ SQL (0.7ms) INSERT INTO "clients" ("created_at", "email", "name", "password", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["email", "test@test.com"], ["name", "Test Case"], ["password", "password"], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20269
+  (0.3ms) COMMIT
20270
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
20271
+  (0.1ms) BEGIN
20272
+ SQL (0.4ms) INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "id", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) [["brand", "Visa"], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["customer_id", "cus_123"], ["cvc_check", "pass"], ["exp_month", 8], ["exp_year", 2014], ["id", "card_102Y2J1Cmf55uWiejglofO7j"], ["last4", "4242"], ["name", "Test Case"], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20273
+  (0.3ms) COMMIT
20274
+  (0.1ms) BEGIN
20275
+ SQL (0.4ms) INSERT INTO "stripe_local_subscriptions" ("created_at", "current_period_end", "current_period_start", "customer_id", "plan_id", "start", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["current_period_end", Thu, 10 Oct 2013 13:52:04 CDT -05:00], ["current_period_start", Tue, 10 Sep 2013 13:52:04 CDT -05:00], ["customer_id", "cus_123"], ["plan_id", "GIN100"], ["start", Tue, 10 Sep 2013 13:52:04 CDT -05:00], ["status", "active"], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20276
+  (0.3ms) COMMIT
20277
+  (0.3ms) BEGIN
20278
+ SQL (1.1ms) INSERT INTO "stripe_local_customers" ("account_balance", "created_at", "default_card", "delinquent", "description", "email", "id", "model_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["account_balance", 0], ["created_at", Sat, 30 Nov 2013 09:40:15 CST -06:00], ["default_card", "card_102Y2J1Cmf55uWiejglofO7j"], ["delinquent", false], ["description", "On September 10th, Test signed up for CA50."], ["email", "test@test.com"], ["id", "cus_123"], ["model_id", 1], ["updated_at", Sat, 30 Nov 2013 09:40:15 CST -06:00]]
20279
+  (0.4ms) COMMIT
20280
+ StripeLocal::Customer Load (0.3ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
20281
+  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_discounts" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_transfers" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_cards" DISABLE TRIGGER ALL;ALTER TABLE "clients" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_customers" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_subscriptions" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_invoices" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_plans" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_line_items" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_charges" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_coupons" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_transactions" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_balances" DISABLE TRIGGER ALL
20282
+  (1.2ms) select table_name from information_schema.views where table_schema = 'dummy_test'
20283
+  (21.2ms) TRUNCATE TABLE "stripe_local_discounts", "stripe_local_transfers", "stripe_local_cards", "clients", "stripe_local_customers", "stripe_local_subscriptions", "stripe_local_invoices", "stripe_local_plans", "stripe_local_line_items", "stripe_local_charges", "stripe_local_coupons", "stripe_local_transactions", "stripe_local_balances" RESTART IDENTITY CASCADE;
20284
+  (0.9ms) ALTER TABLE "stripe_local_discounts" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_cards" ENABLE TRIGGER ALL;ALTER TABLE "clients" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_customers" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_transfers" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_subscriptions" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_invoices" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_plans" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_line_items" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_charges" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_coupons" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_transactions" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_balances" ENABLE TRIGGER ALL
20285
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
20286
+  (0.1ms) BEGIN
20287
+ SQL (6.4ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:46 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:46 CST -06:00]]
20288
+  (0.3ms) COMMIT
20289
+  (0.1ms) BEGIN
20290
+ SQL (0.4ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:46 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:46 CST -06:00]]
20291
+  (0.3ms) COMMIT
20292
+  (0.1ms) BEGIN
20293
+ SQL (0.4ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:46 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:46 CST -06:00]]
20294
+  (0.3ms) COMMIT
20295
+  (0.1ms) BEGIN
20296
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:46 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:46 CST -06:00]]
20297
+  (0.3ms) COMMIT
20298
+  (0.3ms) SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
20299
+  (0.1ms) BEGIN
20300
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:46 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:46 CST -06:00]]
20301
+  (0.3ms) COMMIT
20302
+  (0.1ms) BEGIN
20303
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:46 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:46 CST -06:00]]
20304
+  (0.2ms) COMMIT
20305
+  (0.1ms) SELECT "stripe_local_balances"."pending" FROM "stripe_local_balances"
20306
+  (0.1ms) BEGIN
20307
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:46 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:46 CST -06:00]]
20308
+  (0.3ms) COMMIT
20309
+  (0.1ms) BEGIN
20310
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:46 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:46 CST -06:00]]
20311
+  (0.2ms) COMMIT
20312
+  (0.1ms) BEGIN
20313
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:46 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:46 CST -06:00]]
20314
+  (0.2ms) COMMIT
20315
+  (0.1ms) BEGIN
20316
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:46 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:46 CST -06:00]]
20317
+  (0.2ms) COMMIT
20318
+  (0.2ms) SELECT COUNT(*) FROM "stripe_local_balances"
20319
+  (0.0ms) BEGIN
20320
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 39800], ["created_at", Sat, 30 Nov 2013 09:40:46 CST -06:00], ["pending", 0], ["updated_at", Sat, 30 Nov 2013 09:40:46 CST -06:00]]
20321
+  (0.2ms) COMMIT
20322
+  (0.1ms) SELECT COUNT(*) FROM "stripe_local_balances"
20323
+  (0.1ms) BEGIN
20324
+ SQL (0.4ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:46 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:46 CST -06:00]]
20325
+  (0.3ms) COMMIT
20326
+  (0.1ms) BEGIN
20327
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:46 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:46 CST -06:00]]
20328
+  (0.3ms) COMMIT
20329
+  (0.1ms) SELECT COUNT(*) FROM "stripe_local_balances"
20330
+ StripeLocal::Balance Load (0.3ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20331
+ StripeLocal::Balance Load (0.2ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20332
+ SQL (0.4ms) UPDATE "stripe_local_balances" SET "updated_at" = '2013-12-01 15:40:47.003270' WHERE "stripe_local_balances"."id" = 13
20333
+  (0.2ms) SELECT COUNT(*) FROM "stripe_local_balances"
20334
+ StripeLocal::Balance Load (0.2ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20335
+  (0.1ms) BEGIN
20336
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:40:47 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:40:47 CST -06:00]]
20337
+  (0.3ms) COMMIT
20338
+  (0.1ms) BEGIN
20339
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:40:47 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:40:47 CST -06:00]]
20340
+  (0.2ms) COMMIT
20341
+  (0.1ms) SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
20342
+  (0.1ms) BEGIN
20343
+ SQL (1.1ms) INSERT INTO "stripe_local_transactions" ("amount", "available_on", "created", "created_at", "description", "fee", "id", "net", "source_id", "source_type", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["amount", -100], ["available_on", Mon, 07 Oct 2013 05:01:01 CDT -05:00], ["created", Mon, 30 Sep 2013 05:01:01 CDT -05:00], ["created_at", Sat, 30 Nov 2013 09:40:47 CST -06:00], ["description", "a dollar for Don Atello"], ["fee", 25], ["id", "txn_2fOGkiBkDgpObU"], ["net", -125], ["source_id", "tr_2fOGfKABdHu3uf"], ["source_type", "transfer"], ["status", "available"], ["updated_at", Sat, 30 Nov 2013 09:40:47 CST -06:00]]
20344
+  (0.2ms) COMMIT
20345
+  (0.2ms) BEGIN
20346
+ SQL (1.0ms) INSERT INTO "stripe_local_line_items" ("amount", "created_at", "id", "invoice_id", "period_end", "period_start", "plan_id", "proration", "quantity", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["amount", 9900], ["created_at", Sat, 30 Nov 2013 09:40:47 CST -06:00], ["id", "su_1bfTBoL3o7blah"], ["invoice_id", "in_2blahblahagain"], ["period_end", Thu, 06 Jun 2013 18:23:47 CDT -05:00], ["period_start", Tue, 07 May 2013 18:23:47 CDT -05:00], ["plan_id", "HR99"], ["proration", false], ["quantity", 1], ["updated_at", Sat, 30 Nov 2013 09:40:47 CST -06:00]]
20347
+  (0.3ms) COMMIT
20348
+  (0.2ms) BEGIN
20349
+ SQL (1.5ms) INSERT INTO "stripe_local_invoices" ("amount_due", "attempt_count", "attempted", "charge_id", "closed", "created_at", "customer_id", "date", "discount", "ending_balance", "id", "paid", "period_end", "period_start", "starting_balance", "subtotal", "total", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18) RETURNING "id" [["amount_due", 9900], ["attempt_count", 0], ["attempted", true], ["charge_id", "ch_blahblahblah"], ["closed", true], ["created_at", Sat, 30 Nov 2013 09:40:47 CST -06:00], ["customer_id", "cus_1A3zUmx7NpUgrT"], ["date", Tue, 07 May 2013 18:23:47 CDT -05:00], ["discount", nil], ["ending_balance", 0], ["id", "in_2blahblahagain"], ["paid", true], ["period_end", Tue, 07 May 2013 18:23:47 CDT -05:00], ["period_start", Tue, 07 May 2013 18:23:47 CDT -05:00], ["starting_balance", 0], ["subtotal", 9900], ["total", 9900], ["updated_at", Sat, 30 Nov 2013 09:40:47 CST -06:00]]
20350
+  (0.3ms) COMMIT
20351
+ StripeLocal::LineItem Load (0.7ms) SELECT "stripe_local_line_items".* FROM "stripe_local_line_items" WHERE "stripe_local_line_items"."invoice_id" = $1 [["invoice_id", "in_2blahblahagain"]]
20352
+  (0.2ms) BEGIN
20353
+ SQL (1.0ms) INSERT INTO "stripe_local_transfers" ("amount", "created_at", "date", "description", "id", "status", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["amount", 100], ["created_at", Sat, 30 Nov 2013 09:40:47 CST -06:00], ["date", Mon, 30 Sep 2013 05:01:01 CDT -05:00], ["description", "a dollar for Don Atello"], ["id", "tr_2fOGfKABdHu3uf"], ["status", "paid"], ["transaction_id", "txn_2fOGkiBkDgpObU"], ["updated_at", Sat, 30 Nov 2013 09:40:47 CST -06:00]]
20354
+  (0.3ms) COMMIT
20355
+  (0.1ms) BEGIN
20356
+ SQL (1.3ms) INSERT INTO "stripe_local_charges" ("amount", "card_id", "created", "created_at", "customer_id", "id", "invoice_id", "paid", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["amount", 9900], ["card_id", "cc_1eX7GyRo6wivEf"], ["created", Thu, 01 Aug 2013 18:08:14 CDT -05:00], ["created_at", Sat, 30 Nov 2013 09:40:47 CST -06:00], ["customer_id", "cus_1eX7onie2gq8m1"], ["id", "ch_2wiSyZQkZw8F50"], ["invoice_id", "in_2whTLSkV2ItHAv"], ["paid", true], ["transaction_id", "txn_2wiSFq1N6BTZTQ"], ["updated_at", Sat, 30 Nov 2013 09:40:47 CST -06:00]]
20357
+  (0.3ms) COMMIT
20358
+ StripeLocal::Plan Load (0.3ms) SELECT "stripe_local_plans".* FROM "stripe_local_plans" WHERE "stripe_local_plans"."id" = 'New_Plan' LIMIT 1
20359
+  (0.2ms) BEGIN
20360
+ SQL (0.9ms) INSERT INTO "stripe_local_plans" ("amount", "created_at", "id", "interval", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", 2999], ["created_at", Sat, 30 Nov 2013 09:40:47 CST -06:00], ["id", "New_Plan"], ["interval", "month"], ["name", "New Plan"], ["updated_at", Sat, 30 Nov 2013 09:40:47 CST -06:00]]
20361
+  (0.3ms) COMMIT
20362
+  (0.2ms) BEGIN
20363
+ SQL (1.5ms) INSERT INTO "stripe_local_subscriptions" ("created_at", "current_period_end", "current_period_start", "customer_id", "plan_id", "start", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:40:47 CST -06:00], ["current_period_end", Wed, 11 Dec 2013 15:32:46 CST -06:00], ["current_period_start", Mon, 11 Nov 2013 15:32:46 CST -06:00], ["customer_id", "cus_2vIuZmAfWK89Yk"], ["plan_id", "HR99"], ["start", Mon, 11 Nov 2013 15:32:46 CST -06:00], ["status", "active"], ["updated_at", Sat, 30 Nov 2013 09:40:47 CST -06:00]]
20364
+  (0.3ms) COMMIT
20365
+  (0.2ms) BEGIN
20366
+ SQL (1.1ms) INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "id", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) [["brand", "Visa"], ["created_at", Sat, 30 Nov 2013 09:40:47 CST -06:00], ["customer_id", "cus_2J7PZ8ncCbR10Z"], ["cvc_check", "pass"], ["exp_month", 1], ["exp_year", 2014], ["id", "cc_2J7Pscoh4jvFjJ"], ["last4", "4242"], ["name", "Connor Tumbleson"], ["updated_at", Sat, 30 Nov 2013 09:40:47 CST -06:00]]
20367
+  (0.3ms) COMMIT
20368
+ StripeLocal::Customer Load (0.4ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20369
+  (0.2ms) BEGIN
20370
+ StripeLocal::Customer Load (0.6ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20371
+ StripeLocal::Customer Load (0.5ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20372
+ StripeLocal::Customer Load (0.3ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20373
+ StripeLocal::Customer Load (0.3ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20374
+ StripeLocal::Customer Load (0.3ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20375
+ StripeLocal::Customer Load (0.3ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20376
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20377
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20378
+ SQL (1.1ms) INSERT INTO "clients" ("created_at", "email", "name", "password", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:40:47 CST -06:00], ["email", "test@test.com"], ["name", "Test Case"], ["password", "password"], ["updated_at", Sat, 30 Nov 2013 09:40:47 CST -06:00]]
20379
+  (0.4ms) COMMIT
20380
+ StripeLocal::Customer Load (0.4ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
20381
+  (0.1ms) BEGIN
20382
+ SQL (0.4ms) INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "id", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) [["brand", "Visa"], ["created_at", Sat, 30 Nov 2013 09:40:47 CST -06:00], ["customer_id", "cus_123"], ["cvc_check", "pass"], ["exp_month", 8], ["exp_year", 2014], ["id", "card_102Y2J1Cmf55uWiejglofO7j"], ["last4", "4242"], ["name", "Test Case"], ["updated_at", Sat, 30 Nov 2013 09:40:47 CST -06:00]]
20383
+  (0.3ms) COMMIT
20384
+  (0.1ms) BEGIN
20385
+ SQL (0.5ms) INSERT INTO "stripe_local_subscriptions" ("created_at", "current_period_end", "current_period_start", "customer_id", "plan_id", "start", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:40:47 CST -06:00], ["current_period_end", Thu, 10 Oct 2013 13:52:04 CDT -05:00], ["current_period_start", Tue, 10 Sep 2013 13:52:04 CDT -05:00], ["customer_id", "cus_123"], ["plan_id", "GIN100"], ["start", Tue, 10 Sep 2013 13:52:04 CDT -05:00], ["status", "active"], ["updated_at", Sat, 30 Nov 2013 09:40:47 CST -06:00]]
20386
+  (0.2ms) COMMIT
20387
+  (0.1ms) BEGIN
20388
+ SQL (0.9ms) INSERT INTO "stripe_local_customers" ("account_balance", "created_at", "default_card", "delinquent", "description", "email", "id", "model_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["account_balance", 0], ["created_at", Sat, 30 Nov 2013 09:40:47 CST -06:00], ["default_card", "card_102Y2J1Cmf55uWiejglofO7j"], ["delinquent", false], ["description", "On September 10th, Test signed up for CA50."], ["email", "test@test.com"], ["id", "cus_123"], ["model_id", 1], ["updated_at", Sat, 30 Nov 2013 09:40:47 CST -06:00]]
20389
+  (0.3ms) COMMIT
20390
+ StripeLocal::Customer Load (0.3ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
20391
+ StripeLocal::Subscription Load (1.0ms) SELECT "stripe_local_subscriptions".* FROM "stripe_local_subscriptions" WHERE "stripe_local_subscriptions"."customer_id" = $1 ORDER BY "stripe_local_subscriptions"."id" ASC LIMIT 1 [["customer_id", "cus_123"]]
20392
+  (1.0ms) ALTER TABLE "stripe_local_discounts" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_cards" DISABLE TRIGGER ALL;ALTER TABLE "clients" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_customers" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_transfers" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_subscriptions" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_invoices" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_plans" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_line_items" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_charges" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_coupons" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_transactions" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_balances" DISABLE TRIGGER ALL
20393
+  (2.2ms) select table_name from information_schema.views where table_schema = 'dummy_test'
20394
+  (21.4ms) TRUNCATE TABLE "stripe_local_discounts", "stripe_local_cards", "clients", "stripe_local_customers", "stripe_local_transfers", "stripe_local_subscriptions", "stripe_local_invoices", "stripe_local_plans", "stripe_local_line_items", "stripe_local_charges", "stripe_local_coupons", "stripe_local_transactions", "stripe_local_balances" RESTART IDENTITY CASCADE;
20395
+  (0.9ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_discounts" ENABLE TRIGGER ALL;ALTER TABLE "clients" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_customers" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_transfers" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_cards" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_subscriptions" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_invoices" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_plans" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_line_items" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_charges" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_coupons" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_transactions" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_balances" ENABLE TRIGGER ALL
20396
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
20397
+  (0.1ms) BEGIN
20398
+ SQL (4.5ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20399
+  (0.8ms) COMMIT
20400
+  (0.2ms) BEGIN
20401
+ SQL (0.6ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20402
+  (0.4ms) COMMIT
20403
+  (0.3ms) SELECT COUNT(*) FROM "stripe_local_balances"
20404
+  (0.1ms) BEGIN
20405
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 39800], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["pending", 0], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20406
+  (0.3ms) COMMIT
20407
+  (0.2ms) SELECT COUNT(*) FROM "stripe_local_balances"
20408
+  (0.1ms) BEGIN
20409
+ SQL (0.4ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20410
+  (0.3ms) COMMIT
20411
+  (0.1ms) BEGIN
20412
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20413
+  (0.3ms) COMMIT
20414
+  (0.2ms) SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
20415
+  (0.1ms) BEGIN
20416
+ SQL (0.4ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20417
+  (0.3ms) COMMIT
20418
+  (0.1ms) BEGIN
20419
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20420
+  (0.2ms) COMMIT
20421
+  (0.1ms) SELECT COUNT(*) FROM "stripe_local_balances"
20422
+ StripeLocal::Balance Load (0.3ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20423
+ StripeLocal::Balance Load (0.2ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20424
+ SQL (0.4ms) UPDATE "stripe_local_balances" SET "updated_at" = '2013-12-01 15:47:11.242180' WHERE "stripe_local_balances"."id" = 7
20425
+  (0.2ms) SELECT COUNT(*) FROM "stripe_local_balances"
20426
+ StripeLocal::Balance Load (0.2ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20427
+  (0.1ms) BEGIN
20428
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20429
+  (0.3ms) COMMIT
20430
+  (0.1ms) BEGIN
20431
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20432
+  (0.2ms) COMMIT
20433
+  (0.1ms) BEGIN
20434
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20435
+  (0.2ms) COMMIT
20436
+  (0.0ms) BEGIN
20437
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20438
+  (0.2ms) COMMIT
20439
+  (0.1ms) BEGIN
20440
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20441
+  (0.2ms) COMMIT
20442
+  (0.0ms) BEGIN
20443
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20444
+  (0.2ms) COMMIT
20445
+  (0.1ms) SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
20446
+  (0.1ms) BEGIN
20447
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20448
+  (0.2ms) COMMIT
20449
+  (0.1ms) BEGIN
20450
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20451
+  (0.2ms) COMMIT
20452
+  (0.1ms) SELECT "stripe_local_balances"."pending" FROM "stripe_local_balances"
20453
+  (0.2ms) BEGIN
20454
+ SQL (1.2ms) INSERT INTO "stripe_local_transactions" ("amount", "available_on", "created", "created_at", "description", "fee", "id", "net", "source_id", "source_type", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["amount", -100], ["available_on", Mon, 07 Oct 2013 05:01:01 CDT -05:00], ["created", Mon, 30 Sep 2013 05:01:01 CDT -05:00], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["description", "a dollar for Don Atello"], ["fee", 25], ["id", "txn_2fOGkiBkDgpObU"], ["net", -125], ["source_id", "tr_2fOGfKABdHu3uf"], ["source_type", "transfer"], ["status", "available"], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20455
+  (0.3ms) COMMIT
20456
+  (0.2ms) BEGIN
20457
+ SQL (1.2ms) INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "id", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["brand", "Visa"], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["customer_id", "cus_2J7PZ8ncCbR10Z"], ["cvc_check", "pass"], ["exp_month", 1], ["exp_year", 2014], ["id", "cc_2J7Pscoh4jvFjJ"], ["last4", "4242"], ["name", "Connor Tumbleson"], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20458
+  (0.3ms) COMMIT
20459
+  (0.2ms) BEGIN
20460
+ SQL (1.4ms) INSERT INTO "stripe_local_transfers" ("amount", "created_at", "date", "description", "id", "status", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["amount", 100], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["date", Mon, 30 Sep 2013 05:01:01 CDT -05:00], ["description", "a dollar for Don Atello"], ["id", "tr_2fOGfKABdHu3uf"], ["status", "paid"], ["transaction_id", "txn_2fOGkiBkDgpObU"], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20461
+  (0.3ms) COMMIT
20462
+ StripeLocal::Customer Load (0.4ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20463
+  (0.1ms) BEGIN
20464
+ StripeLocal::Customer Load (0.3ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20465
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20466
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20467
+ StripeLocal::Customer Load (0.1ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20468
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20469
+ StripeLocal::Customer Load (0.3ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20470
+ StripeLocal::Customer Load (0.1ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20471
+ StripeLocal::Customer Load (0.1ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20472
+ SQL (0.8ms) INSERT INTO "clients" ("created_at", "email", "name", "password", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["email", "test@test.com"], ["name", "Test Case"], ["password", "password"], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20473
+  (0.3ms) COMMIT
20474
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
20475
+  (0.1ms) BEGIN
20476
+ SQL (0.4ms) INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "id", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["brand", "Visa"], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["customer_id", "cus_123"], ["cvc_check", "pass"], ["exp_month", 8], ["exp_year", 2014], ["id", "card_102Y2J1Cmf55uWiejglofO7j"], ["last4", "4242"], ["name", "Test Case"], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20477
+  (0.3ms) COMMIT
20478
+  (0.1ms) BEGIN
20479
+ SQL (1.1ms) INSERT INTO "stripe_local_subscriptions" ("created_at", "current_period_end", "current_period_start", "customer_id", "plan_id", "start", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["current_period_end", Thu, 10 Oct 2013 13:52:04 CDT -05:00], ["current_period_start", Tue, 10 Sep 2013 13:52:04 CDT -05:00], ["customer_id", "cus_123"], ["plan_id", "GIN100"], ["start", Tue, 10 Sep 2013 13:52:04 CDT -05:00], ["status", "active"], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20480
+  (0.4ms) COMMIT
20481
+  (0.1ms) BEGIN
20482
+ SQL (0.8ms) INSERT INTO "stripe_local_customers" ("account_balance", "created_at", "default_card", "delinquent", "description", "email", "id", "model_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["account_balance", 0], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["default_card", "card_102Y2J1Cmf55uWiejglofO7j"], ["delinquent", false], ["description", "On September 10th, Test signed up for CA50."], ["email", "test@test.com"], ["id", "cus_123"], ["model_id", 1], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20483
+  (0.3ms) COMMIT
20484
+ StripeLocal::Customer Load (0.3ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
20485
+ StripeLocal::Subscription Load (0.9ms) SELECT "stripe_local_subscriptions".* FROM "stripe_local_subscriptions" WHERE "stripe_local_subscriptions"."customer_id" = $1 ORDER BY "stripe_local_subscriptions"."id" ASC LIMIT 1 [["customer_id", "cus_123"]]
20486
+  (0.1ms) BEGIN
20487
+ SQL (1.0ms) INSERT INTO "stripe_local_line_items" ("amount", "created_at", "id", "invoice_id", "period_end", "period_start", "plan_id", "proration", "quantity", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["amount", 9900], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["id", "su_1bfTBoL3o7blah"], ["invoice_id", "in_2blahblahagain"], ["period_end", Thu, 06 Jun 2013 18:23:47 CDT -05:00], ["period_start", Tue, 07 May 2013 18:23:47 CDT -05:00], ["plan_id", "HR99"], ["proration", false], ["quantity", 1], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20488
+  (0.3ms) COMMIT
20489
+  (0.2ms) BEGIN
20490
+ SQL (1.2ms) INSERT INTO "stripe_local_invoices" ("amount_due", "attempt_count", "attempted", "charge_id", "closed", "created_at", "customer_id", "date", "discount", "ending_balance", "id", "paid", "period_end", "period_start", "starting_balance", "subtotal", "total", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18) RETURNING "id" [["amount_due", 9900], ["attempt_count", 0], ["attempted", true], ["charge_id", "ch_blahblahblah"], ["closed", true], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["customer_id", "cus_1A3zUmx7NpUgrT"], ["date", Tue, 07 May 2013 18:23:47 CDT -05:00], ["discount", nil], ["ending_balance", 0], ["id", "in_2blahblahagain"], ["paid", true], ["period_end", Tue, 07 May 2013 18:23:47 CDT -05:00], ["period_start", Tue, 07 May 2013 18:23:47 CDT -05:00], ["starting_balance", 0], ["subtotal", 9900], ["total", 9900], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20491
+  (0.3ms) COMMIT
20492
+ StripeLocal::LineItem Load (0.7ms) SELECT "stripe_local_line_items".* FROM "stripe_local_line_items" WHERE "stripe_local_line_items"."invoice_id" = $1 [["invoice_id", "in_2blahblahagain"]]
20493
+ StripeLocal::Plan Load (0.3ms) SELECT "stripe_local_plans".* FROM "stripe_local_plans" WHERE "stripe_local_plans"."id" = 'New_Plan' LIMIT 1
20494
+  (0.1ms) BEGIN
20495
+ SQL (0.7ms) INSERT INTO "stripe_local_plans" ("amount", "created_at", "id", "interval", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", 2999], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["id", "New_Plan"], ["interval", "month"], ["name", "New Plan"], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20496
+  (0.4ms) COMMIT
20497
+  (0.2ms) BEGIN
20498
+ SQL (1.2ms) INSERT INTO "stripe_local_charges" ("amount", "card_id", "created", "created_at", "customer_id", "id", "invoice_id", "paid", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["amount", 9900], ["card_id", "cc_1eX7GyRo6wivEf"], ["created", Thu, 01 Aug 2013 18:08:14 CDT -05:00], ["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["customer_id", "cus_1eX7onie2gq8m1"], ["id", "ch_2wiSyZQkZw8F50"], ["invoice_id", "in_2whTLSkV2ItHAv"], ["paid", true], ["transaction_id", "txn_2wiSFq1N6BTZTQ"], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20499
+  (0.3ms) COMMIT
20500
+  (0.1ms) BEGIN
20501
+ SQL (0.5ms) INSERT INTO "stripe_local_subscriptions" ("created_at", "current_period_end", "current_period_start", "customer_id", "plan_id", "start", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:47:11 CST -06:00], ["current_period_end", Wed, 11 Dec 2013 15:32:46 CST -06:00], ["current_period_start", Mon, 11 Nov 2013 15:32:46 CST -06:00], ["customer_id", "cus_2vIuZmAfWK89Yk"], ["plan_id", "HR99"], ["start", Mon, 11 Nov 2013 15:32:46 CST -06:00], ["status", "active"], ["updated_at", Sat, 30 Nov 2013 09:47:11 CST -06:00]]
20502
+  (0.3ms) COMMIT
20503
+  (0.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_discounts" DISABLE TRIGGER ALL;ALTER TABLE "clients" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_customers" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_transfers" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_cards" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_subscriptions" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_invoices" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_plans" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_line_items" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_charges" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_coupons" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_transactions" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_balances" DISABLE TRIGGER ALL
20504
+  (1.6ms) select table_name from information_schema.views where table_schema = 'dummy_test'
20505
+  (23.5ms) TRUNCATE TABLE "stripe_local_discounts", "clients", "stripe_local_customers", "stripe_local_transfers", "stripe_local_cards", "stripe_local_subscriptions", "stripe_local_invoices", "stripe_local_plans", "stripe_local_line_items", "stripe_local_charges", "stripe_local_coupons", "stripe_local_transactions", "stripe_local_balances" RESTART IDENTITY CASCADE;
20506
+  (0.9ms) ALTER TABLE "stripe_local_discounts" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_customers" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_transfers" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_cards" ENABLE TRIGGER ALL;ALTER TABLE "clients" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_subscriptions" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_invoices" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_plans" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_line_items" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_charges" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_coupons" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_transactions" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_balances" ENABLE TRIGGER ALL
20507
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
20508
+ StripeLocal::Plan Load (0.4ms) SELECT "stripe_local_plans".* FROM "stripe_local_plans" WHERE "stripe_local_plans"."id" = 'New_Plan' LIMIT 1
20509
+  (0.2ms) BEGIN
20510
+ SQL (9.8ms) INSERT INTO "stripe_local_plans" ("amount", "created_at", "id", "interval", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", 2999], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["id", "New_Plan"], ["interval", "month"], ["name", "New Plan"], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20511
+  (0.3ms) COMMIT
20512
+  (0.2ms) BEGIN
20513
+ SQL (1.2ms) INSERT INTO "stripe_local_charges" ("amount", "card_id", "created", "created_at", "customer_id", "id", "invoice_id", "paid", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["amount", 9900], ["card_id", "cc_1eX7GyRo6wivEf"], ["created", Thu, 01 Aug 2013 18:08:14 CDT -05:00], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["customer_id", "cus_1eX7onie2gq8m1"], ["id", "ch_2wiSyZQkZw8F50"], ["invoice_id", "in_2whTLSkV2ItHAv"], ["paid", true], ["transaction_id", "txn_2wiSFq1N6BTZTQ"], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20514
+  (0.4ms) COMMIT
20515
+  (0.1ms) BEGIN
20516
+ SQL (0.8ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20517
+  (0.2ms) COMMIT
20518
+  (0.1ms) BEGIN
20519
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20520
+  (0.3ms) COMMIT
20521
+  (0.2ms) SELECT COUNT(*) FROM "stripe_local_balances"
20522
+ StripeLocal::Balance Load (0.3ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20523
+ StripeLocal::Balance Load (0.2ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20524
+ SQL (0.4ms) UPDATE "stripe_local_balances" SET "updated_at" = '2013-12-01 15:47:51.391659' WHERE "stripe_local_balances"."id" = 2
20525
+  (0.1ms) SELECT COUNT(*) FROM "stripe_local_balances"
20526
+ StripeLocal::Balance Load (0.2ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20527
+  (0.1ms) BEGIN
20528
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20529
+  (0.3ms) COMMIT
20530
+  (0.1ms) BEGIN
20531
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20532
+  (0.2ms) COMMIT
20533
+  (0.1ms) BEGIN
20534
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20535
+  (0.3ms) COMMIT
20536
+  (0.1ms) BEGIN
20537
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20538
+  (0.2ms) COMMIT
20539
+  (0.1ms) SELECT COUNT(*) FROM "stripe_local_balances"
20540
+  (0.0ms) BEGIN
20541
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 39800], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["pending", 0], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20542
+  (0.2ms) COMMIT
20543
+  (0.1ms) SELECT COUNT(*) FROM "stripe_local_balances"
20544
+  (0.1ms) BEGIN
20545
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20546
+  (0.2ms) COMMIT
20547
+  (0.1ms) BEGIN
20548
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20549
+  (0.2ms) COMMIT
20550
+  (0.1ms) BEGIN
20551
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20552
+  (0.3ms) COMMIT
20553
+  (0.1ms) BEGIN
20554
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20555
+  (0.3ms) COMMIT
20556
+  (0.3ms) SELECT "stripe_local_balances"."pending" FROM "stripe_local_balances"
20557
+  (0.1ms) BEGIN
20558
+ SQL (0.4ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20559
+  (0.3ms) COMMIT
20560
+  (0.1ms) BEGIN
20561
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20562
+  (0.3ms) COMMIT
20563
+  (0.2ms) SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
20564
+  (0.1ms) BEGIN
20565
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20566
+  (0.3ms) COMMIT
20567
+  (0.1ms) BEGIN
20568
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20569
+  (0.2ms) COMMIT
20570
+  (0.1ms) SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
20571
+  (0.2ms) BEGIN
20572
+ SQL (1.3ms) INSERT INTO "stripe_local_transfers" ("amount", "created_at", "date", "description", "id", "status", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["amount", 100], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["date", Mon, 30 Sep 2013 05:01:01 CDT -05:00], ["description", "a dollar for Don Atello"], ["id", "tr_2fOGfKABdHu3uf"], ["status", "paid"], ["transaction_id", "txn_2fOGkiBkDgpObU"], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20573
+  (0.2ms) COMMIT
20574
+  (0.1ms) BEGIN
20575
+ SQL (1.1ms) INSERT INTO "stripe_local_transactions" ("amount", "available_on", "created", "created_at", "description", "fee", "id", "net", "source_id", "source_type", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["amount", -100], ["available_on", Mon, 07 Oct 2013 05:01:01 CDT -05:00], ["created", Mon, 30 Sep 2013 05:01:01 CDT -05:00], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["description", "a dollar for Don Atello"], ["fee", 25], ["id", "txn_2fOGkiBkDgpObU"], ["net", -125], ["source_id", "tr_2fOGfKABdHu3uf"], ["source_type", "transfer"], ["status", "available"], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20576
+  (0.3ms) COMMIT
20577
+  (0.1ms) BEGIN
20578
+ SQL (0.9ms) INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "id", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["brand", "Visa"], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["customer_id", "cus_2J7PZ8ncCbR10Z"], ["cvc_check", "pass"], ["exp_month", 1], ["exp_year", 2014], ["id", "cc_2J7Pscoh4jvFjJ"], ["last4", "4242"], ["name", "Connor Tumbleson"], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20579
+  (0.2ms) COMMIT
20580
+  (0.2ms) BEGIN
20581
+ SQL (1.0ms) INSERT INTO "stripe_local_line_items" ("amount", "created_at", "id", "invoice_id", "period_end", "period_start", "plan_id", "proration", "quantity", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["amount", 9900], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["id", "su_1bfTBoL3o7blah"], ["invoice_id", "in_2blahblahagain"], ["period_end", Thu, 06 Jun 2013 18:23:47 CDT -05:00], ["period_start", Tue, 07 May 2013 18:23:47 CDT -05:00], ["plan_id", "HR99"], ["proration", false], ["quantity", 1], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20582
+  (0.3ms) COMMIT
20583
+  (0.1ms) BEGIN
20584
+ SQL (1.0ms) INSERT INTO "stripe_local_invoices" ("amount_due", "attempt_count", "attempted", "charge_id", "closed", "created_at", "customer_id", "date", "discount", "ending_balance", "id", "paid", "period_end", "period_start", "starting_balance", "subtotal", "total", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18) RETURNING "id" [["amount_due", 9900], ["attempt_count", 0], ["attempted", true], ["charge_id", "ch_blahblahblah"], ["closed", true], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["customer_id", "cus_1A3zUmx7NpUgrT"], ["date", Tue, 07 May 2013 18:23:47 CDT -05:00], ["discount", nil], ["ending_balance", 0], ["id", "in_2blahblahagain"], ["paid", true], ["period_end", Tue, 07 May 2013 18:23:47 CDT -05:00], ["period_start", Tue, 07 May 2013 18:23:47 CDT -05:00], ["starting_balance", 0], ["subtotal", 9900], ["total", 9900], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20585
+  (0.4ms) COMMIT
20586
+ StripeLocal::LineItem Load (0.6ms) SELECT "stripe_local_line_items".* FROM "stripe_local_line_items" WHERE "stripe_local_line_items"."invoice_id" = $1 [["invoice_id", "in_2blahblahagain"]]
20587
+  (0.2ms) BEGIN
20588
+ SQL (1.1ms) INSERT INTO "stripe_local_subscriptions" ("created_at", "current_period_end", "current_period_start", "customer_id", "plan_id", "start", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["current_period_end", Wed, 11 Dec 2013 15:32:46 CST -06:00], ["current_period_start", Mon, 11 Nov 2013 15:32:46 CST -06:00], ["customer_id", "cus_2vIuZmAfWK89Yk"], ["plan_id", "HR99"], ["start", Mon, 11 Nov 2013 15:32:46 CST -06:00], ["status", "active"], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20589
+  (0.4ms) COMMIT
20590
+ StripeLocal::Customer Load (0.4ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20591
+  (0.1ms) BEGIN
20592
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20593
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20594
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20595
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20596
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20597
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20598
+ StripeLocal::Customer Load (0.1ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20599
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20600
+ SQL (0.7ms) INSERT INTO "clients" ("created_at", "email", "name", "password", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["email", "test@test.com"], ["name", "Test Case"], ["password", "password"], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20601
+  (0.4ms) COMMIT
20602
+ StripeLocal::Customer Load (0.3ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
20603
+  (0.1ms) BEGIN
20604
+ SQL (0.4ms) INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "id", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["brand", "Visa"], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["customer_id", "cus_123"], ["cvc_check", "pass"], ["exp_month", 8], ["exp_year", 2014], ["id", "card_102Y2J1Cmf55uWiejglofO7j"], ["last4", "4242"], ["name", "Test Case"], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20605
+  (0.3ms) COMMIT
20606
+  (0.1ms) BEGIN
20607
+ SQL (0.4ms) INSERT INTO "stripe_local_subscriptions" ("created_at", "current_period_end", "current_period_start", "customer_id", "plan_id", "start", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["current_period_end", Thu, 10 Oct 2013 13:52:04 CDT -05:00], ["current_period_start", Tue, 10 Sep 2013 13:52:04 CDT -05:00], ["customer_id", "cus_123"], ["plan_id", "GIN100"], ["start", Tue, 10 Sep 2013 13:52:04 CDT -05:00], ["status", "active"], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20608
+  (0.3ms) COMMIT
20609
+  (0.1ms) BEGIN
20610
+ SQL (1.1ms) INSERT INTO "stripe_local_customers" ("account_balance", "created_at", "default_card", "delinquent", "description", "email", "id", "model_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["account_balance", 0], ["created_at", Sat, 30 Nov 2013 09:47:51 CST -06:00], ["default_card", "card_102Y2J1Cmf55uWiejglofO7j"], ["delinquent", false], ["description", "On September 10th, Test signed up for CA50."], ["email", "test@test.com"], ["id", "cus_123"], ["model_id", 1], ["updated_at", Sat, 30 Nov 2013 09:47:51 CST -06:00]]
20611
+  (0.3ms) COMMIT
20612
+ StripeLocal::Customer Load (0.3ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
20613
+ StripeLocal::Subscription Load (0.7ms) SELECT "stripe_local_subscriptions".* FROM "stripe_local_subscriptions" WHERE "stripe_local_subscriptions"."customer_id" = $1 ORDER BY "stripe_local_subscriptions"."id" ASC LIMIT 1 [["customer_id", "cus_123"]]
20614
+  (1.0ms) ALTER TABLE "stripe_local_discounts" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_customers" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_transfers" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_cards" DISABLE TRIGGER ALL;ALTER TABLE "clients" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_subscriptions" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_invoices" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_plans" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_line_items" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_charges" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_coupons" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_transactions" DISABLE TRIGGER ALL;ALTER TABLE "stripe_local_balances" DISABLE TRIGGER ALL
20615
+  (1.2ms) select table_name from information_schema.views where table_schema = 'dummy_test'
20616
+  (19.2ms) TRUNCATE TABLE "stripe_local_discounts", "stripe_local_customers", "stripe_local_transfers", "stripe_local_cards", "clients", "stripe_local_subscriptions", "stripe_local_invoices", "stripe_local_plans", "stripe_local_line_items", "stripe_local_charges", "stripe_local_coupons", "stripe_local_transactions", "stripe_local_balances" RESTART IDENTITY CASCADE;
20617
+  (1.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_discounts" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_transfers" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_cards" ENABLE TRIGGER ALL;ALTER TABLE "clients" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_customers" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_subscriptions" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_invoices" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_plans" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_line_items" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_charges" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_coupons" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_transactions" ENABLE TRIGGER ALL;ALTER TABLE "stripe_local_balances" ENABLE TRIGGER ALL
20618
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
20619
+ StripeLocal::Customer Load (0.4ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20620
+  (0.1ms) BEGIN
20621
+ StripeLocal::Customer Load (0.3ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20622
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20623
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20624
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20625
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20626
+ StripeLocal::Customer Load (0.4ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20627
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20628
+ StripeLocal::Customer Load (0.2ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
20629
+ SQL (4.2ms) INSERT INTO "clients" ("created_at", "email", "name", "password", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["email", "test@test.com"], ["name", "Test Case"], ["password", "password"], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20630
+  (0.3ms) COMMIT
20631
+ StripeLocal::Customer Load (0.3ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
20632
+  (0.1ms) BEGIN
20633
+ SQL (0.9ms) INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "id", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["brand", "Visa"], ["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["customer_id", "cus_123"], ["cvc_check", "pass"], ["exp_month", 8], ["exp_year", 2014], ["id", "card_102Y2J1Cmf55uWiejglofO7j"], ["last4", "4242"], ["name", "Test Case"], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20634
+  (0.3ms) COMMIT
20635
+  (0.1ms) BEGIN
20636
+ SQL (1.1ms) INSERT INTO "stripe_local_subscriptions" ("created_at", "current_period_end", "current_period_start", "customer_id", "plan_id", "start", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["current_period_end", Thu, 10 Oct 2013 13:52:04 CDT -05:00], ["current_period_start", Tue, 10 Sep 2013 13:52:04 CDT -05:00], ["customer_id", "cus_123"], ["plan_id", "GIN100"], ["start", Tue, 10 Sep 2013 13:52:04 CDT -05:00], ["status", "active"], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20637
+  (0.4ms) COMMIT
20638
+  (0.1ms) BEGIN
20639
+ SQL (0.8ms) INSERT INTO "stripe_local_customers" ("account_balance", "created_at", "default_card", "delinquent", "description", "email", "id", "model_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) RETURNING "id" [["account_balance", 0], ["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["default_card", "card_102Y2J1Cmf55uWiejglofO7j"], ["delinquent", false], ["description", "On September 10th, Test signed up for CA50."], ["email", "test@test.com"], ["id", "cus_123"], ["model_id", 1], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20640
+  (0.3ms) COMMIT
20641
+ StripeLocal::Customer Load (0.3ms) SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
20642
+ StripeLocal::Subscription Load (0.9ms) SELECT "stripe_local_subscriptions".* FROM "stripe_local_subscriptions" WHERE "stripe_local_subscriptions"."customer_id" = $1 ORDER BY "stripe_local_subscriptions"."id" ASC LIMIT 1 [["customer_id", "cus_123"]]
20643
+ StripeLocal::Plan Load (0.3ms) SELECT "stripe_local_plans".* FROM "stripe_local_plans" WHERE "stripe_local_plans"."id" = 'New_Plan' LIMIT 1
20644
+  (0.2ms) BEGIN
20645
+ SQL (1.0ms) INSERT INTO "stripe_local_plans" ("amount", "created_at", "id", "interval", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", 2999], ["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["id", "New_Plan"], ["interval", "month"], ["name", "New Plan"], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20646
+  (0.3ms) COMMIT
20647
+  (0.1ms) BEGIN
20648
+ SQL (0.6ms) INSERT INTO "stripe_local_subscriptions" ("created_at", "current_period_end", "current_period_start", "customer_id", "plan_id", "start", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["current_period_end", Wed, 11 Dec 2013 15:32:46 CST -06:00], ["current_period_start", Mon, 11 Nov 2013 15:32:46 CST -06:00], ["customer_id", "cus_2vIuZmAfWK89Yk"], ["plan_id", "HR99"], ["start", Mon, 11 Nov 2013 15:32:46 CST -06:00], ["status", "active"], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20649
+  (0.3ms) COMMIT
20650
+  (0.2ms) BEGIN
20651
+ SQL (0.8ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20652
+  (0.3ms) COMMIT
20653
+  (0.2ms) BEGIN
20654
+ SQL (0.4ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20655
+  (0.3ms) COMMIT
20656
+  (0.1ms) BEGIN
20657
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20658
+  (0.3ms) COMMIT
20659
+  (0.1ms) BEGIN
20660
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20661
+  (0.3ms) COMMIT
20662
+  (0.2ms) SELECT COUNT(*) FROM "stripe_local_balances"
20663
+ StripeLocal::Balance Load (0.2ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20664
+ StripeLocal::Balance Load (0.2ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20665
+ SQL (0.3ms) UPDATE "stripe_local_balances" SET "updated_at" = '2013-12-01 15:48:14.932389' WHERE "stripe_local_balances"."id" = 4
20666
+  (0.2ms) SELECT COUNT(*) FROM "stripe_local_balances"
20667
+ StripeLocal::Balance Load (0.2ms) SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
20668
+  (0.1ms) BEGIN
20669
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20670
+  (0.3ms) COMMIT
20671
+  (0.1ms) BEGIN
20672
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20673
+  (0.2ms) COMMIT
20674
+  (0.2ms) SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
20675
+  (0.1ms) BEGIN
20676
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20677
+  (0.3ms) COMMIT
20678
+  (0.1ms) BEGIN
20679
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20680
+  (0.2ms) COMMIT
20681
+  (0.1ms) SELECT "stripe_local_balances"."pending" FROM "stripe_local_balances"
20682
+  (0.1ms) BEGIN
20683
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20684
+  (0.2ms) COMMIT
20685
+  (0.0ms) BEGIN
20686
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20687
+  (0.2ms) COMMIT
20688
+  (0.1ms) SELECT COUNT(*) FROM "stripe_local_balances"
20689
+  (0.0ms) BEGIN
20690
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 39800], ["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["pending", 0], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20691
+  (0.2ms) COMMIT
20692
+  (0.1ms) SELECT COUNT(*) FROM "stripe_local_balances"
20693
+  (0.1ms) BEGIN
20694
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20695
+  (0.2ms) COMMIT
20696
+  (0.0ms) BEGIN
20697
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20698
+  (0.2ms) COMMIT
20699
+  (0.1ms) SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
20700
+  (0.1ms) BEGIN
20701
+ SQL (0.3ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 9900], ["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["pending", 29900], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20702
+  (0.2ms) COMMIT
20703
+  (0.0ms) BEGIN
20704
+ SQL (0.2ms) INSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["available", 19900], ["created_at", Sat, 30 Nov 2013 09:48:14 CST -06:00], ["pending", 19900], ["updated_at", Sat, 30 Nov 2013 09:48:14 CST -06:00]]
20705
+  (0.2ms) COMMIT
20706
+  (0.1ms) BEGIN
20707
+ SQL (1.0ms) INSERT INTO "stripe_local_transactions" ("amount", "available_on", "created", "created_at", "description", "fee", "id", "net", "source_id", "source_type", "status", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["amount", -100], ["available_on", Mon, 07 Oct 2013 05:01:01 CDT -05:00], ["created", Mon, 30 Sep 2013 05:01:01 CDT -05:00], ["created_at", Sat, 30 Nov 2013 09:48:15 CST -06:00], ["description", "a dollar for Don Atello"], ["fee", 25], ["id", "txn_2fOGkiBkDgpObU"], ["net", -125], ["source_id", "tr_2fOGfKABdHu3uf"], ["source_type", "transfer"], ["status", "available"], ["updated_at", Sat, 30 Nov 2013 09:48:15 CST -06:00]]
20708
+  (0.3ms) COMMIT
20709
+  (0.1ms) BEGIN
20710
+ SQL (0.4ms) INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "id", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["brand", "Visa"], ["created_at", Sat, 30 Nov 2013 09:48:15 CST -06:00], ["customer_id", "cus_2J7PZ8ncCbR10Z"], ["cvc_check", "pass"], ["exp_month", 1], ["exp_year", 2014], ["id", "cc_2J7Pscoh4jvFjJ"], ["last4", "4242"], ["name", "Connor Tumbleson"], ["updated_at", Sat, 30 Nov 2013 09:48:15 CST -06:00]]
20711
+  (0.3ms) COMMIT
20712
+  (0.2ms) BEGIN
20713
+ SQL (1.9ms) INSERT INTO "stripe_local_charges" ("amount", "card_id", "created", "created_at", "customer_id", "id", "invoice_id", "paid", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["amount", 9900], ["card_id", "cc_1eX7GyRo6wivEf"], ["created", Thu, 01 Aug 2013 18:08:14 CDT -05:00], ["created_at", Sat, 30 Nov 2013 09:48:15 CST -06:00], ["customer_id", "cus_1eX7onie2gq8m1"], ["id", "ch_2wiSyZQkZw8F50"], ["invoice_id", "in_2whTLSkV2ItHAv"], ["paid", true], ["transaction_id", "txn_2wiSFq1N6BTZTQ"], ["updated_at", Sat, 30 Nov 2013 09:48:15 CST -06:00]]
20714
+  (0.3ms) COMMIT
20715
+  (0.1ms) BEGIN
20716
+ SQL (1.3ms) INSERT INTO "stripe_local_transfers" ("amount", "created_at", "date", "description", "id", "status", "transaction_id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["amount", 100], ["created_at", Sat, 30 Nov 2013 09:48:15 CST -06:00], ["date", Mon, 30 Sep 2013 05:01:01 CDT -05:00], ["description", "a dollar for Don Atello"], ["id", "tr_2fOGfKABdHu3uf"], ["status", "paid"], ["transaction_id", "txn_2fOGkiBkDgpObU"], ["updated_at", Sat, 30 Nov 2013 09:48:15 CST -06:00]]
20717
+  (0.3ms) COMMIT
20718
+  (0.2ms) BEGIN
20719
+ SQL (1.0ms) INSERT INTO "stripe_local_line_items" ("amount", "created_at", "id", "invoice_id", "period_end", "period_start", "plan_id", "proration", "quantity", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["amount", 9900], ["created_at", Sat, 30 Nov 2013 09:48:15 CST -06:00], ["id", "su_1bfTBoL3o7blah"], ["invoice_id", "in_2blahblahagain"], ["period_end", Thu, 06 Jun 2013 18:23:47 CDT -05:00], ["period_start", Tue, 07 May 2013 18:23:47 CDT -05:00], ["plan_id", "HR99"], ["proration", false], ["quantity", 1], ["updated_at", Sat, 30 Nov 2013 09:48:15 CST -06:00]]
20720
+  (0.3ms) COMMIT
20721
+  (0.2ms) BEGIN
20722
+ SQL (1.5ms) INSERT INTO "stripe_local_invoices" ("amount_due", "attempt_count", "attempted", "charge_id", "closed", "created_at", "customer_id", "date", "discount", "ending_balance", "id", "paid", "period_end", "period_start", "starting_balance", "subtotal", "total", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18) RETURNING "id" [["amount_due", 9900], ["attempt_count", 0], ["attempted", true], ["charge_id", "ch_blahblahblah"], ["closed", true], ["created_at", Sat, 30 Nov 2013 09:48:15 CST -06:00], ["customer_id", "cus_1A3zUmx7NpUgrT"], ["date", Tue, 07 May 2013 18:23:47 CDT -05:00], ["discount", nil], ["ending_balance", 0], ["id", "in_2blahblahagain"], ["paid", true], ["period_end", Tue, 07 May 2013 18:23:47 CDT -05:00], ["period_start", Tue, 07 May 2013 18:23:47 CDT -05:00], ["starting_balance", 0], ["subtotal", 9900], ["total", 9900], ["updated_at", Sat, 30 Nov 2013 09:48:15 CST -06:00]]
20723
+  (0.4ms) COMMIT
20724
+ StripeLocal::LineItem Load (0.6ms) SELECT "stripe_local_line_items".* FROM "stripe_local_line_items" WHERE "stripe_local_line_items"."invoice_id" = $1 [["invoice_id", "in_2blahblahagain"]]