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.
- checksums.yaml +4 -4
- data/app/models/stripe_local/card.rb +1 -1
- data/app/models/stripe_local/coupon.rb +2 -0
- data/lib/stripe_local/version.rb +1 -1
- data/lib/stripe_local.rb +4 -0
- data/spec/dummy/log/test.log +988 -0
- data/spec/models/stripe_local/customer_spec.rb +3 -1
- metadata +2 -2
data/spec/dummy/log/test.log
CHANGED
@@ -19734,3 +19734,991 @@ Migrating to LoadStripeTables (20131122063517)
|
|
19734
19734
|
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19735
19735
|
[1m[35mSQL (1.3ms)[0m 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
|
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19737
|
+
[1m[36m (3.7ms)[0m [1mALTER 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[0m
|
19738
|
+
[1m[35m (10.6ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
19739
|
+
[1m[36m (87.7ms)[0m [1mTRUNCATE 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;[0m
|
19740
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36mActiveRecord::SchemaMigration Load (2.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
19742
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19743
|
+
[1m[36mSQL (6.3ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.4ms)[0m COMMIT
|
19745
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
19746
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
19748
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19749
|
+
[1m[36mSQL (1.7ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19751
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19752
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19754
|
+
[1m[35m (0.2ms)[0m BEGIN
|
19755
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.4ms)[0m COMMIT
|
19757
|
+
[1m[36mStripeLocal::LineItem Load (0.8ms)[0m [1mSELECT "stripe_local_line_items".* FROM "stripe_local_line_items" WHERE "stripe_local_line_items"."invoice_id" = $1[0m [["invoice_id", "in_2blahblahagain"]]
|
19758
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19759
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.4ms)[0m COMMIT
|
19761
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19762
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19764
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "stripe_local_balances"
|
19765
|
+
[1m[36mStripeLocal::Balance Load (0.4ms)[0m [1mSELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1[0m
|
19766
|
+
[1m[35mStripeLocal::Balance Load (0.4ms)[0m SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
|
19767
|
+
[1m[36mSQL (0.7ms)[0m [1mUPDATE "stripe_local_balances" SET "updated_at" = '2013-12-01 15:38:57.803019' WHERE "stripe_local_balances"."id" = 2[0m
|
19768
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "stripe_local_balances"
|
19769
|
+
[1m[36mStripeLocal::Balance Load (0.2ms)[0m [1mSELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1[0m
|
19770
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19771
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19773
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19774
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19776
|
+
[1m[35m (0.2ms)[0m SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
|
19777
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19778
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19780
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19781
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19783
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "stripe_local_balances"[0m
|
19784
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19785
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
19787
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "stripe_local_balances"[0m
|
19788
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19789
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19791
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19792
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19794
|
+
[1m[35m (0.2ms)[0m BEGIN
|
19795
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19797
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19798
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
19800
|
+
[1m[35m (0.1ms)[0m SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
|
19801
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19802
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
19804
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19805
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
19807
|
+
[1m[36m (0.1ms)[0m [1mSELECT "stripe_local_balances"."pending" FROM "stripe_local_balances"[0m
|
19808
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19809
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
19811
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19812
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
19814
|
+
[1m[35m (0.2ms)[0m BEGIN
|
19815
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19817
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19818
|
+
[1m[35mSQL (1.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19820
|
+
[1m[35mStripeLocal::Plan Load (0.3ms)[0m SELECT "stripe_local_plans".* FROM "stripe_local_plans" WHERE "stripe_local_plans"."id" = 'New_Plan' LIMIT 1
|
19821
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19822
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19824
|
+
[1m[35mStripeLocal::Customer Load (0.4ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
19825
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
19826
|
+
[1m[35mStripeLocal::Customer Load (0.3ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
19827
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
19828
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
19829
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
19830
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
19831
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
19832
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
19833
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
19834
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19836
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
|
19837
|
+
[1m[36m (0.9ms)[0m [1mALTER 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[0m
|
19838
|
+
[1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
19839
|
+
[1m[36m (22.3ms)[0m [1mTRUNCATE 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;[0m
|
19840
|
+
[1m[35m (1.0ms)[0m 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
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
19842
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19843
|
+
[1m[36mSQL (7.2ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19845
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
19846
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19848
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19849
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19851
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
19852
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
19854
|
+
[1m[35mStripeLocal::LineItem Load (0.7ms)[0m SELECT "stripe_local_line_items".* FROM "stripe_local_line_items" WHERE "stripe_local_line_items"."invoice_id" = $1 [["invoice_id", "in_2blahblahagain"]]
|
19855
|
+
[1m[36mStripeLocal::Plan Load (0.4ms)[0m [1mSELECT "stripe_local_plans".* FROM "stripe_local_plans" WHERE "stripe_local_plans"."id" = 'New_Plan' LIMIT 1[0m
|
19856
|
+
[1m[35m (0.2ms)[0m BEGIN
|
19857
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "stripe_local_plans" ("amount", "created_at", "id", "interval", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19859
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
19860
|
+
[1m[35mSQL (1.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19862
|
+
[1m[35m (0.2ms)[0m BEGIN
|
19863
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19865
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19866
|
+
[1m[35mSQL (1.5ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19868
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19869
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19871
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19872
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19874
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19875
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19877
|
+
[1m[36m (0.3ms)[0m [1mSELECT "stripe_local_balances"."available" FROM "stripe_local_balances"[0m
|
19878
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19879
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19881
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19882
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19884
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19885
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19887
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19888
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19890
|
+
[1m[35m (0.3ms)[0m SELECT "stripe_local_balances"."pending" FROM "stripe_local_balances"
|
19891
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19892
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
19894
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19895
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
19897
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "stripe_local_balances"[0m
|
19898
|
+
[1m[35mStripeLocal::Balance Load (0.3ms)[0m SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
|
19899
|
+
[1m[36mStripeLocal::Balance Load (0.2ms)[0m [1mSELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1[0m
|
19900
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "stripe_local_balances" SET "updated_at" = '2013-12-01 15:39:46.070931' WHERE "stripe_local_balances"."id" = 10
|
19901
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "stripe_local_balances"[0m
|
19902
|
+
[1m[35mStripeLocal::Balance Load (0.2ms)[0m SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
|
19903
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19904
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
19906
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19907
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
19909
|
+
[1m[36m (0.1ms)[0m [1mSELECT "stripe_local_balances"."available" FROM "stripe_local_balances"[0m
|
19910
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19911
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19913
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19914
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19916
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "stripe_local_balances"
|
19917
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19918
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19920
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "stripe_local_balances"
|
19921
|
+
[1m[36mStripeLocal::Customer Load (0.5ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
19922
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19923
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
19924
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
19925
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
19926
|
+
[1m[35mStripeLocal::Customer Load (0.1ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
19927
|
+
[1m[36mStripeLocal::Customer Load (0.1ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
19928
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
19929
|
+
[1m[36mStripeLocal::Customer Load (0.1ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
19930
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
19931
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "clients" ("created_at", "email", "name", "password", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19933
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1[0m
|
19934
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19935
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT 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)[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
19937
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19938
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
19940
|
+
[1m[35m (0.2ms)[0m BEGIN
|
19941
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19943
|
+
[1m[36mClient Load (0.4ms)[0m [1mSELECT "clients".* FROM "clients" WHERE "clients"."id" = $1 LIMIT 1[0m [["id", 1]]
|
19944
|
+
[1m[35mStripeLocal::Customer Load (0.3ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
|
19945
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1[0m
|
19946
|
+
[1m[35m (0.2ms)[0m BEGIN
|
19947
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19949
|
+
[1m[36m (0.7ms)[0m [1mALTER 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[0m
|
19950
|
+
[1m[35m (1.0ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
19951
|
+
[1m[36m (20.7ms)[0m [1mTRUNCATE 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;[0m
|
19952
|
+
[1m[35m (0.9ms)[0m 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
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
19954
|
+
[1m[35mStripeLocal::Customer Load (0.4ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
19955
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
19956
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
19957
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
19958
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
19959
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
19960
|
+
[1m[35mStripeLocal::Customer Load (0.4ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
19961
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
19962
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
19963
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
19964
|
+
[1m[35mSQL (4.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19966
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
|
19967
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19968
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19970
|
+
[1m[35m (0.2ms)[0m BEGIN
|
19971
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19973
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
19974
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19976
|
+
[1m[35mClient Load (0.5ms)[0m SELECT "clients".* FROM "clients" WHERE "clients"."id" = $1 LIMIT 1 [["id", 1]]
|
19977
|
+
[1m[36mStripeLocal::Customer Load (0.3ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1[0m
|
19978
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
|
19979
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19980
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19982
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19983
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19985
|
+
[1m[36m (0.2ms)[0m [1mSELECT "stripe_local_balances"."pending" FROM "stripe_local_balances"[0m
|
19986
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19987
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19989
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19990
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19992
|
+
[1m[35m (0.2ms)[0m SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
|
19993
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
19994
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
19996
|
+
[1m[35m (0.1ms)[0m BEGIN
|
19997
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
19999
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20000
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20002
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20003
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20005
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20006
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20008
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20009
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20011
|
+
[1m[36m (0.1ms)[0m [1mSELECT "stripe_local_balances"."available" FROM "stripe_local_balances"[0m
|
20012
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20013
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.4ms)[0m COMMIT
|
20015
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20016
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20018
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "stripe_local_balances"
|
20019
|
+
[1m[36mStripeLocal::Balance Load (0.3ms)[0m [1mSELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1[0m
|
20020
|
+
[1m[35mStripeLocal::Balance Load (0.2ms)[0m SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
|
20021
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "stripe_local_balances" SET "updated_at" = '2013-12-01 15:39:54.919631' WHERE "stripe_local_balances"."id" = 12[0m
|
20022
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "stripe_local_balances"
|
20023
|
+
[1m[36mStripeLocal::Balance Load (0.3ms)[0m [1mSELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1[0m
|
20024
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20025
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20027
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20028
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20030
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "stripe_local_balances"
|
20031
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20032
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20034
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "stripe_local_balances"
|
20035
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20036
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
20038
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20039
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20041
|
+
[1m[36mStripeLocal::Plan Load (0.7ms)[0m [1mSELECT "stripe_local_plans".* FROM "stripe_local_plans" WHERE "stripe_local_plans"."id" = 'New_Plan' LIMIT 1[0m
|
20042
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20043
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "stripe_local_plans" ("amount", "created_at", "id", "interval", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20045
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20046
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20048
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20049
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20051
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
20052
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
20054
|
+
[1m[35mStripeLocal::LineItem Load (0.6ms)[0m SELECT "stripe_local_line_items".* FROM "stripe_local_line_items" WHERE "stripe_local_line_items"."invoice_id" = $1 [["invoice_id", "in_2blahblahagain"]]
|
20055
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
20056
|
+
[1m[35mSQL (1.7ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20058
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20059
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT 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)[0m [["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
|
+
[1m[35m (0.4ms)[0m COMMIT
|
20061
|
+
[1m[36m (1.4ms)[0m [1mALTER 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[0m
|
20062
|
+
[1m[35m (1.3ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
20063
|
+
[1m[36m (22.8ms)[0m [1mTRUNCATE 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;[0m
|
20064
|
+
[1m[35m (0.9ms)[0m 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
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
20066
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20067
|
+
[1m[36mSQL (5.5ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20069
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20070
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20072
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20073
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20075
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20076
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20078
|
+
[1m[35m (0.2ms)[0m SELECT "stripe_local_balances"."pending" FROM "stripe_local_balances"
|
20079
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20080
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20082
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20083
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20085
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "stripe_local_balances"[0m
|
20086
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20087
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20089
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "stripe_local_balances"[0m
|
20090
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20091
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20093
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20094
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20096
|
+
[1m[35m (0.1ms)[0m SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
|
20097
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20098
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20100
|
+
[1m[35m (0.0ms)[0m BEGIN
|
20101
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20103
|
+
[1m[36m (0.1ms)[0m [1mSELECT "stripe_local_balances"."available" FROM "stripe_local_balances"[0m
|
20104
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20105
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20107
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20108
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20110
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "stripe_local_balances"
|
20111
|
+
[1m[36mStripeLocal::Balance Load (0.3ms)[0m [1mSELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1[0m
|
20112
|
+
[1m[35mStripeLocal::Balance Load (0.2ms)[0m SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
|
20113
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "stripe_local_balances" SET "updated_at" = '2013-12-01 15:40:11.742978' WHERE "stripe_local_balances"."id" = 13[0m
|
20114
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "stripe_local_balances"
|
20115
|
+
[1m[36mStripeLocal::Balance Load (0.2ms)[0m [1mSELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1[0m
|
20116
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20117
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20119
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20120
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20122
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20123
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT 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)[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20125
|
+
[1m[36mStripeLocal::Customer Load (0.4ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20126
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20127
|
+
[1m[36mStripeLocal::Customer Load (0.3ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20128
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20129
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20130
|
+
[1m[35mStripeLocal::Customer Load (0.6ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20131
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20132
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20133
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20134
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20135
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "clients" ("created_at", "email", "name", "password", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20137
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1[0m
|
20138
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20139
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT 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)[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20141
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20142
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36m (2.0ms)[0m [1mCOMMIT[0m
|
20144
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20145
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20147
|
+
[1m[36mStripeLocal::Customer Load (0.6ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1[0m
|
20148
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20149
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (1.5ms)[0m COMMIT
|
20151
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20152
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20154
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20155
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20157
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20158
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
20160
|
+
[1m[35mStripeLocal::LineItem Load (0.6ms)[0m SELECT "stripe_local_line_items".* FROM "stripe_local_line_items" WHERE "stripe_local_line_items"."invoice_id" = $1 [["invoice_id", "in_2blahblahagain"]]
|
20161
|
+
[1m[36mStripeLocal::Plan Load (0.3ms)[0m [1mSELECT "stripe_local_plans".* FROM "stripe_local_plans" WHERE "stripe_local_plans"."id" = 'New_Plan' LIMIT 1[0m
|
20162
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20163
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "stripe_local_plans" ("amount", "created_at", "id", "interval", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20165
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20166
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
20168
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20169
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20171
|
+
[1m[36m (1.0ms)[0m [1mALTER 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[0m
|
20172
|
+
[1m[35m (1.3ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
20173
|
+
[1m[36m (24.2ms)[0m [1mTRUNCATE 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;[0m
|
20174
|
+
[1m[35m (0.9ms)[0m 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
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
20176
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20177
|
+
[1m[36mSQL (6.4ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20179
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
20180
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20182
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20183
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.4ms)[0m COMMIT
|
20185
|
+
[1m[36mStripeLocal::LineItem Load (0.6ms)[0m [1mSELECT "stripe_local_line_items".* FROM "stripe_local_line_items" WHERE "stripe_local_line_items"."invoice_id" = $1[0m [["invoice_id", "in_2blahblahagain"]]
|
20186
|
+
[1m[35m (0.4ms)[0m BEGIN
|
20187
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20189
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
20190
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20192
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20193
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.4ms)[0m COMMIT
|
20195
|
+
[1m[36mStripeLocal::Plan Load (0.3ms)[0m [1mSELECT "stripe_local_plans".* FROM "stripe_local_plans" WHERE "stripe_local_plans"."id" = 'New_Plan' LIMIT 1[0m
|
20196
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20197
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "stripe_local_plans" ("amount", "created_at", "id", "interval", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20199
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20200
|
+
[1m[35mSQL (1.6ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
20202
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20203
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20205
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "stripe_local_balances"[0m
|
20206
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20207
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20209
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "stripe_local_balances"[0m
|
20210
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20211
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20213
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20214
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20216
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20217
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20219
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20220
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20222
|
+
[1m[35m (0.3ms)[0m SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
|
20223
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20224
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20226
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20227
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20229
|
+
[1m[36m (0.2ms)[0m [1mSELECT "stripe_local_balances"."pending" FROM "stripe_local_balances"[0m
|
20230
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20231
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20233
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20234
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20236
|
+
[1m[35m (0.1ms)[0m SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
|
20237
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20238
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20240
|
+
[1m[35m (0.0ms)[0m BEGIN
|
20241
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20243
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20244
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20246
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20247
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20249
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "stripe_local_balances"[0m
|
20250
|
+
[1m[35mStripeLocal::Balance Load (0.3ms)[0m SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
|
20251
|
+
[1m[36mStripeLocal::Balance Load (0.2ms)[0m [1mSELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1[0m
|
20252
|
+
[1m[35mSQL (0.5ms)[0m UPDATE "stripe_local_balances" SET "updated_at" = '2013-12-01 15:40:15.830886' WHERE "stripe_local_balances"."id" = 15
|
20253
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "stripe_local_balances"[0m
|
20254
|
+
[1m[35mStripeLocal::Balance Load (0.2ms)[0m SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
|
20255
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20256
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
20258
|
+
[1m[35mStripeLocal::Customer Load (0.4ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20259
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20260
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20261
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20262
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20263
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20264
|
+
[1m[35mStripeLocal::Customer Load (0.1ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20265
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20266
|
+
[1m[35mStripeLocal::Customer Load (0.1ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20267
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20268
|
+
[1m[35mSQL (0.7ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20270
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
|
20271
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20272
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20274
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20275
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20277
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
20278
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
20280
|
+
[1m[35mStripeLocal::Customer Load (0.3ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
|
20281
|
+
[1m[36m (0.8ms)[0m [1mALTER 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[0m
|
20282
|
+
[1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
20283
|
+
[1m[36m (21.2ms)[0m [1mTRUNCATE 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;[0m
|
20284
|
+
[1m[35m (0.9ms)[0m 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
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
20286
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20287
|
+
[1m[36mSQL (6.4ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20289
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20290
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20292
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20293
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20295
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20296
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20298
|
+
[1m[35m (0.3ms)[0m SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
|
20299
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20300
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20302
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20303
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20305
|
+
[1m[36m (0.1ms)[0m [1mSELECT "stripe_local_balances"."pending" FROM "stripe_local_balances"[0m
|
20306
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20307
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20309
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20310
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20312
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20313
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20315
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20316
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20318
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "stripe_local_balances"
|
20319
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
20320
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20322
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "stripe_local_balances"
|
20323
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20324
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20326
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20327
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20329
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "stripe_local_balances"[0m
|
20330
|
+
[1m[35mStripeLocal::Balance Load (0.3ms)[0m SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
|
20331
|
+
[1m[36mStripeLocal::Balance Load (0.2ms)[0m [1mSELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1[0m
|
20332
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "stripe_local_balances" SET "updated_at" = '2013-12-01 15:40:47.003270' WHERE "stripe_local_balances"."id" = 13
|
20333
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "stripe_local_balances"[0m
|
20334
|
+
[1m[35mStripeLocal::Balance Load (0.2ms)[0m SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
|
20335
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20336
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20338
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20339
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20341
|
+
[1m[36m (0.1ms)[0m [1mSELECT "stripe_local_balances"."available" FROM "stripe_local_balances"[0m
|
20342
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20343
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20345
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
20346
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20348
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20349
|
+
[1m[36mSQL (1.5ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20351
|
+
[1m[36mStripeLocal::LineItem Load (0.7ms)[0m [1mSELECT "stripe_local_line_items".* FROM "stripe_local_line_items" WHERE "stripe_local_line_items"."invoice_id" = $1[0m [["invoice_id", "in_2blahblahagain"]]
|
20352
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20353
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20355
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20356
|
+
[1m[35mSQL (1.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20358
|
+
[1m[35mStripeLocal::Plan Load (0.3ms)[0m SELECT "stripe_local_plans".* FROM "stripe_local_plans" WHERE "stripe_local_plans"."id" = 'New_Plan' LIMIT 1
|
20359
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
20360
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20362
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20363
|
+
[1m[36mSQL (1.5ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20365
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
20366
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20368
|
+
[1m[35mStripeLocal::Customer Load (0.4ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20369
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
20370
|
+
[1m[35mStripeLocal::Customer Load (0.6ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20371
|
+
[1m[36mStripeLocal::Customer Load (0.5ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20372
|
+
[1m[35mStripeLocal::Customer Load (0.3ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20373
|
+
[1m[36mStripeLocal::Customer Load (0.3ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20374
|
+
[1m[35mStripeLocal::Customer Load (0.3ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20375
|
+
[1m[36mStripeLocal::Customer Load (0.3ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20376
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20377
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20378
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
20380
|
+
[1m[35mStripeLocal::Customer Load (0.4ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
|
20381
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20382
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20384
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20385
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20387
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20388
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20390
|
+
[1m[35mStripeLocal::Customer Load (0.3ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
|
20391
|
+
[1m[36mStripeLocal::Subscription Load (1.0ms)[0m [1mSELECT "stripe_local_subscriptions".* FROM "stripe_local_subscriptions" WHERE "stripe_local_subscriptions"."customer_id" = $1 ORDER BY "stripe_local_subscriptions"."id" ASC LIMIT 1[0m [["customer_id", "cus_123"]]
|
20392
|
+
[1m[36m (1.0ms)[0m [1mALTER 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[0m
|
20393
|
+
[1m[35m (2.2ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
20394
|
+
[1m[36m (21.4ms)[0m [1mTRUNCATE 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;[0m
|
20395
|
+
[1m[35m (0.9ms)[0m 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
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
20397
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20398
|
+
[1m[36mSQL (4.5ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.8ms)[0m COMMIT
|
20400
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
20401
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
20403
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "stripe_local_balances"
|
20404
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20405
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20407
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "stripe_local_balances"
|
20408
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20409
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20411
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20412
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20414
|
+
[1m[36m (0.2ms)[0m [1mSELECT "stripe_local_balances"."available" FROM "stripe_local_balances"[0m
|
20415
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20416
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20418
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20419
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20421
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "stripe_local_balances"
|
20422
|
+
[1m[36mStripeLocal::Balance Load (0.3ms)[0m [1mSELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1[0m
|
20423
|
+
[1m[35mStripeLocal::Balance Load (0.2ms)[0m SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
|
20424
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "stripe_local_balances" SET "updated_at" = '2013-12-01 15:47:11.242180' WHERE "stripe_local_balances"."id" = 7[0m
|
20425
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "stripe_local_balances"
|
20426
|
+
[1m[36mStripeLocal::Balance Load (0.2ms)[0m [1mSELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1[0m
|
20427
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20428
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20430
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20431
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20433
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20434
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20436
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
20437
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20439
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20440
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20442
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
20443
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20445
|
+
[1m[35m (0.1ms)[0m SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
|
20446
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20447
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20449
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20450
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20452
|
+
[1m[36m (0.1ms)[0m [1mSELECT "stripe_local_balances"."pending" FROM "stripe_local_balances"[0m
|
20453
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20454
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20456
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
20457
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20459
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20460
|
+
[1m[36mSQL (1.4ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20462
|
+
[1m[36mStripeLocal::Customer Load (0.4ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20463
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20464
|
+
[1m[36mStripeLocal::Customer Load (0.3ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20465
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20466
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20467
|
+
[1m[35mStripeLocal::Customer Load (0.1ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20468
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20469
|
+
[1m[35mStripeLocal::Customer Load (0.3ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20470
|
+
[1m[36mStripeLocal::Customer Load (0.1ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20471
|
+
[1m[35mStripeLocal::Customer Load (0.1ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20472
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "clients" ("created_at", "email", "name", "password", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20474
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1[0m
|
20475
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20476
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20478
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20479
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
20481
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20482
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20484
|
+
[1m[36mStripeLocal::Customer Load (0.3ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1[0m
|
20485
|
+
[1m[35mStripeLocal::Subscription Load (0.9ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20487
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20489
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20490
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20492
|
+
[1m[36mStripeLocal::LineItem Load (0.7ms)[0m [1mSELECT "stripe_local_line_items".* FROM "stripe_local_line_items" WHERE "stripe_local_line_items"."invoice_id" = $1[0m [["invoice_id", "in_2blahblahagain"]]
|
20493
|
+
[1m[35mStripeLocal::Plan Load (0.3ms)[0m SELECT "stripe_local_plans".* FROM "stripe_local_plans" WHERE "stripe_local_plans"."id" = 'New_Plan' LIMIT 1
|
20494
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20495
|
+
[1m[35mSQL (0.7ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
20497
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20498
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20500
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20501
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20503
|
+
[1m[36m (0.7ms)[0m [1mALTER 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[0m
|
20504
|
+
[1m[35m (1.6ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
20505
|
+
[1m[36m (23.5ms)[0m [1mTRUNCATE 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;[0m
|
20506
|
+
[1m[35m (0.9ms)[0m 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
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
20508
|
+
[1m[35mStripeLocal::Plan Load (0.4ms)[0m SELECT "stripe_local_plans".* FROM "stripe_local_plans" WHERE "stripe_local_plans"."id" = 'New_Plan' LIMIT 1
|
20509
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
20510
|
+
[1m[35mSQL (9.8ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20512
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20513
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.4ms)[0m COMMIT
|
20515
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20516
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20518
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20519
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20521
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "stripe_local_balances"[0m
|
20522
|
+
[1m[35mStripeLocal::Balance Load (0.3ms)[0m SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
|
20523
|
+
[1m[36mStripeLocal::Balance Load (0.2ms)[0m [1mSELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1[0m
|
20524
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "stripe_local_balances" SET "updated_at" = '2013-12-01 15:47:51.391659' WHERE "stripe_local_balances"."id" = 2
|
20525
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "stripe_local_balances"[0m
|
20526
|
+
[1m[35mStripeLocal::Balance Load (0.2ms)[0m SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
|
20527
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20528
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20530
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20531
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20533
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20534
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20536
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20537
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20539
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "stripe_local_balances"[0m
|
20540
|
+
[1m[35m (0.0ms)[0m BEGIN
|
20541
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20543
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "stripe_local_balances"[0m
|
20544
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20545
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20547
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20548
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20550
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20551
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20553
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20554
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20556
|
+
[1m[35m (0.3ms)[0m SELECT "stripe_local_balances"."pending" FROM "stripe_local_balances"
|
20557
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20558
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20560
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20561
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20563
|
+
[1m[36m (0.2ms)[0m [1mSELECT "stripe_local_balances"."available" FROM "stripe_local_balances"[0m
|
20564
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20565
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20567
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20568
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20570
|
+
[1m[35m (0.1ms)[0m SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
|
20571
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
20572
|
+
[1m[35mSQL (1.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20574
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20575
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20577
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20578
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20580
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20581
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20583
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20584
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
20586
|
+
[1m[35mStripeLocal::LineItem Load (0.6ms)[0m SELECT "stripe_local_line_items".* FROM "stripe_local_line_items" WHERE "stripe_local_line_items"."invoice_id" = $1 [["invoice_id", "in_2blahblahagain"]]
|
20587
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
20588
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
20590
|
+
[1m[35mStripeLocal::Customer Load (0.4ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20591
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20592
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20593
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20594
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20595
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20596
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20597
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20598
|
+
[1m[35mStripeLocal::Customer Load (0.1ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20599
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20600
|
+
[1m[35mSQL (0.7ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
20602
|
+
[1m[35mStripeLocal::Customer Load (0.3ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
|
20603
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20604
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20606
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20607
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20609
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20610
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20612
|
+
[1m[35mStripeLocal::Customer Load (0.3ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
|
20613
|
+
[1m[36mStripeLocal::Subscription Load (0.7ms)[0m [1mSELECT "stripe_local_subscriptions".* FROM "stripe_local_subscriptions" WHERE "stripe_local_subscriptions"."customer_id" = $1 ORDER BY "stripe_local_subscriptions"."id" ASC LIMIT 1[0m [["customer_id", "cus_123"]]
|
20614
|
+
[1m[36m (1.0ms)[0m [1mALTER 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[0m
|
20615
|
+
[1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'dummy_test'
|
20616
|
+
[1m[36m (19.2ms)[0m [1mTRUNCATE 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;[0m
|
20617
|
+
[1m[35m (1.0ms)[0m 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
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
20619
|
+
[1m[35mStripeLocal::Customer Load (0.4ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20620
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20621
|
+
[1m[35mStripeLocal::Customer Load (0.3ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20622
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20623
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20624
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20625
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20626
|
+
[1m[36mStripeLocal::Customer Load (0.4ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20627
|
+
[1m[35mStripeLocal::Customer Load (0.2ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1
|
20628
|
+
[1m[36mStripeLocal::Customer Load (0.2ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" IS NULL LIMIT 1[0m
|
20629
|
+
[1m[35mSQL (4.2ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20631
|
+
[1m[35mStripeLocal::Customer Load (0.3ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
|
20632
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20633
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20635
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20636
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.4ms)[0m COMMIT
|
20638
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20639
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20641
|
+
[1m[35mStripeLocal::Customer Load (0.3ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = 1 LIMIT 1
|
20642
|
+
[1m[36mStripeLocal::Subscription Load (0.9ms)[0m [1mSELECT "stripe_local_subscriptions".* FROM "stripe_local_subscriptions" WHERE "stripe_local_subscriptions"."customer_id" = $1 ORDER BY "stripe_local_subscriptions"."id" ASC LIMIT 1[0m [["customer_id", "cus_123"]]
|
20643
|
+
[1m[35mStripeLocal::Plan Load (0.3ms)[0m SELECT "stripe_local_plans".* FROM "stripe_local_plans" WHERE "stripe_local_plans"."id" = 'New_Plan' LIMIT 1
|
20644
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
20645
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20647
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20648
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20650
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
20651
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20653
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20654
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20656
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20657
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20659
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20660
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20662
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "stripe_local_balances"[0m
|
20663
|
+
[1m[35mStripeLocal::Balance Load (0.2ms)[0m SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
|
20664
|
+
[1m[36mStripeLocal::Balance Load (0.2ms)[0m [1mSELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1[0m
|
20665
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "stripe_local_balances" SET "updated_at" = '2013-12-01 15:48:14.932389' WHERE "stripe_local_balances"."id" = 4
|
20666
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "stripe_local_balances"[0m
|
20667
|
+
[1m[35mStripeLocal::Balance Load (0.2ms)[0m SELECT "stripe_local_balances".* FROM "stripe_local_balances" ORDER BY "stripe_local_balances"."id" DESC LIMIT 1
|
20668
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20669
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20671
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20672
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20674
|
+
[1m[36m (0.2ms)[0m [1mSELECT "stripe_local_balances"."available" FROM "stripe_local_balances"[0m
|
20675
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20676
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20678
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20679
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20681
|
+
[1m[35m (0.1ms)[0m SELECT "stripe_local_balances"."pending" FROM "stripe_local_balances"
|
20682
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20683
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20685
|
+
[1m[35m (0.0ms)[0m BEGIN
|
20686
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20688
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "stripe_local_balances"[0m
|
20689
|
+
[1m[35m (0.0ms)[0m BEGIN
|
20690
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20692
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "stripe_local_balances"[0m
|
20693
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20694
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20696
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
20697
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20699
|
+
[1m[35m (0.1ms)[0m SELECT "stripe_local_balances"."available" FROM "stripe_local_balances"
|
20700
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20701
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
20703
|
+
[1m[35m (0.0ms)[0m BEGIN
|
20704
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "stripe_local_balances" ("available", "created_at", "pending", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
20706
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
20707
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20709
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20710
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20712
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
20713
|
+
[1m[35mSQL (1.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20715
|
+
[1m[35m (0.1ms)[0m BEGIN
|
20716
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
20718
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
20719
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
20721
|
+
[1m[35m (0.2ms)[0m BEGIN
|
20722
|
+
[1m[36mSQL (1.5ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.4ms)[0m COMMIT
|
20724
|
+
[1m[36mStripeLocal::LineItem Load (0.6ms)[0m [1mSELECT "stripe_local_line_items".* FROM "stripe_local_line_items" WHERE "stripe_local_line_items"."invoice_id" = $1[0m [["invoice_id", "in_2blahblahagain"]]
|