stripe_local 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +35 -0
- data/Rakefile +29 -0
- data/app/assets/javascripts/stripe_local/application.js +13 -0
- data/app/assets/javascripts/stripe_local/cards.js +2 -0
- data/app/assets/javascripts/stripe_local/charges.js +2 -0
- data/app/assets/javascripts/stripe_local/coupons.js +2 -0
- data/app/assets/javascripts/stripe_local/customers.js +2 -0
- data/app/assets/javascripts/stripe_local/discounts.js +2 -0
- data/app/assets/javascripts/stripe_local/invoices.js +2 -0
- data/app/assets/javascripts/stripe_local/line_items.js +2 -0
- data/app/assets/javascripts/stripe_local/plans.js +2 -0
- data/app/assets/javascripts/stripe_local/subscriptions.js +2 -0
- data/app/assets/stylesheets/stripe_local/application.css +13 -0
- data/app/assets/stylesheets/stripe_local/cards.css +4 -0
- data/app/assets/stylesheets/stripe_local/charges.css +4 -0
- data/app/assets/stylesheets/stripe_local/coupons.css +4 -0
- data/app/assets/stylesheets/stripe_local/customers.css +4 -0
- data/app/assets/stylesheets/stripe_local/discounts.css +4 -0
- data/app/assets/stylesheets/stripe_local/invoices.css +4 -0
- data/app/assets/stylesheets/stripe_local/line_items.css +4 -0
- data/app/assets/stylesheets/stripe_local/plans.css +4 -0
- data/app/assets/stylesheets/stripe_local/subscriptions.css +4 -0
- data/app/callbacks/stripe_local/plan_sync.rb +33 -0
- data/app/controllers/stripe_local/application_controller.rb +4 -0
- data/app/controllers/stripe_local/cards_controller.rb +6 -0
- data/app/controllers/stripe_local/charges_controller.rb +6 -0
- data/app/controllers/stripe_local/coupons_controller.rb +6 -0
- data/app/controllers/stripe_local/customers_controller.rb +6 -0
- data/app/controllers/stripe_local/discounts_controller.rb +6 -0
- data/app/controllers/stripe_local/invoices_controller.rb +6 -0
- data/app/controllers/stripe_local/line_items_controller.rb +6 -0
- data/app/controllers/stripe_local/plans_controller.rb +6 -0
- data/app/controllers/stripe_local/subscriptions_controller.rb +6 -0
- data/app/controllers/stripe_local/webhooks_controller.rb +13 -0
- data/app/helpers/stripe_local/application_helper.rb +4 -0
- data/app/helpers/stripe_local/cards_helper.rb +4 -0
- data/app/helpers/stripe_local/charges_helper.rb +4 -0
- data/app/helpers/stripe_local/coupons_helper.rb +4 -0
- data/app/helpers/stripe_local/customers_helper.rb +4 -0
- data/app/helpers/stripe_local/discounts_helper.rb +4 -0
- data/app/helpers/stripe_local/invoices_helper.rb +4 -0
- data/app/helpers/stripe_local/line_items_helper.rb +4 -0
- data/app/helpers/stripe_local/plans_helper.rb +4 -0
- data/app/helpers/stripe_local/subscriptions_helper.rb +4 -0
- data/app/mixins/stripe_local/object_adapter.rb +33 -0
- data/app/mixins/stripe_local/sync_plans.rb +39 -0
- data/app/models/stripe_local/balance.rb +48 -0
- data/app/models/stripe_local/card.rb +39 -0
- data/app/models/stripe_local/charge.rb +63 -0
- data/app/models/stripe_local/coupon.rb +21 -0
- data/app/models/stripe_local/customer.rb +98 -0
- data/app/models/stripe_local/discount.rb +36 -0
- data/app/models/stripe_local/invoice.rb +68 -0
- data/app/models/stripe_local/line_item.rb +56 -0
- data/app/models/stripe_local/plan.rb +41 -0
- data/app/models/stripe_local/subscription.rb +50 -0
- data/app/models/stripe_local/transaction.rb +45 -0
- data/app/models/stripe_local/transfer.rb +48 -0
- data/app/validators/email_pattern_validator.rb +7 -0
- data/app/validators/full_name_pattern_validator.rb +7 -0
- data/app/validators/legal_name_pattern_validator.rb +7 -0
- data/app/validators/phone_pattern_validator.rb +17 -0
- data/app/validators/plan_id_pattern_validator.rb +7 -0
- data/app/validators/slug_pattern_validator.rb +38 -0
- data/app/validators/state_abbreviation_validator.rb +13 -0
- data/app/validators/stripe_type_validator.rb +7 -0
- data/app/validators/zip_type_validator.rb +8 -0
- data/app/views/layouts/stripe_local/application.html.erb +14 -0
- data/config/routes.rb +22 -0
- data/db/migrate/20131122063517_load_stripe_tables.rb +200 -0
- data/lib/stripe_local/engine.rb +7 -0
- data/lib/stripe_local/version.rb +3 -0
- data/lib/stripe_local/webhook/subscriber.rb +34 -0
- data/lib/stripe_local/webhook/types.rb +45 -0
- data/lib/stripe_local/webhook.rb +55 -0
- data/lib/stripe_local/webhooks.rb +20 -0
- data/lib/stripe_local.rb +48 -0
- data/lib/tasks/stripe_local_tasks.rake +4 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/models/client.rb +4 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config/application.rb +21 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +17 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +29 -0
- data/spec/dummy/config/environments/production.rb +80 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +12 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/migrate/20131102200937_create_clients.rb +11 -0
- data/spec/dummy/db/migrate/20131122104223_add_stripe_customer_id_to_clients.rb +5 -0
- data/spec/dummy/db/schema.rb +236 -0
- data/spec/dummy/log/development.log +1290 -0
- data/spec/dummy/log/test.log +7041 -0
- data/spec/dummy/public/404.html +58 -0
- data/spec/dummy/public/422.html +58 -0
- data/spec/dummy/public/500.html +57 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/spec/spec_helper.rb +42 -0
- data/spec/fixtures/client_params.json +18 -0
- data/spec/fixtures/credit_card.json +18 -0
- data/spec/fixtures/stripe_local/balance_transactions.yml +25 -0
- data/spec/fixtures/stripe_local/cards.yml +21 -0
- data/spec/fixtures/stripe_local/charges.yml +37 -0
- data/spec/fixtures/stripe_local/coupons.yml +23 -0
- data/spec/fixtures/stripe_local/customers.yml +21 -0
- data/spec/fixtures/stripe_local/discounts.yml +13 -0
- data/spec/fixtures/stripe_local/invoices.yml +37 -0
- data/spec/fixtures/stripe_local/line_items.yml +19 -0
- data/spec/fixtures/stripe_local/plans.yml +17 -0
- data/spec/fixtures/stripe_local/subscriptions.yml +25 -0
- data/spec/fixtures/stripe_local/transfers.yml +17 -0
- data/spec/models/stripe_local/balance_spec.rb +47 -0
- data/spec/models/stripe_local/card_spec.rb +13 -0
- data/spec/models/stripe_local/charge_spec.rb +13 -0
- data/spec/models/stripe_local/customer_spec.rb +17 -0
- data/spec/models/stripe_local/invoice_spec.rb +17 -0
- data/spec/models/stripe_local/plan_spec.rb +33 -0
- data/spec/models/stripe_local/subscription_spec.rb +15 -0
- data/spec/models/stripe_local/transaction_spec.rb +14 -0
- data/spec/models/stripe_local/transfer_spec.rb +13 -0
- data/spec/spec_helper.rb +19 -0
- data/spec/webhook_fixtures/balance_transaction.json +23 -0
- data/spec/webhook_fixtures/charge.succeeded.json +45 -0
- data/spec/webhook_fixtures/customer.created.json +41 -0
- data/spec/webhook_fixtures/customer.subscription.created.json +27 -0
- data/spec/webhook_fixtures/customer_creation_response.json +66 -0
- data/spec/webhook_fixtures/invoice.payment_succeeded.json +55 -0
- data/spec/webhook_fixtures/plan.created.json +12 -0
- data/spec/webhook_fixtures/transfer.json +32 -0
- metadata +403 -0
|
@@ -0,0 +1,1290 @@
|
|
|
1
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
|
2
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
3
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
4
|
+
Migrating to CreateStripeLocalCustomers (20131030062900)
|
|
5
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
6
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
7
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
8
|
+
Migrating to CreateStripeLocalCustomers (20131030062900)
|
|
9
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
10
|
+
[1m[36m (3.9ms)[0m [1mCREATE TABLE "stripe_local_customers" ("id" character varying(255), "account_balance" integer, "default_card" character varying(255), "delinquent" boolean, "description" character varying(255), "email" character varying(255), "metadata" text, "model_type" character varying(255), "model_id" integer, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
11
|
+
[1m[35m (0.7ms)[0m ROLLBACK
|
|
12
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
13
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
14
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
15
|
+
Migrating to CreateStripeLocalCustomers (20131030062900)
|
|
16
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
17
|
+
[1m[36m (5.9ms)[0m [1mCREATE TABLE "stripe_local_customers" ("id" character varying(255), "account_balance" integer, "default_card" character varying(255), "delinquent" boolean, "description" character varying(255), "email" character varying(255), "metadata" text, "model_type" character varying(255), "model_id" integer, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
18
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_stripe_local_customers_on_id" ON "stripe_local_customers" ("id")
|
|
19
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_customers_on_model_type_and_model_id" ON "stripe_local_customers" ("model_type", "model_id")[0m
|
|
20
|
+
[1m[35mSQL (1.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131030062900"]]
|
|
21
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
|
22
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
23
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
24
|
+
Migrating to CreateStripeLocalCards (20131030064604)
|
|
25
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
26
|
+
[1m[36m (4.8ms)[0m [1mCREATE TABLE "stripe_local_cards" ("id" character varying(255), "customer_id" integer, "name" character varying(255), "exp_month" integer, "exp_year" integer, "brand" character varying(255), "last4" character varying(255), "cvc_check" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
|
27
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_stripe_local_cards_on_customer_id" ON "stripe_local_cards" ("customer_id")
|
|
28
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20131030064604"]]
|
|
29
|
+
[1m[35m (0.6ms)[0m COMMIT
|
|
30
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
31
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
32
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
33
|
+
Migrating to CreateStripeLocalCards (20131030064604)
|
|
34
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
35
|
+
[1m[35m (1.3ms)[0m DROP TABLE "stripe_local_cards"
|
|
36
|
+
[1m[36mSQL (0.7ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131030064604'[0m
|
|
37
|
+
[1m[35m (1.0ms)[0m COMMIT
|
|
38
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
39
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
40
|
+
Migrating to CreateStripeLocalCards (20131030064604)
|
|
41
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
42
|
+
[1m[36m (7.1ms)[0m [1mCREATE TABLE "stripe_local_cards" ("id" character varying(255), "customer_id" integer, "name" character varying(255), "exp_month" integer, "exp_year" integer, "brand" character varying(255), "last4" character varying(255), "cvc_check" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
|
43
|
+
[1m[35m (0.8ms)[0m CREATE INDEX "index_stripe_local_cards_on_customer_id" ON "stripe_local_cards" ("customer_id")
|
|
44
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20131030064604"]]
|
|
45
|
+
[1m[35m (0.4ms)[0m COMMIT
|
|
46
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
47
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
48
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
49
|
+
Migrating to CreateStripeLocalCards (20131030064604)
|
|
50
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
51
|
+
[1m[35m (0.8ms)[0m DROP TABLE "stripe_local_cards"
|
|
52
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131030064604'[0m
|
|
53
|
+
[1m[35m (2.5ms)[0m COMMIT
|
|
54
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
55
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
56
|
+
Migrating to CreateStripeLocalCards (20131030064604)
|
|
57
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
58
|
+
[1m[36m (5.9ms)[0m [1mCREATE TABLE "stripe_local_cards" ("id" character varying(255), "customer_id" integer, "name" character varying(255), "exp_month" integer, "exp_year" integer, "brand" character varying(255), "last4" character varying(255), "cvc_check" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
|
59
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_stripe_local_cards_on_customer_id" ON "stripe_local_cards" ("customer_id")
|
|
60
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20131030064604"]]
|
|
61
|
+
[1m[35m (0.3ms)[0m COMMIT
|
|
62
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
63
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
64
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
65
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
66
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
67
|
+
Migrating to CreateStripeLocalCards (20131030064604)
|
|
68
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
69
|
+
[1m[35m (1.1ms)[0m DROP TABLE "stripe_local_cards"
|
|
70
|
+
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131030064604'[0m
|
|
71
|
+
[1m[35m (2.8ms)[0m COMMIT
|
|
72
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
73
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
74
|
+
Migrating to CreateStripeLocalCards (20131030064604)
|
|
75
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
76
|
+
[1m[36m (3.7ms)[0m [1mCREATE TABLE "stripe_local_cards" ("id" character varying(255), "customer_id" integer, "name" character varying(255), "exp_month" integer, "exp_year" integer, "brand" character varying(255), "last4" character varying(255), "cvc_check" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
|
77
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_stripe_local_cards_on_customer_id" ON "stripe_local_cards" ("customer_id")
|
|
78
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_onbaord_cards_on_id" ON "stripe_onbaord_cards" ("id")[0m
|
|
79
|
+
PG::UndefinedTable: ERROR: relation "stripe_onbaord_cards" does not exist
|
|
80
|
+
: CREATE UNIQUE INDEX "index_stripe_onbaord_cards_on_id" ON "stripe_onbaord_cards" ("id")
|
|
81
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
82
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
83
|
+
Migrating to CreateStripeLocalCards (20131030064604)
|
|
84
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
85
|
+
[1m[36m (6.5ms)[0m [1mCREATE TABLE "stripe_local_cards" ("id" character varying(255), "customer_id" integer, "name" character varying(255), "exp_month" integer, "exp_year" integer, "brand" character varying(255), "last4" character varying(255), "cvc_check" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
|
86
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_stripe_local_cards_on_customer_id" ON "stripe_local_cards" ("customer_id")
|
|
87
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_cards_on_id" ON "stripe_local_cards" ("id")[0m
|
|
88
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131030064604"]]
|
|
89
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
|
90
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
91
|
+
[1m[36mActiveRecord::SchemaMigration Load (2.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
92
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
93
|
+
Migrating to CreateStripeLocalCards (20131030064604)
|
|
94
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
95
|
+
[1m[35m (7.1ms)[0m DROP INDEX "index_stripe_local_cards_on_id"
|
|
96
|
+
[1m[36m (1.5ms)[0m [1mDROP TABLE "stripe_local_cards"[0m
|
|
97
|
+
[1m[35mSQL (1.8ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131030064604'
|
|
98
|
+
[1m[36m (114.5ms)[0m [1mCOMMIT[0m
|
|
99
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
100
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
101
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
102
|
+
Migrating to CreateStripeLocalCustomers (20131030062900)
|
|
103
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
104
|
+
[1m[35m (0.6ms)[0m DROP INDEX "index_stripe_local_customers_on_model_type_and_model_id"
|
|
105
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_customers_on_id"[0m
|
|
106
|
+
[1m[35m (0.5ms)[0m DROP TABLE "stripe_local_customers"
|
|
107
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131030062900'[0m
|
|
108
|
+
[1m[35m (4.9ms)[0m COMMIT
|
|
109
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
110
|
+
[1m[36mActiveRecord::SchemaMigration Load (2.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
111
|
+
Migrating to CreateStripeOnboardCustomers (20131030062900)
|
|
112
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
113
|
+
Migrating to CreateStripeLocalCustomers (20131030062900)
|
|
114
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
115
|
+
[1m[36m (17.4ms)[0m [1mCREATE TABLE "stripe_local_customers" ("id" character varying(255), "account_balance" integer, "default_card" character varying(255), "delinquent" boolean, "description" character varying(255), "email" character varying(255), "metadata" text, "model_type" character varying(255), "model_id" integer, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
116
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_stripe_local_customers_on_id" ON "stripe_local_customers" ("id")
|
|
117
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_stripe_local_customers_on_model_type_and_model_id" ON "stripe_local_customers" ("model_type", "model_id")[0m
|
|
118
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131030062900"]]
|
|
119
|
+
[1m[36m (103.8ms)[0m [1mCOMMIT[0m
|
|
120
|
+
Migrating to CreateStripeLocalCards (20131030064604)
|
|
121
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
122
|
+
[1m[36m (4.7ms)[0m [1mCREATE TABLE "stripe_local_cards" ("id" character varying(255), "customer_id" integer, "name" character varying(255), "exp_month" integer, "exp_year" integer, "brand" character varying(255), "last4" character varying(255), "cvc_check" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
|
123
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_stripe_local_cards_on_customer_id" ON "stripe_local_cards" ("customer_id")
|
|
124
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_cards_on_id" ON "stripe_local_cards" ("id")[0m
|
|
125
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131030064604"]]
|
|
126
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
|
127
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
128
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
129
|
+
Migrating to CreateStripeLocalPlans (20131031024841)
|
|
130
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
131
|
+
[1m[36m (7.7ms)[0m [1mCREATE TABLE "stripe_local_plans" ("id" character varying(255), "name" character varying(255), "amount" integer, "interval" character varying(255), "interval_count" integer DEFAULT 1, "trial_period_days" integer DEFAULT 0, "currency" character varying(255) DEFAULT 'usd', "subscription_id" integer, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
132
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_stripe_local_plans_on_subscription_id" ON "stripe_local_plans" ("subscription_id")
|
|
133
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_plans_on_id" ON "stripe_local_plans" ("id")[0m
|
|
134
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131031024841"]]
|
|
135
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
|
136
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
137
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
138
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
139
|
+
Migrating to CreateStripeLocalPlans (20131031024841)
|
|
140
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
141
|
+
[1m[35m (2.9ms)[0m DROP INDEX "index_stripe_local_plans_on_id"
|
|
142
|
+
[1m[36m (1.0ms)[0m [1mDROP TABLE "stripe_local_plans"[0m
|
|
143
|
+
[1m[35mSQL (1.5ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131031024841'
|
|
144
|
+
[1m[36m (1.0ms)[0m [1mCOMMIT[0m
|
|
145
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
146
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
147
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
148
|
+
Migrating to CreateStripeLocalCards (20131030064604)
|
|
149
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
150
|
+
[1m[35m (0.4ms)[0m DROP INDEX "index_stripe_local_cards_on_id"
|
|
151
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "stripe_local_cards"[0m
|
|
152
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131030064604'
|
|
153
|
+
[1m[36m (4.9ms)[0m [1mCOMMIT[0m
|
|
154
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
155
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
156
|
+
Migrating to CreateStripeLocalCards (20131030064604)
|
|
157
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
158
|
+
[1m[36m (3.8ms)[0m [1mCREATE TABLE "stripe_local_cards" ("id" character varying(255), "customer_id" character varying(255), "name" character varying(255), "exp_month" integer, "exp_year" integer, "brand" character varying(255), "last4" character varying(255), "cvc_check" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
|
159
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_stripe_local_cards_on_id" ON "stripe_local_cards" ("id")
|
|
160
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20131030064604"]]
|
|
161
|
+
[1m[35m (0.6ms)[0m COMMIT
|
|
162
|
+
Migrating to CreateStripeLocalPlans (20131031024841)
|
|
163
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
164
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "stripe_local_plans" ("id" character varying(255), "subscription_id" character varying(255), "name" character varying(255), "amount" integer, "interval" character varying(255), "interval_count" integer DEFAULT 1, "trial_period_days" integer DEFAULT 0, "currency" character varying(255) DEFAULT 'usd', "created_at" timestamp, "updated_at" timestamp)
|
|
165
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_plans_on_id" ON "stripe_local_plans" ("id")[0m
|
|
166
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131031024841"]]
|
|
167
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
|
168
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
169
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
170
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
171
|
+
Migrating to CreateStripeLocalPlans (20131031024841)
|
|
172
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
173
|
+
[1m[35m (0.5ms)[0m DROP INDEX "index_stripe_local_plans_on_id"
|
|
174
|
+
[1m[36m (0.7ms)[0m [1mDROP TABLE "stripe_local_plans"[0m
|
|
175
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131031024841'
|
|
176
|
+
[1m[36m (2.7ms)[0m [1mCOMMIT[0m
|
|
177
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
178
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
179
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
180
|
+
Migrating to CreateStripeLocalCards (20131030064604)
|
|
181
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
182
|
+
[1m[35m (0.5ms)[0m DROP INDEX "index_stripe_local_cards_on_id"
|
|
183
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "stripe_local_cards"[0m
|
|
184
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131030064604'
|
|
185
|
+
[1m[36m (3.1ms)[0m [1mCOMMIT[0m
|
|
186
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
187
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
188
|
+
Migrating to CreateStripeLocalCards (20131030064604)
|
|
189
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
190
|
+
[1m[36m (2.1ms)[0m [1mCREATE TABLE "stripe_local_cards" ("id" character varying(255), "customer_id" character varying(255), "name" character varying(255), "exp_month" integer, "exp_year" integer, "brand" character varying(255), "last4" character varying(255), "cvc_check" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
|
191
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_stripe_local_cards_on_id" ON "stripe_local_cards" ("id")
|
|
192
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_cards_on_customer_id" ON "stripe_local_cards" ("customer_id")[0m
|
|
193
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131030064604"]]
|
|
194
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
|
195
|
+
Migrating to CreateStripeLocalPlans (20131031024841)
|
|
196
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
197
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "stripe_local_plans" ("id" character varying(255), "subscription_id" character varying(255), "name" character varying(255), "amount" integer, "interval" character varying(255), "interval_count" integer DEFAULT 1, "trial_period_days" integer DEFAULT 0, "currency" character varying(255) DEFAULT 'usd', "created_at" timestamp, "updated_at" timestamp) [0m
|
|
198
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_stripe_local_plans_on_id" ON "stripe_local_plans" ("id")
|
|
199
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_plans_on_subscription_id" ON "stripe_local_plans" ("subscription_id")[0m
|
|
200
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131031024841"]]
|
|
201
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
|
202
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
203
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
204
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
205
|
+
Migrating to CreateStripeLocalPlans (20131031024841)
|
|
206
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
207
|
+
[1m[35m (0.7ms)[0m DROP INDEX "index_stripe_local_plans_on_subscription_id"
|
|
208
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_plans_on_id"[0m
|
|
209
|
+
[1m[35m (0.8ms)[0m DROP TABLE "stripe_local_plans"
|
|
210
|
+
[1m[36mSQL (0.4ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131031024841'[0m
|
|
211
|
+
[1m[35m (127.2ms)[0m COMMIT
|
|
212
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
213
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
214
|
+
Migrating to CreateStripeLocalPlans (20131031024841)
|
|
215
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
216
|
+
[1m[36m (4.5ms)[0m [1mCREATE TABLE "stripe_local_plans" ("id" character varying(255), "name" character varying(255), "amount" integer, "interval" character varying(255), "interval_count" integer DEFAULT 1, "trial_period_days" integer DEFAULT 0, "currency" character varying(255) DEFAULT 'usd', "created_at" timestamp, "updated_at" timestamp) [0m
|
|
217
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_stripe_local_plans_on_id" ON "stripe_local_plans" ("id")
|
|
218
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20131031024841"]]
|
|
219
|
+
[1m[35m (0.6ms)[0m COMMIT
|
|
220
|
+
Migrating to CreateStripeLocalCoupons (20131031032453)
|
|
221
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
222
|
+
[1m[35m (4.5ms)[0m CREATE TABLE "stripe_local_coupons" ("id" character varying(255), "percent_off" integer, "amount_off" integer, "currency" character varying(255) DEFAULT 'usd', "duration" character varying(255), "redeem_by" timestamp, "max_redemptions" integer, "times_redeemed" integer DEFAULT 0, "duration_in_months" integer, "created_at" timestamp, "updated_at" timestamp)
|
|
223
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_coupons_on_id" ON "stripe_local_coupons" ("id")[0m
|
|
224
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131031032453"]]
|
|
225
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
|
226
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
227
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.9ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
228
|
+
Migrating to CreateStripeLocalDiscounts (20131101034057)
|
|
229
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
230
|
+
[1m[36m (24.5ms)[0m [1mCREATE TABLE "stripe_local_discounts" ("id" serial primary key, "coupon_id" character varying(255), "subscription_id" character varying(255), "start" timestamp, "end" timestamp, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
231
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_stripe_local_discounts_on_coupon_id_and_subscription_id" ON "stripe_local_discounts" ("coupon_id", "subscription_id")
|
|
232
|
+
[1m[36mSQL (1.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20131101034057"]]
|
|
233
|
+
[1m[35m (97.5ms)[0m COMMIT
|
|
234
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
235
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
236
|
+
Migrating to CreateStripeLocalSubscriptions (20131101092526)
|
|
237
|
+
[1m[35m (0.4ms)[0m BEGIN
|
|
238
|
+
[1m[36m (9.7ms)[0m [1mCREATE TABLE "stripe_local_subscriptions" ("id" character varying(255), "customer_id" character varying(255), "status" character varying(255), "quantity" integer, "start" timestamp, "canceled_at" timestamp, "ended_at" timestamp, "current_period_start" timestamp, "current_period_end" timestamp, "trial_start" timestamp, "trial_end" timestamp, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
239
|
+
[1m[35m (5.9ms)[0m CREATE UNIQUE INDEX "index_subscription_on_id" ON "subscription" ("id")
|
|
240
|
+
PG::UndefinedTable: ERROR: relation "subscription" does not exist
|
|
241
|
+
: CREATE UNIQUE INDEX "index_subscription_on_id" ON "subscription" ("id")
|
|
242
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
243
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
244
|
+
Migrating to CreateStripeLocalSubscriptions (20131101092526)
|
|
245
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
246
|
+
[1m[36m (4.0ms)[0m [1mCREATE TABLE "stripe_local_subscriptions" ("id" character varying(255), "customer_id" character varying(255), "plan_id" character varying(255), "status" character varying(255), "quantity" integer, "start" timestamp, "canceled_at" timestamp, "ended_at" timestamp, "current_period_start" timestamp, "current_period_end" timestamp, "trial_start" timestamp, "trial_end" timestamp, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
247
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_subscription_on_id" ON "subscription" ("id")
|
|
248
|
+
PG::UndefinedTable: ERROR: relation "subscription" does not exist
|
|
249
|
+
: CREATE UNIQUE INDEX "index_subscription_on_id" ON "subscription" ("id")
|
|
250
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
251
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
252
|
+
Migrating to CreateStripeLocalSubscriptions (20131101092526)
|
|
253
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
254
|
+
[1m[36m (3.5ms)[0m [1mCREATE TABLE "stripe_local_subscriptions" ("id" character varying(255), "customer_id" character varying(255), "plan_id" character varying(255), "status" character varying(255), "quantity" integer, "start" timestamp, "canceled_at" timestamp, "ended_at" timestamp, "current_period_start" timestamp, "current_period_end" timestamp, "trial_start" timestamp, "trial_end" timestamp, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
255
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_stripe_local_subscription_on_id" ON "stripe_local_subscription" ("id")
|
|
256
|
+
PG::UndefinedTable: ERROR: relation "stripe_local_subscription" does not exist
|
|
257
|
+
: CREATE UNIQUE INDEX "index_stripe_local_subscription_on_id" ON "stripe_local_subscription" ("id")
|
|
258
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
259
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
260
|
+
Migrating to CreateStripeLocalSubscriptions (20131101092526)
|
|
261
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
262
|
+
[1m[36m (4.1ms)[0m [1mCREATE TABLE "stripe_local_subscriptions" ("id" character varying(255), "customer_id" character varying(255), "plan_id" character varying(255), "status" character varying(255), "quantity" integer, "start" timestamp, "canceled_at" timestamp, "ended_at" timestamp, "current_period_start" timestamp, "current_period_end" timestamp, "trial_start" timestamp, "trial_end" timestamp, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
263
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_stripe_local_subscription_on_id" ON "stripe_local_subscription" ("id")
|
|
264
|
+
PG::UndefinedTable: ERROR: relation "stripe_local_subscription" does not exist
|
|
265
|
+
: CREATE UNIQUE INDEX "index_stripe_local_subscription_on_id" ON "stripe_local_subscription" ("id")
|
|
266
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
|
267
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
268
|
+
Migrating to CreateStripeLocalSubscriptions (20131101092526)
|
|
269
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
270
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "stripe_local_subscriptions" ("id" character varying(255), "customer_id" character varying(255), "plan_id" character varying(255), "status" character varying(255), "quantity" integer, "start" timestamp, "canceled_at" timestamp, "ended_at" timestamp, "current_period_start" timestamp, "current_period_end" timestamp, "trial_start" timestamp, "trial_end" timestamp, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
271
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_stripe_local_subscriptions_on_id" ON "stripe_local_subscriptions" ("id")
|
|
272
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_subscriptions_on_customer_id" ON "stripe_local_subscriptions" ("customer_id")[0m
|
|
273
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_stripe_local_subscriptions_on_plan_id" ON "stripe_local_subscriptions" ("plan_id")
|
|
274
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20131101092526"]]
|
|
275
|
+
[1m[35m (0.4ms)[0m COMMIT
|
|
276
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
277
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
278
|
+
Migrating to CreateStripeLocalInvoices (20131101110359)
|
|
279
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
280
|
+
[1m[36m (19.3ms)[0m [1mCREATE TABLE "stripe_local_invoices" ("id" serial primary key, "customer_id" character varying(255), "amount_due" integer, "attempt_count" integer, "attempted" boolean, "closed" boolean, "currency" character varying(255), "date" timestamp, "paid" boolean, "period_start" timestamp, "period_end" timestamp, "starting_balance" integer, "subtotal" integer, "total" integer, "charge_id" character varying(255), "ending_balance" integer, "next_payment_attempt" timestamp, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
281
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131101110359"]]
|
|
282
|
+
[1m[36m (108.9ms)[0m [1mCOMMIT[0m
|
|
283
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
284
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
285
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
286
|
+
Migrating to CreateStripeLocalInvoices (20131101110359)
|
|
287
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
288
|
+
[1m[35m (6.2ms)[0m DROP TABLE "stripe_local_invoices"
|
|
289
|
+
[1m[36mSQL (1.7ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131101110359'[0m
|
|
290
|
+
[1m[35m (1.3ms)[0m COMMIT
|
|
291
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
292
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
293
|
+
Migrating to CreateStripeLocalInvoices (20131101110359)
|
|
294
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
295
|
+
[1m[36m (2.5ms)[0m [1mCREATE TABLE "stripe_local_invoices" ("id" character varying(255), "customer_id" character varying(255), "amount_due" integer, "attempt_count" integer, "attempted" boolean, "closed" boolean, "currency" character varying(255), "date" timestamp, "paid" boolean, "period_start" timestamp, "period_end" timestamp, "starting_balance" integer, "subtotal" integer, "total" integer, "charge_id" character varying(255), "ending_balance" integer, "next_payment_attempt" timestamp, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
296
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_stripe_local_invoices_on_id" ON "stripe_local_invoices" ("id")
|
|
297
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_invoices_on_customer_id" ON "stripe_local_invoices" ("customer_id")[0m
|
|
298
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131101110359"]]
|
|
299
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
|
300
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
301
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
302
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
303
|
+
Migrating to CreateStripeLocalInvoices (20131101110359)
|
|
304
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
305
|
+
[1m[35m (0.4ms)[0m DROP INDEX "index_stripe_local_invoices_on_customer_id"
|
|
306
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_invoices_on_id"[0m
|
|
307
|
+
[1m[35m (0.4ms)[0m DROP TABLE "stripe_local_invoices"
|
|
308
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131101110359'[0m
|
|
309
|
+
[1m[35m (1.2ms)[0m COMMIT
|
|
310
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
311
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.9ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
312
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
313
|
+
Migrating to CreateStripeLocalSubscriptions (20131101092526)
|
|
314
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
315
|
+
[1m[35m (0.5ms)[0m DROP INDEX "index_stripe_local_subscriptions_on_plan_id"
|
|
316
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_subscriptions_on_customer_id"[0m
|
|
317
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_subscriptions_on_id"
|
|
318
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "stripe_local_subscriptions"[0m
|
|
319
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131101092526'
|
|
320
|
+
[1m[36m (5.5ms)[0m [1mCOMMIT[0m
|
|
321
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
322
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
323
|
+
Migrating to CreateStripeLocalSubscriptions (20131101092526)
|
|
324
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
325
|
+
[1m[36m (3.4ms)[0m [1mCREATE TABLE "stripe_local_subscriptions" ("id" character varying(255), "customer_id" character varying(255), "plan_id" character varying(255), "status" character varying(255), "quantity" integer DEFAULT 1, "start" timestamp, "canceled_at" timestamp, "ended_at" timestamp, "current_period_start" timestamp, "current_period_end" timestamp, "trial_start" timestamp, "trial_end" timestamp, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
326
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_stripe_local_subscriptions_on_id" ON "stripe_local_subscriptions" ("id")
|
|
327
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_subscriptions_on_customer_id" ON "stripe_local_subscriptions" ("customer_id")[0m
|
|
328
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_stripe_local_subscriptions_on_plan_id" ON "stripe_local_subscriptions" ("plan_id")
|
|
329
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20131101092526"]]
|
|
330
|
+
[1m[35m (0.7ms)[0m COMMIT
|
|
331
|
+
Migrating to CreateStripeLocalInvoices (20131101110359)
|
|
332
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
333
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "stripe_local_invoices" ("id" character varying(255), "customer_id" character varying(255), "amount_due" integer, "attempt_count" integer, "attempted" boolean, "closed" boolean, "currency" character varying(255) DEFAULT 'usd', "date" timestamp, "paid" boolean, "period_start" timestamp, "period_end" timestamp, "starting_balance" integer, "subtotal" integer, "total" integer, "charge_id" character varying(255), "ending_balance" integer, "next_payment_attempt" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
334
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_invoices_on_id" ON "stripe_local_invoices" ("id")[0m
|
|
335
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_invoices_on_customer_id" ON "stripe_local_invoices" ("customer_id")
|
|
336
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20131101110359"]]
|
|
337
|
+
[1m[35m (0.3ms)[0m COMMIT
|
|
338
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
339
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
340
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
341
|
+
Migrating to CreateStripeLocalInvoices (20131101110359)
|
|
342
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
343
|
+
[1m[35m (0.5ms)[0m DROP INDEX "index_stripe_local_invoices_on_customer_id"
|
|
344
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_invoices_on_id"[0m
|
|
345
|
+
[1m[35m (0.7ms)[0m DROP TABLE "stripe_local_invoices"
|
|
346
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131101110359'[0m
|
|
347
|
+
[1m[35m (1.0ms)[0m COMMIT
|
|
348
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
349
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
350
|
+
Migrating to CreateStripeLocalInvoices (20131101110359)
|
|
351
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
352
|
+
[1m[36m (4.9ms)[0m [1mCREATE TABLE "stripe_local_invoices" ("id" character varying(255), "customer_id" character varying(255), "amount_due" integer, "attempt_count" integer, "attempted" boolean, "closed" boolean, "currency" character varying(255) DEFAULT 'usd', "date" timestamp, "paid" boolean, "period_start" timestamp, "period_end" timestamp, "starting_balance" integer, "subtotal" integer, "total" integer, "charge_id" character varying(255), "ending_balance" integer, "next_payment_attempt" timestamp, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
353
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_stripe_local_invoices_on_id" ON "stripe_local_invoices" ("id")
|
|
354
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_invoices_on_customer_id" ON "stripe_local_invoices" ("customer_id")[0m
|
|
355
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131101110359"]]
|
|
356
|
+
[1m[36m (109.6ms)[0m [1mCOMMIT[0m
|
|
357
|
+
Migrating to CreateStripeLocalLineItems (20131101134517)
|
|
358
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
359
|
+
[1m[36m (1.5ms)[0m [1mCREATE TABLE "stripe_local_line_items" ("id" character varying(255), "subscription" boolean DEFAULT 't', "amount" integer, "currency" character varying(255) DEFAULT 'usd', "date" timestamp, "proration" boolean, "description" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
360
|
+
[1m[35m (5.0ms)[0m CREATE UNIQUE INDEX "index_stripe_local_line_items_on_id" ON "stripe_local_line_items" ("id")
|
|
361
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20131101134517"]]
|
|
362
|
+
[1m[35m (0.4ms)[0m COMMIT
|
|
363
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
364
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
365
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
366
|
+
Migrating to CreateStripeLocalLineItems (20131101134517)
|
|
367
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
368
|
+
[1m[35m (0.4ms)[0m DROP INDEX "index_stripe_local_line_items_on_id"
|
|
369
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "stripe_local_line_items"[0m
|
|
370
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131101134517'
|
|
371
|
+
[1m[36m (102.3ms)[0m [1mCOMMIT[0m
|
|
372
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
373
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
374
|
+
Migrating to CreateStripeLocalLineItems (20131101134517)
|
|
375
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
376
|
+
[1m[36m (4.2ms)[0m [1mCREATE TABLE "stripe_local_line_items" ("id" character varying(255), "invoice_id" character varying(255), "subscription" boolean DEFAULT 't', "amount" integer, "currency" character varying(255) DEFAULT 'usd', "date" timestamp, "proration" boolean, "description" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
377
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_stripe_local_line_items_on_id" ON "stripe_local_line_items" ("id")
|
|
378
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_line_items_on_invoice_id" ON "stripe_local_line_items" ("invoice_id")[0m
|
|
379
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131101134517"]]
|
|
380
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
|
381
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
382
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
383
|
+
Migrating to CreateStripeLocalCharges (20131101171503)
|
|
384
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
385
|
+
[1m[36m (5.2ms)[0m [1mCREATE TABLE "stripe_local_charges" ("id" character varying(255), "card_id" character varying(255), "customer_id" character varying(255), "invoice_id" character varying(255), "balance_transaction_id" character varying(255), "amount" integer, "captured" boolean DEFAULT 't', "refunded" boolean DEFAULT 'f', "paid" boolean, "created" timestamp, "currency" character varying(255) DEFAULT 'usd', "amount_refunded" integer DEFAULT 0, "description" character varying(255), "failure_code" character varying(255), "failure_message" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
386
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_stripe_local_charges_on_id" ON "stripe_local_charges" ("id")
|
|
387
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_charges_on_card_id" ON "stripe_local_charges" ("card_id")[0m
|
|
388
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_stripe_local_charges_on_customer_id" ON "stripe_local_charges" ("customer_id")
|
|
389
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_charges_on_invoice_id" ON "stripe_local_charges" ("invoice_id")[0m
|
|
390
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_stripe_local_charges_on_balance_transaction_id" ON "stripe_local_charges" ("balance_transaction_id")
|
|
391
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20131101171503"]]
|
|
392
|
+
[1m[35m (0.6ms)[0m COMMIT
|
|
393
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
394
|
+
[1m[36mActiveRecord::SchemaMigration Load (2.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
395
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
396
|
+
Migrating to CreateStripeLocalCharges (20131101171503)
|
|
397
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
398
|
+
[1m[35m (7.2ms)[0m DROP INDEX "index_stripe_local_charges_on_balance_transaction_id"
|
|
399
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_charges_on_invoice_id"[0m
|
|
400
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_charges_on_customer_id"
|
|
401
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_charges_on_card_id"[0m
|
|
402
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_charges_on_id"
|
|
403
|
+
[1m[36m (2.6ms)[0m [1mDROP TABLE "stripe_local_charges"[0m
|
|
404
|
+
[1m[35mSQL (1.9ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131101171503'
|
|
405
|
+
[1m[36m (120.0ms)[0m [1mCOMMIT[0m
|
|
406
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
407
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
408
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
409
|
+
Migrating to CreateStripeLocalLineItems (20131101134517)
|
|
410
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
411
|
+
[1m[35m (0.5ms)[0m DROP INDEX "index_stripe_local_line_items_on_invoice_id"
|
|
412
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_line_items_on_id"[0m
|
|
413
|
+
[1m[35m (0.6ms)[0m DROP TABLE "stripe_local_line_items"
|
|
414
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131101134517'[0m
|
|
415
|
+
[1m[35m (4.9ms)[0m COMMIT
|
|
416
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
417
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
418
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
419
|
+
Migrating to CreateStripeLocalInvoices (20131101110359)
|
|
420
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
421
|
+
[1m[35m (0.5ms)[0m DROP INDEX "index_stripe_local_invoices_on_customer_id"
|
|
422
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_invoices_on_id"[0m
|
|
423
|
+
[1m[35m (0.5ms)[0m DROP TABLE "stripe_local_invoices"
|
|
424
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131101110359'[0m
|
|
425
|
+
[1m[35m (4.7ms)[0m COMMIT
|
|
426
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
427
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
428
|
+
Migrating to CreateStripeLocalInvoices (20131101110359)
|
|
429
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
430
|
+
[1m[36m (8.1ms)[0m [1mCREATE TABLE "stripe_local_invoices" ("id" character varying(255), "customer_id" character varying(255), "amount_due" integer, "subtotal" integer, "total" integer, "attempted" boolean, "attempt_count" integer, "paid" boolean, "closed" boolean, "date" timestamp, "period_start" timestamp, "period_end" timestamp, "currency" character varying(255) DEFAULT 'usd', "starting_balance" integer, "ending_balance" integer, "charge_id" character varying(255), "discount" integer DEFAULT 0, "application_fee" integer, "next_payment_attempt" timestamp, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
431
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_stripe_local_invoices_on_id" ON "stripe_local_invoices" ("id")
|
|
432
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_invoices_on_customer_id" ON "stripe_local_invoices" ("customer_id")[0m
|
|
433
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131101110359"]]
|
|
434
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
|
435
|
+
Migrating to CreateStripeLocalLineItems (20131101134517)
|
|
436
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
437
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "stripe_local_line_items" ("id" character varying(255), "invoice_id" character varying(255), "subscription" boolean DEFAULT 't', "amount" integer, "currency" character varying(255) DEFAULT 'usd', "proration" boolean, "period_start" timestamp, "period_end" timestamp, "quantity" integer, "plan_id" character varying(255), "description" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
438
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_stripe_local_line_items_on_id" ON "stripe_local_line_items" ("id")
|
|
439
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_line_items_on_invoice_id" ON "stripe_local_line_items" ("invoice_id")[0m
|
|
440
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131101134517"]]
|
|
441
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
|
442
|
+
Migrating to CreateStripeLocalCharges (20131101171503)
|
|
443
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
444
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "stripe_local_charges" ("id" character varying(255), "card_id" character varying(255), "customer_id" character varying(255), "invoice_id" character varying(255), "balance_transaction_id" character varying(255), "amount" integer, "captured" boolean DEFAULT 't', "refunded" boolean DEFAULT 'f', "paid" boolean, "created" timestamp, "currency" character varying(255) DEFAULT 'usd', "amount_refunded" integer DEFAULT 0, "description" character varying(255), "failure_code" character varying(255), "failure_message" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
445
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_stripe_local_charges_on_id" ON "stripe_local_charges" ("id")
|
|
446
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_charges_on_card_id" ON "stripe_local_charges" ("card_id")[0m
|
|
447
|
+
[1m[35m (0.4ms)[0m CREATE INDEX "index_stripe_local_charges_on_customer_id" ON "stripe_local_charges" ("customer_id")
|
|
448
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_charges_on_invoice_id" ON "stripe_local_charges" ("invoice_id")[0m
|
|
449
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_charges_on_balance_transaction_id" ON "stripe_local_charges" ("balance_transaction_id")
|
|
450
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20131101171503"]]
|
|
451
|
+
[1m[35m (0.3ms)[0m COMMIT
|
|
452
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
453
|
+
[1m[36mActiveRecord::SchemaMigration Load (2.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
454
|
+
Migrating to CreateClients (20131102200937)
|
|
455
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
456
|
+
[1m[36m (20.6ms)[0m [1mCREATE TABLE "clients" ("id" serial primary key, "name" character varying(255), "email" character varying(255), "password" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
|
457
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131102200937"]]
|
|
458
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
|
459
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
460
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
461
|
+
[1m[35mSQL (6.0ms)[0m INSERT INTO "clients" ("created_at", "email", "name", "password", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Sat, 02 Nov 2013 20:27:18 UTC +00:00], ["email", "andy@setpoint.io"], ["name", "Test Client"], ["password", "password"], ["updated_at", Sat, 02 Nov 2013 20:27:18 UTC +00:00]]
|
|
462
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
|
463
|
+
[1m[36mClient Load (2.4ms)[0m [1mSELECT "clients".* FROM "clients" WHERE "clients"."id" = $1 LIMIT 1[0m [["id", 1]]
|
|
464
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
465
|
+
[1m[36mSQL (6.0ms)[0m [1mINSERT INTO "stripe_local_customers" ("created_at", "model_id", "model_type", "updated_at") VALUES ($1, $2, $3, $4)[0m [["created_at", Sat, 02 Nov 2013 20:28:48 UTC +00:00], ["model_id", 1], ["model_type", "Client"], ["updated_at", Sat, 02 Nov 2013 20:28:48 UTC +00:00]]
|
|
466
|
+
[1m[35m (0.5ms)[0m COMMIT
|
|
467
|
+
[1m[36mStripeLocal::Customer Load (2.3ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = $1 AND "stripe_local_customers"."model_type" = $2 LIMIT 1[0m [["model_id", 1], ["model_type", "Client"]]
|
|
468
|
+
[1m[35m (0.4ms)[0m BEGIN
|
|
469
|
+
[1m[36mSQL (1.0ms)[0m [1mUPDATE "stripe_local_customers" SET "model_id" = $1, "updated_at" = $2 WHERE "stripe_local_customers"."" IS NULL[0m [["model_id", nil], ["updated_at", Sat, 02 Nov 2013 20:28:48 UTC +00:00]]
|
|
470
|
+
PG::SyntaxError: ERROR: zero-length delimited identifier at or near """"
|
|
471
|
+
LINE 1: ... "updated_at" = $2 WHERE "stripe_local_customers"."" IS NULL
|
|
472
|
+
^
|
|
473
|
+
: UPDATE "stripe_local_customers" SET "model_id" = $1, "updated_at" = $2 WHERE "stripe_local_customers"."" IS NULL
|
|
474
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
475
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
476
|
+
[1m[35mSQL (0.6ms)[0m UPDATE "stripe_local_customers" SET "updated_at" = $1 WHERE "stripe_local_customers"."" IS NULL [["updated_at", Sat, 02 Nov 2013 20:28:48 UTC +00:00]]
|
|
477
|
+
PG::SyntaxError: ERROR: zero-length delimited identifier at or near """"
|
|
478
|
+
LINE 1: ... "updated_at" = $1 WHERE "stripe_local_customers"."" IS NULL
|
|
479
|
+
^
|
|
480
|
+
: UPDATE "stripe_local_customers" SET "updated_at" = $1 WHERE "stripe_local_customers"."" IS NULL
|
|
481
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
|
482
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
483
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "stripe_local_customers" SET "updated_at" = $1, "id" = $2 WHERE "stripe_local_customers"."" = 'cust_123'[0m [["updated_at", Sat, 02 Nov 2013 20:28:48 UTC +00:00], ["id", "cust_123"]]
|
|
484
|
+
PG::SyntaxError: ERROR: zero-length delimited identifier at or near """"
|
|
485
|
+
LINE 1: ...t" = $1, "id" = $2 WHERE "stripe_local_customers"."" = 'cust...
|
|
486
|
+
^
|
|
487
|
+
: UPDATE "stripe_local_customers" SET "updated_at" = $1, "id" = $2 WHERE "stripe_local_customers"."" = 'cust_123'
|
|
488
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
489
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
490
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "stripe_local_customers" SET "updated_at" = $1, "id" = $2 WHERE "stripe_local_customers"."" = 'cust_123' [["updated_at", Sat, 02 Nov 2013 20:28:48 UTC +00:00], ["id", "cust_123"]]
|
|
491
|
+
PG::SyntaxError: ERROR: zero-length delimited identifier at or near """"
|
|
492
|
+
LINE 1: ...t" = $1, "id" = $2 WHERE "stripe_local_customers"."" = 'cust...
|
|
493
|
+
^
|
|
494
|
+
: UPDATE "stripe_local_customers" SET "updated_at" = $1, "id" = $2 WHERE "stripe_local_customers"."" = 'cust_123'
|
|
495
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
|
496
|
+
[1m[36mClient Load (2.9ms)[0m [1mSELECT "clients".* FROM "clients" WHERE "clients"."id" = $1 LIMIT 1[0m [["id", 1]]
|
|
497
|
+
[1m[35mStripeLocal::Customer Load (1.0ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = $1 AND "stripe_local_customers"."model_type" = $2 ORDER BY "stripe_local_customers"."id" ASC LIMIT 1 [["model_id", 1], ["model_type", "Client"]]
|
|
498
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
499
|
+
[1m[35mSQL (1.5ms)[0m UPDATE "stripe_local_customers" SET "id" = $1, "updated_at" = $2 WHERE "stripe_local_customers"."id" = 'cust_123' [["id", "cust_123"], ["updated_at", Sat, 02 Nov 2013 20:35:19 UTC +00:00]]
|
|
500
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
|
501
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
502
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "clients" ("created_at", "email", "name", "password", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["created_at", Sat, 02 Nov 2013 20:51:18 UTC +00:00], ["email", "outlawandy@gmail.com"], ["name", "Client Two"], ["password", "password"], ["updated_at", Sat, 02 Nov 2013 20:51:18 UTC +00:00]]
|
|
503
|
+
[1m[35m (1.8ms)[0m COMMIT
|
|
504
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
505
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "stripe_local_customers" ("created_at", "id", "model_id", "model_type", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Sat, 02 Nov 2013 20:51:49 UTC +00:00], ["id", "cust_abc321"], ["model_id", 2], ["model_type", "Client"], ["updated_at", Sat, 02 Nov 2013 20:51:49 UTC +00:00]]
|
|
506
|
+
[1m[36m (2.2ms)[0m [1mCOMMIT[0m
|
|
507
|
+
[1m[35mStripeLocal::Customer Load (0.4ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."model_id" = $1 AND "stripe_local_customers"."model_type" = $2 ORDER BY "stripe_local_customers"."id" ASC LIMIT 1 [["model_id", 2], ["model_type", "Client"]]
|
|
508
|
+
[1m[36mClient Load (1.0ms)[0m [1mSELECT "clients".* FROM "clients" WHERE "clients"."id" = $1 ORDER BY "clients"."id" ASC LIMIT 1[0m [["id", 2]]
|
|
509
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
510
|
+
[1m[35mSQL (3.5ms)[0m INSERT INTO "clients" ("created_at", "email", "name", "password", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Sat, 02 Nov 2013 21:11:57 UTC +00:00], ["email", "test@tester.es"], ["name", "Testie J Testicles III"], ["password", "password"], ["updated_at", Sat, 02 Nov 2013 21:11:57 UTC +00:00]]
|
|
511
|
+
[1m[36m (43.8ms)[0m [1mCOMMIT[0m
|
|
512
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
513
|
+
[1m[35mSQL (8.4ms)[0m INSERT INTO "clients" ("created_at", "email", "name", "password", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Sun, 10 Nov 2013 12:46:05 UTC +00:00], ["email", "andy@setpoint.io"], ["name", "Andy Cohen"], ["password", "password"], ["updated_at", Sun, 10 Nov 2013 12:46:05 UTC +00:00]]
|
|
514
|
+
[1m[36m (92.6ms)[0m [1mCOMMIT[0m
|
|
515
|
+
[1m[36mClient Load (7.2ms)[0m [1mSELECT "clients".* FROM "clients" WHERE "clients"."id" = $1 LIMIT 1[0m [["id", 1]]
|
|
516
|
+
[1m[36mClient Load (2.7ms)[0m [1mSELECT "clients".* FROM "clients" WHERE "clients"."id" = $1 LIMIT 1[0m [["id", 1]]
|
|
517
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
518
|
+
[1m[36mSQL (7.0ms)[0m [1mINSERT INTO "stripe_local_customers" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Tue, 12 Nov 2013 07:20:34 CST -06:00], ["updated_at", Tue, 12 Nov 2013 07:20:34 CST -06:00]]
|
|
519
|
+
[1m[35m (108.0ms)[0m COMMIT
|
|
520
|
+
[1m[36mActiveRecord::SchemaMigration Load (2.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
521
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
522
|
+
Migrating to CreateClients (20131102200937)
|
|
523
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
524
|
+
[1m[35m (11.4ms)[0m DROP TABLE "clients"
|
|
525
|
+
[1m[36mSQL (2.6ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131102200937'[0m
|
|
526
|
+
[1m[35m (141.2ms)[0m COMMIT
|
|
527
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
528
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
529
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
530
|
+
Migrating to CreateStripeLocalCharges (20131101171503)
|
|
531
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
532
|
+
[1m[35m (0.6ms)[0m DROP INDEX "index_stripe_local_charges_on_balance_transaction_id"
|
|
533
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_charges_on_invoice_id"[0m
|
|
534
|
+
[1m[35m (0.2ms)[0m DROP INDEX "index_stripe_local_charges_on_customer_id"
|
|
535
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_charges_on_card_id"[0m
|
|
536
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_charges_on_id"
|
|
537
|
+
[1m[36m (0.7ms)[0m [1mDROP TABLE "stripe_local_charges"[0m
|
|
538
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131101171503'
|
|
539
|
+
[1m[36m (6.7ms)[0m [1mCOMMIT[0m
|
|
540
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
541
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
542
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
543
|
+
Migrating to CreateStripeLocalLineItems (20131101134517)
|
|
544
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
545
|
+
[1m[35m (0.4ms)[0m DROP INDEX "index_stripe_local_line_items_on_invoice_id"
|
|
546
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_line_items_on_id"[0m
|
|
547
|
+
[1m[35m (0.5ms)[0m DROP TABLE "stripe_local_line_items"
|
|
548
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131101134517'[0m
|
|
549
|
+
[1m[35m (6.2ms)[0m COMMIT
|
|
550
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
551
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
552
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
553
|
+
Migrating to CreateStripeLocalInvoices (20131101110359)
|
|
554
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
555
|
+
[1m[35m (0.4ms)[0m DROP INDEX "index_stripe_local_invoices_on_customer_id"
|
|
556
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_invoices_on_id"[0m
|
|
557
|
+
[1m[35m (0.6ms)[0m DROP TABLE "stripe_local_invoices"
|
|
558
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131101110359'[0m
|
|
559
|
+
[1m[35m (6.2ms)[0m COMMIT
|
|
560
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
561
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
562
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
563
|
+
Migrating to CreateStripeLocalSubscriptions (20131101092526)
|
|
564
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
565
|
+
[1m[35m (0.5ms)[0m DROP INDEX "index_stripe_local_subscriptions_on_plan_id"
|
|
566
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_subscriptions_on_customer_id"[0m
|
|
567
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_subscriptions_on_id"
|
|
568
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "stripe_local_subscriptions"[0m
|
|
569
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131101092526'
|
|
570
|
+
[1m[36m (7.7ms)[0m [1mCOMMIT[0m
|
|
571
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
572
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
573
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
574
|
+
Migrating to CreateStripeLocalDiscounts (20131101034057)
|
|
575
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
576
|
+
[1m[35m (2.5ms)[0m DROP INDEX "index_stripe_local_discounts_on_coupon_id_and_subscription_id"
|
|
577
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "stripe_local_discounts"[0m
|
|
578
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131101034057'
|
|
579
|
+
[1m[36m (5.7ms)[0m [1mCOMMIT[0m
|
|
580
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
581
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
582
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
583
|
+
Migrating to CreateStripeLocalCoupons (20131031032453)
|
|
584
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
585
|
+
[1m[35m (0.4ms)[0m DROP INDEX "index_stripe_local_coupons_on_id"
|
|
586
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "stripe_local_coupons"[0m
|
|
587
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131031032453'
|
|
588
|
+
[1m[36m (3.7ms)[0m [1mCOMMIT[0m
|
|
589
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
590
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
591
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
592
|
+
Migrating to CreateStripeLocalPlans (20131031024841)
|
|
593
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
594
|
+
[1m[35m (0.5ms)[0m DROP INDEX "index_stripe_local_plans_on_id"
|
|
595
|
+
[1m[36m (0.7ms)[0m [1mDROP TABLE "stripe_local_plans"[0m
|
|
596
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131031024841'
|
|
597
|
+
[1m[36m (5.3ms)[0m [1mCOMMIT[0m
|
|
598
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
599
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
600
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
601
|
+
Migrating to CreateStripeLocalCards (20131030064604)
|
|
602
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
603
|
+
[1m[35m (0.5ms)[0m DROP INDEX "index_stripe_local_cards_on_customer_id"
|
|
604
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_cards_on_id"[0m
|
|
605
|
+
[1m[35m (0.4ms)[0m DROP TABLE "stripe_local_cards"
|
|
606
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131030064604'[0m
|
|
607
|
+
[1m[35m (5.0ms)[0m COMMIT
|
|
608
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
609
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
610
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
611
|
+
Migrating to CreateStripeLocalCustomers (20131030062900)
|
|
612
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
613
|
+
[1m[35m (0.6ms)[0m DROP INDEX "index_stripe_local_customers_on_model_type_and_model_id"
|
|
614
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_customers_on_id"[0m
|
|
615
|
+
[1m[35m (0.5ms)[0m DROP TABLE "stripe_local_customers"
|
|
616
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131030062900'[0m
|
|
617
|
+
[1m[35m (7.7ms)[0m COMMIT
|
|
618
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
619
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
620
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
621
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
622
|
+
Migrating to CreateClients (20131102200937)
|
|
623
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
624
|
+
[1m[36m (21.0ms)[0m [1mCREATE TABLE "clients" ("id" serial primary key, "name" character varying(255), "email" character varying(255), "password" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
|
625
|
+
[1m[35mSQL (3.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131102200937"]]
|
|
626
|
+
[1m[36m (0.8ms)[0m [1mCOMMIT[0m
|
|
627
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
628
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
629
|
+
Migrating to LoadStripeTables (20131122063517)
|
|
630
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
631
|
+
[1m[36m (2.5ms)[0m [1mCREATE TABLE "stripe_local_customers" ("id" character varying(255), "account_balance" integer, "default_card" character varying(255), "delinquent" boolean, "description" character varying(255), "email" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
632
|
+
[1m[35m (1.7ms)[0m CREATE UNIQUE INDEX "index_stripe_local_customers_on_id" ON "stripe_local_customers" ("id")
|
|
633
|
+
[1m[36m (2.8ms)[0m [1mCREATE INDEX "index_stripe_local_customers_on_model_type_and_model_id" ON "stripe_local_customers" ("model_type", "model_id")[0m
|
|
634
|
+
PG::UndefinedColumn: ERROR: column "model_type" does not exist
|
|
635
|
+
: CREATE INDEX "index_stripe_local_customers_on_model_type_and_model_id" ON "stripe_local_customers" ("model_type", "model_id")
|
|
636
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
637
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
638
|
+
Migrating to LoadStripeTables (20131122063517)
|
|
639
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
640
|
+
[1m[36m (4.0ms)[0m [1mCREATE TABLE "stripe_local_customers" ("id" character varying(255), "account_balance" integer, "default_card" character varying(255), "delinquent" boolean, "description" character varying(255), "email" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
641
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "index_stripe_local_customers_on_id" ON "stripe_local_customers" ("id")
|
|
642
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "stripe_local_cards" ("id" character varying(255), "customer_id" character varying(255), "name" character varying(255), "exp_month" integer, "exp_year" integer, "brand" character varying(255), "last4" character varying(255), "cvc_check" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
|
643
|
+
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_stripe_local_cards_on_id" ON "stripe_local_cards" ("id")
|
|
644
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_cards_on_customer_id" ON "stripe_local_cards" ("customer_id")[0m
|
|
645
|
+
[1m[35m (2.2ms)[0m CREATE TABLE "stripe_local_plans" ("id" character varying(255), "name" character varying(255), "amount" integer, "interval" character varying(255), "interval_count" integer DEFAULT 1, "trial_period_days" integer DEFAULT 0, "currency" character varying(255) DEFAULT 'usd', "synced" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp)
|
|
646
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_plans_on_id" ON "stripe_local_plans" ("id")[0m
|
|
647
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "stripe_local_coupons" ("id" character varying(255), "percent_off" integer, "amount_off" integer, "currency" character varying(255) DEFAULT 'usd', "duration" character varying(255), "redeem_by" timestamp, "max_redemptions" integer, "times_redeemed" integer DEFAULT 0, "duration_in_months" integer, "synced" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp)
|
|
648
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_coupons_on_id" ON "stripe_local_coupons" ("id")[0m
|
|
649
|
+
[1m[35m (2.1ms)[0m CREATE TABLE "stripe_local_discounts" ("id" serial primary key, "coupon_id" character varying(255), "subscription_id" character varying(255), "start" timestamp, "end" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
650
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_discounts_on_coupon_id_and_subscription_id" ON "stripe_local_discounts" ("coupon_id", "subscription_id")[0m
|
|
651
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "stripe_local_subscriptions" ("id" character varying(255), "customer_id" character varying(255), "plan_id" character varying(255), "status" character varying(255), "quantity" integer DEFAULT 1, "start" timestamp, "canceled_at" timestamp, "ended_at" timestamp, "current_period_start" timestamp, "current_period_end" timestamp, "trial_start" timestamp, "trial_end" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
652
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_subscriptions_on_id" ON "stripe_local_subscriptions" ("id")[0m
|
|
653
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_subscriptions_on_customer_id" ON "stripe_local_subscriptions" ("customer_id")
|
|
654
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_subscriptions_on_plan_id" ON "stripe_local_subscriptions" ("plan_id")[0m
|
|
655
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "stripe_local_invoices" ("id" character varying(255), "customer_id" character varying(255), "amount_due" integer, "subtotal" integer, "total" integer, "attempted" boolean, "attempt_count" integer, "paid" boolean, "closed" boolean, "date" timestamp, "period_start" timestamp, "period_end" timestamp, "currency" character varying(255) DEFAULT 'usd', "starting_balance" integer, "ending_balance" integer, "charge_id" character varying(255), "discount" integer DEFAULT 0, "application_fee" integer, "next_payment_attempt" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
656
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_invoices_on_id" ON "stripe_local_invoices" ("id")[0m
|
|
657
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_stripe_local_invoices_on_customer_id" ON "stripe_local_invoices" ("customer_id")
|
|
658
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "stripe_local_line_items" ("id" character varying(255), "invoice_id" character varying(255), "subscription" boolean DEFAULT 't', "amount" integer, "currency" character varying(255) DEFAULT 'usd', "proration" boolean, "period_start" timestamp, "period_end" timestamp, "quantity" integer, "plan_id" character varying(255), "description" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
659
|
+
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_stripe_local_line_items_on_id" ON "stripe_local_line_items" ("id")
|
|
660
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_line_items_on_invoice_id" ON "stripe_local_line_items" ("invoice_id")[0m
|
|
661
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "stripe_local_charges" ("id" character varying(255), "card_id" character varying(255), "customer_id" character varying(255), "invoice_id" character varying(255), "balance_transaction_id" character varying(255), "amount" integer, "captured" boolean DEFAULT 't', "refunded" boolean DEFAULT 'f', "paid" boolean, "created" timestamp, "currency" character varying(255) DEFAULT 'usd', "amount_refunded" integer DEFAULT 0, "description" character varying(255), "failure_code" character varying(255), "failure_message" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp)
|
|
662
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_charges_on_id" ON "stripe_local_charges" ("id")[0m
|
|
663
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_charges_on_card_id" ON "stripe_local_charges" ("card_id")
|
|
664
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_charges_on_customer_id" ON "stripe_local_charges" ("customer_id")[0m
|
|
665
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_charges_on_invoice_id" ON "stripe_local_charges" ("invoice_id")
|
|
666
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_charges_on_balance_transaction_id" ON "stripe_local_charges" ("balance_transaction_id")[0m
|
|
667
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "stripe_local_transfers" ("id" character varying(255), "amount" integer, "date" timestamp, "status" character varying(255), "balance_transaction_id" character varying(255), "description" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp)
|
|
668
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_transfers_on_id" ON "stripe_local_transfers" ("id")[0m
|
|
669
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_stripe_local_transfers_on_status" ON "stripe_local_transfers" ("status")
|
|
670
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_stripe_local_transfers_on_balance_transaction_id" ON "stripe_local_transfers" ("balance_transaction_id")[0m
|
|
671
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "stripe_local_balance_transactions" ("id" character varying(255), "amount" integer, "available_on" timestamp, "created" timestamp, "fee" integer, "net" integer, "source_id" character varying(255), "source_type" character varying(255), "status" character varying(255), "description" character varying(255), "created_at" timestamp, "updated_at" timestamp)
|
|
672
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_balance_transactions_on_id" ON "stripe_local_balance_transactions" ("id")[0m
|
|
673
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_stripe_local_balance_transactions_on_status" ON "stripe_local_balance_transactions" ("status")
|
|
674
|
+
[1m[36m (3.0ms)[0m [1mROLLBACK[0m
|
|
675
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
676
|
+
Migrating to LoadStripeTables (20131122063517)
|
|
677
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
678
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE "stripe_local_customers" ("id" character varying(255), "account_balance" integer, "default_card" character varying(255), "delinquent" boolean, "description" character varying(255), "email" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
679
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_stripe_local_customers_on_id" ON "stripe_local_customers" ("id")
|
|
680
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "stripe_local_cards" ("id" character varying(255), "customer_id" character varying(255), "name" character varying(255), "exp_month" integer, "exp_year" integer, "brand" character varying(255), "last4" character varying(255), "cvc_check" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
|
681
|
+
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_stripe_local_cards_on_id" ON "stripe_local_cards" ("id")
|
|
682
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_cards_on_customer_id" ON "stripe_local_cards" ("customer_id")[0m
|
|
683
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "stripe_local_plans" ("id" character varying(255), "name" character varying(255), "amount" integer, "interval" character varying(255), "interval_count" integer DEFAULT 1, "trial_period_days" integer DEFAULT 0, "currency" character varying(255) DEFAULT 'usd', "synced" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp)
|
|
684
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_plans_on_id" ON "stripe_local_plans" ("id")[0m
|
|
685
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "stripe_local_coupons" ("id" character varying(255), "percent_off" integer, "amount_off" integer, "currency" character varying(255) DEFAULT 'usd', "duration" character varying(255), "redeem_by" timestamp, "max_redemptions" integer, "times_redeemed" integer DEFAULT 0, "duration_in_months" integer, "synced" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp)
|
|
686
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_coupons_on_id" ON "stripe_local_coupons" ("id")[0m
|
|
687
|
+
[1m[35m (2.1ms)[0m CREATE TABLE "stripe_local_discounts" ("id" serial primary key, "coupon_id" character varying(255), "subscription_id" character varying(255), "start" timestamp, "end" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
688
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_discounts_on_coupon_id_and_subscription_id" ON "stripe_local_discounts" ("coupon_id", "subscription_id")[0m
|
|
689
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "stripe_local_subscriptions" ("id" character varying(255), "customer_id" character varying(255), "plan_id" character varying(255), "status" character varying(255), "quantity" integer DEFAULT 1, "start" timestamp, "canceled_at" timestamp, "ended_at" timestamp, "current_period_start" timestamp, "current_period_end" timestamp, "trial_start" timestamp, "trial_end" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
690
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_subscriptions_on_id" ON "stripe_local_subscriptions" ("id")[0m
|
|
691
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_stripe_local_subscriptions_on_customer_id" ON "stripe_local_subscriptions" ("customer_id")
|
|
692
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_subscriptions_on_plan_id" ON "stripe_local_subscriptions" ("plan_id")[0m
|
|
693
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "stripe_local_invoices" ("id" character varying(255), "customer_id" character varying(255), "amount_due" integer, "subtotal" integer, "total" integer, "attempted" boolean, "attempt_count" integer, "paid" boolean, "closed" boolean, "date" timestamp, "period_start" timestamp, "period_end" timestamp, "currency" character varying(255) DEFAULT 'usd', "starting_balance" integer, "ending_balance" integer, "charge_id" character varying(255), "discount" integer DEFAULT 0, "application_fee" integer, "next_payment_attempt" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
694
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_invoices_on_id" ON "stripe_local_invoices" ("id")[0m
|
|
695
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_stripe_local_invoices_on_customer_id" ON "stripe_local_invoices" ("customer_id")
|
|
696
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "stripe_local_line_items" ("id" character varying(255), "invoice_id" character varying(255), "subscription" boolean DEFAULT 't', "amount" integer, "currency" character varying(255) DEFAULT 'usd', "proration" boolean, "period_start" timestamp, "period_end" timestamp, "quantity" integer, "plan_id" character varying(255), "description" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
697
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_stripe_local_line_items_on_id" ON "stripe_local_line_items" ("id")
|
|
698
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_line_items_on_invoice_id" ON "stripe_local_line_items" ("invoice_id")[0m
|
|
699
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "stripe_local_charges" ("id" character varying(255), "card_id" character varying(255), "customer_id" character varying(255), "invoice_id" character varying(255), "balance_transaction_id" character varying(255), "amount" integer, "captured" boolean DEFAULT 't', "refunded" boolean DEFAULT 'f', "paid" boolean, "created" timestamp, "currency" character varying(255) DEFAULT 'usd', "amount_refunded" integer DEFAULT 0, "description" character varying(255), "failure_code" character varying(255), "failure_message" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp)
|
|
700
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_charges_on_id" ON "stripe_local_charges" ("id")[0m
|
|
701
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_charges_on_card_id" ON "stripe_local_charges" ("card_id")
|
|
702
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_charges_on_customer_id" ON "stripe_local_charges" ("customer_id")[0m
|
|
703
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_charges_on_invoice_id" ON "stripe_local_charges" ("invoice_id")
|
|
704
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_charges_on_balance_transaction_id" ON "stripe_local_charges" ("balance_transaction_id")[0m
|
|
705
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "stripe_local_transfers" ("id" character varying(255), "amount" integer, "date" timestamp, "status" character varying(255), "balance_transaction_id" character varying(255), "description" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp)
|
|
706
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_transfers_on_id" ON "stripe_local_transfers" ("id")[0m
|
|
707
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_transfers_on_status" ON "stripe_local_transfers" ("status")
|
|
708
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_transfers_on_balance_transaction_id" ON "stripe_local_transfers" ("balance_transaction_id")[0m
|
|
709
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "stripe_local_balance_transactions" ("id" character varying(255), "amount" integer, "available_on" timestamp, "created" timestamp, "fee" integer, "net" integer, "source_id" character varying(255), "source_type" character varying(255), "status" character varying(255), "description" character varying(255), "created_at" timestamp, "updated_at" timestamp)
|
|
710
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_balance_transactions_on_id" ON "stripe_local_balance_transactions" ("id")[0m
|
|
711
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_balance_transactions_on_status" ON "stripe_local_balance_transactions" ("status")
|
|
712
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_transactions_on_source_id_and_source_type" ON "stripe_local_balance_transactions" ("source_id", "source_type")[0m
|
|
713
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131122063517"]]
|
|
714
|
+
[1m[36m (1.5ms)[0m [1mCOMMIT[0m
|
|
715
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.5ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
716
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
717
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
718
|
+
Migrating to LoadStripeTables (20131122063517)
|
|
719
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
720
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
721
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
722
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
723
|
+
Migrating to LoadStripeTables (20131122063517)
|
|
724
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
725
|
+
[1m[35m (0.6ms)[0m DROP INDEX "index_transactions_on_source_id_and_source_type"
|
|
726
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_balance_transactions_on_status"[0m
|
|
727
|
+
[1m[35m (0.2ms)[0m DROP INDEX "index_stripe_local_balance_transactions_on_id"
|
|
728
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "stripe_local_balance_transactions"[0m
|
|
729
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
730
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
731
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
732
|
+
Migrating to LoadStripeTables (20131122063517)
|
|
733
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
734
|
+
[1m[35m (0.6ms)[0m DROP INDEX "index_transactions_on_source_id_and_source_type"
|
|
735
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_balance_transactions_on_status"[0m
|
|
736
|
+
[1m[35m (0.2ms)[0m DROP INDEX "index_stripe_local_balance_transactions_on_id"
|
|
737
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "stripe_local_balance_transactions"[0m
|
|
738
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
739
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
740
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
741
|
+
Migrating to LoadStripeTables (20131122063517)
|
|
742
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
743
|
+
[1m[35m (0.5ms)[0m DROP INDEX "index_transactions_on_source_id_and_source_type"
|
|
744
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_balance_transactions_on_status"[0m
|
|
745
|
+
[1m[35m (0.2ms)[0m DROP INDEX "index_stripe_local_balance_transactions_on_id"
|
|
746
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "stripe_local_balance_transactions"[0m
|
|
747
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
748
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
749
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
750
|
+
Migrating to LoadStripeTables (20131122063517)
|
|
751
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
752
|
+
[1m[35m (0.5ms)[0m DROP INDEX "index_transactions_on_source_id_and_source_type"
|
|
753
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_balance_transactions_on_status"[0m
|
|
754
|
+
[1m[35m (0.2ms)[0m DROP INDEX "index_stripe_local_balance_transactions_on_id"
|
|
755
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "stripe_local_balance_transactions"[0m
|
|
756
|
+
[1m[35m (0.2ms)[0m DROP INDEX "index_stripe_local_transfers_on_balance_transaction_id"
|
|
757
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_transfers_on_status"[0m
|
|
758
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_transfers_on_id"
|
|
759
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "stripe_local_transfers"[0m
|
|
760
|
+
[1m[35m (0.2ms)[0m DROP INDEX "index_stripe_local_charges_on_balance_transaction_id"
|
|
761
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_charges_on_invoice_id"[0m
|
|
762
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_charges_on_customer_id"
|
|
763
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_charges_on_card_id"[0m
|
|
764
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_charges_on_id"
|
|
765
|
+
[1m[36m (0.7ms)[0m [1mDROP TABLE "stripe_local_charges"[0m
|
|
766
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_line_items_on_invoice_id"
|
|
767
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_line_items_on_id"[0m
|
|
768
|
+
[1m[35m (0.4ms)[0m DROP TABLE "stripe_local_line_items"
|
|
769
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_invoices_on_customer_id"[0m
|
|
770
|
+
[1m[35m (0.2ms)[0m DROP INDEX "index_stripe_local_invoices_on_id"
|
|
771
|
+
[1m[36m (0.6ms)[0m [1mDROP TABLE "stripe_local_invoices"[0m
|
|
772
|
+
[1m[35m (0.3ms)[0m DROP INDEX "index_stripe_local_subscriptions_on_plan_id"
|
|
773
|
+
[1m[36m (0.3ms)[0m [1mDROP INDEX "index_stripe_local_subscriptions_on_customer_id"[0m
|
|
774
|
+
[1m[35m (0.2ms)[0m DROP INDEX "index_stripe_local_subscriptions_on_id"
|
|
775
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "stripe_local_subscriptions"[0m
|
|
776
|
+
[1m[35m (0.2ms)[0m DROP INDEX "index_stripe_local_discounts_on_coupon_id_and_subscription_id"
|
|
777
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "stripe_local_discounts"[0m
|
|
778
|
+
[1m[35m (0.2ms)[0m DROP INDEX "index_stripe_local_coupons_on_id"
|
|
779
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "stripe_local_coupons"[0m
|
|
780
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_plans_on_id"
|
|
781
|
+
[1m[36m (0.6ms)[0m [1mDROP TABLE "stripe_local_plans"[0m
|
|
782
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_cards_on_customer_id"
|
|
783
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_cards_on_id"[0m
|
|
784
|
+
[1m[35m (0.4ms)[0m DROP TABLE "stripe_local_cards"
|
|
785
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_customers_on_id"[0m
|
|
786
|
+
[1m[35m (0.4ms)[0m DROP TABLE "stripe_local_customers"
|
|
787
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131122063517'[0m
|
|
788
|
+
[1m[35m (9.6ms)[0m COMMIT
|
|
789
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
790
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
791
|
+
Migrating to LoadStripeTables (20131122063517)
|
|
792
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
793
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE "stripe_local_customers" ("id" character varying(255), "account_balance" integer, "default_card" character varying(255), "delinquent" boolean, "description" character varying(255), "email" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
794
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_stripe_local_customers_on_id" ON "stripe_local_customers" ("id")
|
|
795
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "stripe_local_cards" ("id" character varying(255), "customer_id" character varying(255), "name" character varying(255), "exp_month" integer, "exp_year" integer, "brand" character varying(255), "last4" character varying(255), "cvc_check" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
|
796
|
+
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_stripe_local_cards_on_id" ON "stripe_local_cards" ("id")
|
|
797
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_cards_on_customer_id" ON "stripe_local_cards" ("customer_id")[0m
|
|
798
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "stripe_local_plans" ("id" character varying(255), "name" character varying(255), "amount" integer, "interval" character varying(255), "interval_count" integer DEFAULT 1, "trial_period_days" integer DEFAULT 0, "currency" character varying(255) DEFAULT 'usd', "synced" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp)
|
|
799
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_plans_on_id" ON "stripe_local_plans" ("id")[0m
|
|
800
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "stripe_local_coupons" ("id" character varying(255), "percent_off" integer, "amount_off" integer, "currency" character varying(255) DEFAULT 'usd', "duration" character varying(255), "redeem_by" timestamp, "max_redemptions" integer, "times_redeemed" integer DEFAULT 0, "duration_in_months" integer, "synced" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp)
|
|
801
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_coupons_on_id" ON "stripe_local_coupons" ("id")[0m
|
|
802
|
+
[1m[35m (2.3ms)[0m CREATE TABLE "stripe_local_discounts" ("id" serial primary key, "coupon_id" character varying(255), "subscription_id" character varying(255), "start" timestamp, "end" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
803
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_discounts_on_coupon_id_and_subscription_id" ON "stripe_local_discounts" ("coupon_id", "subscription_id")[0m
|
|
804
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "stripe_local_subscriptions" ("id" character varying(255), "customer_id" character varying(255), "plan_id" character varying(255), "status" character varying(255), "quantity" integer DEFAULT 1, "start" timestamp, "canceled_at" timestamp, "ended_at" timestamp, "current_period_start" timestamp, "current_period_end" timestamp, "trial_start" timestamp, "trial_end" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
805
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_subscriptions_on_id" ON "stripe_local_subscriptions" ("id")[0m
|
|
806
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_stripe_local_subscriptions_on_customer_id" ON "stripe_local_subscriptions" ("customer_id")
|
|
807
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_stripe_local_subscriptions_on_plan_id" ON "stripe_local_subscriptions" ("plan_id")[0m
|
|
808
|
+
[1m[35m (2.0ms)[0m CREATE TABLE "stripe_local_invoices" ("id" character varying(255), "customer_id" character varying(255), "amount_due" integer, "subtotal" integer, "total" integer, "attempted" boolean, "attempt_count" integer, "paid" boolean, "closed" boolean, "date" timestamp, "period_start" timestamp, "period_end" timestamp, "currency" character varying(255) DEFAULT 'usd', "starting_balance" integer, "ending_balance" integer, "charge_id" character varying(255), "discount" integer DEFAULT 0, "application_fee" integer, "next_payment_attempt" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
809
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_invoices_on_id" ON "stripe_local_invoices" ("id")[0m
|
|
810
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_stripe_local_invoices_on_customer_id" ON "stripe_local_invoices" ("customer_id")
|
|
811
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "stripe_local_line_items" ("id" character varying(255), "invoice_id" character varying(255), "subscription" boolean DEFAULT 't', "amount" integer, "currency" character varying(255) DEFAULT 'usd', "proration" boolean, "period_start" timestamp, "period_end" timestamp, "quantity" integer, "plan_id" character varying(255), "description" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
812
|
+
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_stripe_local_line_items_on_id" ON "stripe_local_line_items" ("id")
|
|
813
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_line_items_on_invoice_id" ON "stripe_local_line_items" ("invoice_id")[0m
|
|
814
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "stripe_local_charges" ("id" character varying(255), "card_id" character varying(255), "customer_id" character varying(255), "invoice_id" character varying(255), "balance_transaction_id" character varying(255), "amount" integer, "captured" boolean DEFAULT 't', "refunded" boolean DEFAULT 'f', "paid" boolean, "created" timestamp, "currency" character varying(255) DEFAULT 'usd', "amount_refunded" integer DEFAULT 0, "description" character varying(255), "failure_code" character varying(255), "failure_message" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp)
|
|
815
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_charges_on_id" ON "stripe_local_charges" ("id")[0m
|
|
816
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_charges_on_card_id" ON "stripe_local_charges" ("card_id")
|
|
817
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_charges_on_customer_id" ON "stripe_local_charges" ("customer_id")[0m
|
|
818
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_stripe_local_charges_on_invoice_id" ON "stripe_local_charges" ("invoice_id")
|
|
819
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_charges_on_balance_transaction_id" ON "stripe_local_charges" ("balance_transaction_id")[0m
|
|
820
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "stripe_local_transfers" ("id" character varying(255), "amount" integer, "date" timestamp, "status" character varying(255), "balance_transaction_id" character varying(255), "description" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp)
|
|
821
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_transfers_on_id" ON "stripe_local_transfers" ("id")[0m
|
|
822
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_transfers_on_status" ON "stripe_local_transfers" ("status")
|
|
823
|
+
[1m[36m (3.6ms)[0m [1mCREATE INDEX "index_stripe_local_transfers_on_transaction_id" ON "stripe_local_transfers" ("transaction_id")[0m
|
|
824
|
+
PG::UndefinedColumn: ERROR: column "transaction_id" does not exist
|
|
825
|
+
: CREATE INDEX "index_stripe_local_transfers_on_transaction_id" ON "stripe_local_transfers" ("transaction_id")
|
|
826
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
|
827
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
828
|
+
Migrating to LoadStripeTables (20131122063517)
|
|
829
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
830
|
+
[1m[36m (6.0ms)[0m [1mCREATE TABLE "stripe_local_customers" ("id" character varying(255), "account_balance" integer, "default_card" character varying(255), "delinquent" boolean, "description" character varying(255), "email" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
831
|
+
[1m[35m (8.8ms)[0m CREATE UNIQUE INDEX "index_stripe_local_customers_on_id" ON "stripe_local_customers" ("id")
|
|
832
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "stripe_local_cards" ("id" character varying(255), "customer_id" character varying(255), "name" character varying(255), "exp_month" integer, "exp_year" integer, "brand" character varying(255), "last4" character varying(255), "cvc_check" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
|
833
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_stripe_local_cards_on_id" ON "stripe_local_cards" ("id")
|
|
834
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_stripe_local_cards_on_customer_id" ON "stripe_local_cards" ("customer_id")[0m
|
|
835
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "stripe_local_plans" ("id" character varying(255), "name" character varying(255), "amount" integer, "interval" character varying(255), "interval_count" integer DEFAULT 1, "trial_period_days" integer DEFAULT 0, "currency" character varying(255) DEFAULT 'usd', "synced" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp)
|
|
836
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_plans_on_id" ON "stripe_local_plans" ("id")[0m
|
|
837
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "stripe_local_coupons" ("id" character varying(255), "percent_off" integer, "amount_off" integer, "currency" character varying(255) DEFAULT 'usd', "duration" character varying(255), "redeem_by" timestamp, "max_redemptions" integer, "times_redeemed" integer DEFAULT 0, "duration_in_months" integer, "synced" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp)
|
|
838
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_coupons_on_id" ON "stripe_local_coupons" ("id")[0m
|
|
839
|
+
[1m[35m (2.9ms)[0m CREATE TABLE "stripe_local_discounts" ("id" serial primary key, "coupon_id" character varying(255), "subscription_id" character varying(255), "start" timestamp, "end" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
840
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_discounts_on_coupon_id_and_subscription_id" ON "stripe_local_discounts" ("coupon_id", "subscription_id")[0m
|
|
841
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "stripe_local_subscriptions" ("id" character varying(255), "customer_id" character varying(255), "plan_id" character varying(255), "status" character varying(255), "quantity" integer DEFAULT 1, "start" timestamp, "canceled_at" timestamp, "ended_at" timestamp, "current_period_start" timestamp, "current_period_end" timestamp, "trial_start" timestamp, "trial_end" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
842
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_subscriptions_on_id" ON "stripe_local_subscriptions" ("id")[0m
|
|
843
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_subscriptions_on_customer_id" ON "stripe_local_subscriptions" ("customer_id")
|
|
844
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_subscriptions_on_plan_id" ON "stripe_local_subscriptions" ("plan_id")[0m
|
|
845
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "stripe_local_invoices" ("id" character varying(255), "customer_id" character varying(255), "amount_due" integer, "subtotal" integer, "total" integer, "attempted" boolean, "attempt_count" integer, "paid" boolean, "closed" boolean, "date" timestamp, "period_start" timestamp, "period_end" timestamp, "currency" character varying(255) DEFAULT 'usd', "starting_balance" integer, "ending_balance" integer, "charge_id" character varying(255), "discount" integer DEFAULT 0, "application_fee" integer, "next_payment_attempt" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
846
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_invoices_on_id" ON "stripe_local_invoices" ("id")[0m
|
|
847
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_invoices_on_customer_id" ON "stripe_local_invoices" ("customer_id")
|
|
848
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "stripe_local_line_items" ("id" character varying(255), "invoice_id" character varying(255), "subscription" boolean DEFAULT 't', "amount" integer, "currency" character varying(255) DEFAULT 'usd', "proration" boolean, "period_start" timestamp, "period_end" timestamp, "quantity" integer, "plan_id" character varying(255), "description" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
849
|
+
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_stripe_local_line_items_on_id" ON "stripe_local_line_items" ("id")
|
|
850
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_line_items_on_invoice_id" ON "stripe_local_line_items" ("invoice_id")[0m
|
|
851
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "stripe_local_charges" ("id" character varying(255), "card_id" character varying(255), "customer_id" character varying(255), "invoice_id" character varying(255), "transaction_id" character varying(255), "amount" integer, "captured" boolean DEFAULT 't', "refunded" boolean DEFAULT 'f', "paid" boolean, "created" timestamp, "currency" character varying(255) DEFAULT 'usd', "amount_refunded" integer DEFAULT 0, "description" character varying(255), "failure_code" character varying(255), "failure_message" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp)
|
|
852
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_charges_on_id" ON "stripe_local_charges" ("id")[0m
|
|
853
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_stripe_local_charges_on_card_id" ON "stripe_local_charges" ("card_id")
|
|
854
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_stripe_local_charges_on_customer_id" ON "stripe_local_charges" ("customer_id")[0m
|
|
855
|
+
[1m[35m (1.9ms)[0m CREATE INDEX "index_stripe_local_charges_on_invoice_id" ON "stripe_local_charges" ("invoice_id")
|
|
856
|
+
[1m[36m (3.1ms)[0m [1mCREATE INDEX "index_stripe_local_charges_on_balance_transaction_id" ON "stripe_local_charges" ("balance_transaction_id")[0m
|
|
857
|
+
PG::UndefinedColumn: ERROR: column "balance_transaction_id" does not exist
|
|
858
|
+
: CREATE INDEX "index_stripe_local_charges_on_balance_transaction_id" ON "stripe_local_charges" ("balance_transaction_id")
|
|
859
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
|
860
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
861
|
+
Migrating to LoadStripeTables (20131122063517)
|
|
862
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
863
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "stripe_local_customers" ("id" character varying(255), "account_balance" integer, "default_card" character varying(255), "delinquent" boolean, "description" character varying(255), "email" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
864
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_stripe_local_customers_on_id" ON "stripe_local_customers" ("id")
|
|
865
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "stripe_local_cards" ("id" character varying(255), "customer_id" character varying(255), "name" character varying(255), "exp_month" integer, "exp_year" integer, "brand" character varying(255), "last4" character varying(255), "cvc_check" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
|
866
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_stripe_local_cards_on_id" ON "stripe_local_cards" ("id")
|
|
867
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_cards_on_customer_id" ON "stripe_local_cards" ("customer_id")[0m
|
|
868
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "stripe_local_plans" ("id" character varying(255), "name" character varying(255), "amount" integer, "interval" character varying(255), "interval_count" integer DEFAULT 1, "trial_period_days" integer DEFAULT 0, "currency" character varying(255) DEFAULT 'usd', "synced" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp)
|
|
869
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_plans_on_id" ON "stripe_local_plans" ("id")[0m
|
|
870
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "stripe_local_coupons" ("id" character varying(255), "percent_off" integer, "amount_off" integer, "currency" character varying(255) DEFAULT 'usd', "duration" character varying(255), "redeem_by" timestamp, "max_redemptions" integer, "times_redeemed" integer DEFAULT 0, "duration_in_months" integer, "synced" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp)
|
|
871
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_coupons_on_id" ON "stripe_local_coupons" ("id")[0m
|
|
872
|
+
[1m[35m (2.2ms)[0m CREATE TABLE "stripe_local_discounts" ("id" serial primary key, "coupon_id" character varying(255), "subscription_id" character varying(255), "start" timestamp, "end" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
873
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_discounts_on_coupon_id_and_subscription_id" ON "stripe_local_discounts" ("coupon_id", "subscription_id")[0m
|
|
874
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "stripe_local_subscriptions" ("id" character varying(255), "customer_id" character varying(255), "plan_id" character varying(255), "status" character varying(255), "quantity" integer DEFAULT 1, "start" timestamp, "canceled_at" timestamp, "ended_at" timestamp, "current_period_start" timestamp, "current_period_end" timestamp, "trial_start" timestamp, "trial_end" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
875
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_subscriptions_on_id" ON "stripe_local_subscriptions" ("id")[0m
|
|
876
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_stripe_local_subscriptions_on_customer_id" ON "stripe_local_subscriptions" ("customer_id")
|
|
877
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_subscriptions_on_plan_id" ON "stripe_local_subscriptions" ("plan_id")[0m
|
|
878
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "stripe_local_invoices" ("id" character varying(255), "customer_id" character varying(255), "amount_due" integer, "subtotal" integer, "total" integer, "attempted" boolean, "attempt_count" integer, "paid" boolean, "closed" boolean, "date" timestamp, "period_start" timestamp, "period_end" timestamp, "currency" character varying(255) DEFAULT 'usd', "starting_balance" integer, "ending_balance" integer, "charge_id" character varying(255), "discount" integer DEFAULT 0, "application_fee" integer, "next_payment_attempt" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
879
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_invoices_on_id" ON "stripe_local_invoices" ("id")[0m
|
|
880
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_invoices_on_customer_id" ON "stripe_local_invoices" ("customer_id")
|
|
881
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "stripe_local_line_items" ("id" character varying(255), "invoice_id" character varying(255), "subscription" boolean DEFAULT 't', "amount" integer, "currency" character varying(255) DEFAULT 'usd', "proration" boolean, "period_start" timestamp, "period_end" timestamp, "quantity" integer, "plan_id" character varying(255), "description" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
882
|
+
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_stripe_local_line_items_on_id" ON "stripe_local_line_items" ("id")
|
|
883
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_line_items_on_invoice_id" ON "stripe_local_line_items" ("invoice_id")[0m
|
|
884
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "stripe_local_charges" ("id" character varying(255), "card_id" character varying(255), "customer_id" character varying(255), "invoice_id" character varying(255), "transaction_id" character varying(255), "amount" integer, "captured" boolean DEFAULT 't', "refunded" boolean DEFAULT 'f', "paid" boolean, "created" timestamp, "currency" character varying(255) DEFAULT 'usd', "amount_refunded" integer DEFAULT 0, "description" character varying(255), "failure_code" character varying(255), "failure_message" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp)
|
|
885
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_charges_on_id" ON "stripe_local_charges" ("id")[0m
|
|
886
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_charges_on_card_id" ON "stripe_local_charges" ("card_id")
|
|
887
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_charges_on_customer_id" ON "stripe_local_charges" ("customer_id")[0m
|
|
888
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_stripe_local_charges_on_invoice_id" ON "stripe_local_charges" ("invoice_id")
|
|
889
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_charges_on_transaction_id" ON "stripe_local_charges" ("transaction_id")[0m
|
|
890
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "stripe_local_transfers" ("id" character varying(255), "amount" integer, "date" timestamp, "status" character varying(255), "transaction_id" character varying(255), "description" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp)
|
|
891
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_transfers_on_id" ON "stripe_local_transfers" ("id")[0m
|
|
892
|
+
[1m[35m (0.4ms)[0m CREATE INDEX "index_stripe_local_transfers_on_status" ON "stripe_local_transfers" ("status")
|
|
893
|
+
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_stripe_local_transfers_on_transaction_id" ON "stripe_local_transfers" ("transaction_id")[0m
|
|
894
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "stripe_local_transactions" ("id" character varying(255), "amount" integer, "available_on" timestamp, "created" timestamp, "fee" integer, "net" integer, "source_id" character varying(255), "source_type" character varying(255), "status" character varying(255), "description" character varying(255), "created_at" timestamp, "updated_at" timestamp)
|
|
895
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_transactions_on_id" ON "stripe_local_transactions" ("id")[0m
|
|
896
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_transactions_on_status" ON "stripe_local_transactions" ("status")
|
|
897
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_transactions_on_source_id_and_source_type" ON "stripe_local_transactions" ("source_id", "source_type")[0m
|
|
898
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131122063517"]]
|
|
899
|
+
[1m[36m (2.0ms)[0m [1mCOMMIT[0m
|
|
900
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
901
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
902
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
903
|
+
Migrating to LoadStripeTables (20131122063517)
|
|
904
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
905
|
+
[1m[35m (0.4ms)[0m DROP INDEX "index_transactions_on_source_id_and_source_type"
|
|
906
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_transactions_on_status"[0m
|
|
907
|
+
[1m[35m (0.3ms)[0m DROP INDEX "index_stripe_local_transactions_on_id"
|
|
908
|
+
[1m[36m (0.6ms)[0m [1mDROP TABLE "stripe_local_transactions"[0m
|
|
909
|
+
[1m[35m (0.2ms)[0m DROP INDEX "index_stripe_local_transfers_on_transaction_id"
|
|
910
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_transfers_on_status"[0m
|
|
911
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_transfers_on_id"
|
|
912
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "stripe_local_transfers"[0m
|
|
913
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_charges_on_transaction_id"
|
|
914
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_charges_on_invoice_id"[0m
|
|
915
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_charges_on_customer_id"
|
|
916
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_charges_on_card_id"[0m
|
|
917
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_charges_on_id"
|
|
918
|
+
[1m[36m (0.6ms)[0m [1mDROP TABLE "stripe_local_charges"[0m
|
|
919
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_line_items_on_invoice_id"
|
|
920
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_line_items_on_id"[0m
|
|
921
|
+
[1m[35m (0.6ms)[0m DROP TABLE "stripe_local_line_items"
|
|
922
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_invoices_on_customer_id"[0m
|
|
923
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_invoices_on_id"
|
|
924
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "stripe_local_invoices"[0m
|
|
925
|
+
[1m[35m (0.2ms)[0m DROP INDEX "index_stripe_local_subscriptions_on_plan_id"
|
|
926
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_subscriptions_on_customer_id"[0m
|
|
927
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_subscriptions_on_id"
|
|
928
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "stripe_local_subscriptions"[0m
|
|
929
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_discounts_on_coupon_id_and_subscription_id"
|
|
930
|
+
[1m[36m (0.6ms)[0m [1mDROP TABLE "stripe_local_discounts"[0m
|
|
931
|
+
[1m[35m (0.2ms)[0m DROP INDEX "index_stripe_local_coupons_on_id"
|
|
932
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "stripe_local_coupons"[0m
|
|
933
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_plans_on_id"
|
|
934
|
+
[1m[36m (0.6ms)[0m [1mDROP TABLE "stripe_local_plans"[0m
|
|
935
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_cards_on_customer_id"
|
|
936
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_cards_on_id"[0m
|
|
937
|
+
[1m[35m (0.3ms)[0m DROP TABLE "stripe_local_cards"
|
|
938
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_customers_on_id"[0m
|
|
939
|
+
[1m[35m (0.3ms)[0m DROP TABLE "stripe_local_customers"
|
|
940
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131122063517'[0m
|
|
941
|
+
[1m[35m (3.2ms)[0m COMMIT
|
|
942
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
943
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
944
|
+
Migrating to LoadStripeTables (20131122063517)
|
|
945
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
946
|
+
[1m[36m (2.5ms)[0m [1mCREATE TABLE "stripe_local_customers" ("id" character varying(255), "account_balance" integer, "default_card" character varying(255), "delinquent" boolean, "description" character varying(255), "email" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
947
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_stripe_local_customers_on_id" ON "stripe_local_customers" ("id")
|
|
948
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "stripe_local_cards" ("id" character varying(255), "customer_id" character varying(255), "name" character varying(255), "exp_month" integer, "exp_year" integer, "brand" character varying(255), "last4" character varying(255), "cvc_check" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
|
949
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_stripe_local_cards_on_id" ON "stripe_local_cards" ("id")
|
|
950
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_cards_on_customer_id" ON "stripe_local_cards" ("customer_id")[0m
|
|
951
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "stripe_local_plans" ("id" character varying(255), "name" character varying(255), "amount" integer, "interval" character varying(255), "interval_count" integer DEFAULT 1, "trial_period_days" integer DEFAULT 0, "currency" character varying(255) DEFAULT 'usd', "synced" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp)
|
|
952
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_plans_on_id" ON "stripe_local_plans" ("id")[0m
|
|
953
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "stripe_local_coupons" ("id" character varying(255), "percent_off" integer, "amount_off" integer, "currency" character varying(255) DEFAULT 'usd', "duration" character varying(255), "redeem_by" timestamp, "max_redemptions" integer, "times_redeemed" integer DEFAULT 0, "duration_in_months" integer, "synced" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp)
|
|
954
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_coupons_on_id" ON "stripe_local_coupons" ("id")[0m
|
|
955
|
+
[1m[35m (2.6ms)[0m CREATE TABLE "stripe_local_discounts" ("id" serial primary key, "coupon_id" character varying(255), "subscription_id" character varying(255), "start" timestamp, "end" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
956
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_stripe_local_discounts_on_coupon_id_and_subscription_id" ON "stripe_local_discounts" ("coupon_id", "subscription_id")[0m
|
|
957
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "stripe_local_subscriptions" ("id" character varying(255), "customer_id" character varying(255), "plan_id" character varying(255), "status" character varying(255), "quantity" integer DEFAULT 1, "start" timestamp, "canceled_at" timestamp, "ended_at" timestamp, "current_period_start" timestamp, "current_period_end" timestamp, "trial_start" timestamp, "trial_end" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
958
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_subscriptions_on_id" ON "stripe_local_subscriptions" ("id")[0m
|
|
959
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_subscriptions_on_customer_id" ON "stripe_local_subscriptions" ("customer_id")
|
|
960
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_stripe_local_subscriptions_on_plan_id" ON "stripe_local_subscriptions" ("plan_id")[0m
|
|
961
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "stripe_local_invoices" ("id" character varying(255), "customer_id" character varying(255), "amount_due" integer, "subtotal" integer, "total" integer, "attempted" boolean, "attempt_count" integer, "paid" boolean, "closed" boolean, "date" timestamp, "period_start" timestamp, "period_end" timestamp, "currency" character varying(255) DEFAULT 'usd', "starting_balance" integer, "ending_balance" integer, "charge_id" character varying(255), "discount" integer DEFAULT 0, "application_fee" integer, "next_payment_attempt" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
962
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_invoices_on_id" ON "stripe_local_invoices" ("id")[0m
|
|
963
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_invoices_on_customer_id" ON "stripe_local_invoices" ("customer_id")
|
|
964
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "stripe_local_line_items" ("id" character varying(255), "invoice_id" character varying(255), "subscription" boolean DEFAULT 't', "amount" integer, "currency" character varying(255) DEFAULT 'usd', "proration" boolean, "period_start" timestamp, "period_end" timestamp, "quantity" integer, "plan_id" character varying(255), "description" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
965
|
+
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_stripe_local_line_items_on_id" ON "stripe_local_line_items" ("id")
|
|
966
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_line_items_on_invoice_id" ON "stripe_local_line_items" ("invoice_id")[0m
|
|
967
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "stripe_local_charges" ("id" character varying(255), "card_id" character varying(255), "customer_id" character varying(255), "invoice_id" character varying(255), "transaction_id" character varying(255), "amount" integer, "captured" boolean DEFAULT 't', "refunded" boolean DEFAULT 'f', "paid" boolean, "created" timestamp, "currency" character varying(255) DEFAULT 'usd', "amount_refunded" integer DEFAULT 0, "description" character varying(255), "failure_code" character varying(255), "failure_message" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp)
|
|
968
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_charges_on_id" ON "stripe_local_charges" ("id")[0m
|
|
969
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_charges_on_card_id" ON "stripe_local_charges" ("card_id")
|
|
970
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_charges_on_customer_id" ON "stripe_local_charges" ("customer_id")[0m
|
|
971
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_charges_on_invoice_id" ON "stripe_local_charges" ("invoice_id")
|
|
972
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_charges_on_transaction_id" ON "stripe_local_charges" ("transaction_id")[0m
|
|
973
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "stripe_local_transfers" ("id" character varying(255), "amount" integer, "date" timestamp, "status" character varying(255), "transaction_id" character varying(255), "description" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp)
|
|
974
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_transfers_on_id" ON "stripe_local_transfers" ("id")[0m
|
|
975
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_stripe_local_transfers_on_status" ON "stripe_local_transfers" ("status")
|
|
976
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_stripe_local_transfers_on_transaction_id" ON "stripe_local_transfers" ("transaction_id")[0m
|
|
977
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "stripe_local_transactions" ("id" character varying(255), "amount" integer, "available_on" timestamp, "created" timestamp, "fee" integer, "net" integer, "source_id" character varying(255), "source_type" character varying(255), "status" character varying(255), "description" character varying(255), "created_at" timestamp, "updated_at" timestamp)
|
|
978
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_transactions_on_id" ON "stripe_local_transactions" ("id")[0m
|
|
979
|
+
[1m[35m (1.3ms)[0m CREATE INDEX "index_stripe_local_transactions_on_status" ON "stripe_local_transactions" ("status")
|
|
980
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_transactions_on_source_id_and_source_type" ON "stripe_local_transactions" ("source_id", "source_type")[0m
|
|
981
|
+
[1m[35m (2.4ms)[0m CREATE TABLE "balances" ("id" serial primary key, "available" integer, "pending" integer, "created_at" timestamp, "updated_at" timestamp)
|
|
982
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20131122063517"]]
|
|
983
|
+
[1m[35m (1.4ms)[0m COMMIT
|
|
984
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
985
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
986
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
987
|
+
Migrating to LoadStripeTables (20131122063517)
|
|
988
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
989
|
+
[1m[35m (1.6ms)[0m DROP TABLE "balances"
|
|
990
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_transactions_on_source_id_and_source_type"[0m
|
|
991
|
+
[1m[35m (0.2ms)[0m DROP INDEX "index_stripe_local_transactions_on_status"
|
|
992
|
+
[1m[36m (0.3ms)[0m [1mDROP INDEX "index_stripe_local_transactions_on_id"[0m
|
|
993
|
+
[1m[35m (0.4ms)[0m DROP TABLE "stripe_local_transactions"
|
|
994
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_transfers_on_transaction_id"[0m
|
|
995
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_transfers_on_status"
|
|
996
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_transfers_on_id"[0m
|
|
997
|
+
[1m[35m (0.3ms)[0m DROP TABLE "stripe_local_transfers"
|
|
998
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_charges_on_transaction_id"[0m
|
|
999
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_charges_on_invoice_id"
|
|
1000
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_charges_on_customer_id"[0m
|
|
1001
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_charges_on_card_id"
|
|
1002
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_charges_on_id"[0m
|
|
1003
|
+
[1m[35m (0.5ms)[0m DROP TABLE "stripe_local_charges"
|
|
1004
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_line_items_on_invoice_id"[0m
|
|
1005
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_line_items_on_id"
|
|
1006
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "stripe_local_line_items"[0m
|
|
1007
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_invoices_on_customer_id"
|
|
1008
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_invoices_on_id"[0m
|
|
1009
|
+
[1m[35m (0.5ms)[0m DROP TABLE "stripe_local_invoices"
|
|
1010
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_subscriptions_on_plan_id"[0m
|
|
1011
|
+
[1m[35m (0.2ms)[0m DROP INDEX "index_stripe_local_subscriptions_on_customer_id"
|
|
1012
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_subscriptions_on_id"[0m
|
|
1013
|
+
[1m[35m (0.4ms)[0m DROP TABLE "stripe_local_subscriptions"
|
|
1014
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_discounts_on_coupon_id_and_subscription_id"[0m
|
|
1015
|
+
[1m[35m (0.6ms)[0m DROP TABLE "stripe_local_discounts"
|
|
1016
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_coupons_on_id"[0m
|
|
1017
|
+
[1m[35m (0.5ms)[0m DROP TABLE "stripe_local_coupons"
|
|
1018
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_plans_on_id"[0m
|
|
1019
|
+
[1m[35m (0.5ms)[0m DROP TABLE "stripe_local_plans"
|
|
1020
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_cards_on_customer_id"[0m
|
|
1021
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_cards_on_id"
|
|
1022
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "stripe_local_cards"[0m
|
|
1023
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_customers_on_id"
|
|
1024
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "stripe_local_customers"[0m
|
|
1025
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131122063517'
|
|
1026
|
+
[1m[36m (4.5ms)[0m [1mCOMMIT[0m
|
|
1027
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
1028
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
1029
|
+
Migrating to LoadStripeTables (20131122063517)
|
|
1030
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1031
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "stripe_local_customers" ("id" character varying(255), "account_balance" integer, "default_card" character varying(255), "delinquent" boolean, "description" character varying(255), "email" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
1032
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_stripe_local_customers_on_id" ON "stripe_local_customers" ("id")
|
|
1033
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "stripe_local_cards" ("id" character varying(255), "customer_id" character varying(255), "name" character varying(255), "exp_month" integer, "exp_year" integer, "brand" character varying(255), "last4" character varying(255), "cvc_check" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
|
1034
|
+
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_stripe_local_cards_on_id" ON "stripe_local_cards" ("id")
|
|
1035
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_cards_on_customer_id" ON "stripe_local_cards" ("customer_id")[0m
|
|
1036
|
+
[1m[35m (2.1ms)[0m CREATE TABLE "stripe_local_plans" ("id" character varying(255), "name" character varying(255), "amount" integer, "interval" character varying(255), "interval_count" integer DEFAULT 1, "trial_period_days" integer DEFAULT 0, "currency" character varying(255) DEFAULT 'usd', "synced" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp)
|
|
1037
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_plans_on_id" ON "stripe_local_plans" ("id")[0m
|
|
1038
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "stripe_local_coupons" ("id" character varying(255), "percent_off" integer, "amount_off" integer, "currency" character varying(255) DEFAULT 'usd', "duration" character varying(255), "redeem_by" timestamp, "max_redemptions" integer, "times_redeemed" integer DEFAULT 0, "duration_in_months" integer, "synced" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp)
|
|
1039
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_coupons_on_id" ON "stripe_local_coupons" ("id")[0m
|
|
1040
|
+
[1m[35m (2.7ms)[0m CREATE TABLE "stripe_local_discounts" ("id" serial primary key, "coupon_id" character varying(255), "subscription_id" character varying(255), "start" timestamp, "end" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
1041
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_stripe_local_discounts_on_coupon_id_and_subscription_id" ON "stripe_local_discounts" ("coupon_id", "subscription_id")[0m
|
|
1042
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "stripe_local_subscriptions" ("id" character varying(255), "customer_id" character varying(255), "plan_id" character varying(255), "status" character varying(255), "quantity" integer DEFAULT 1, "start" timestamp, "canceled_at" timestamp, "ended_at" timestamp, "current_period_start" timestamp, "current_period_end" timestamp, "trial_start" timestamp, "trial_end" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
1043
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_subscriptions_on_id" ON "stripe_local_subscriptions" ("id")[0m
|
|
1044
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_subscriptions_on_customer_id" ON "stripe_local_subscriptions" ("customer_id")
|
|
1045
|
+
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_stripe_local_subscriptions_on_plan_id" ON "stripe_local_subscriptions" ("plan_id")[0m
|
|
1046
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "stripe_local_invoices" ("id" character varying(255), "customer_id" character varying(255), "amount_due" integer, "subtotal" integer, "total" integer, "attempted" boolean, "attempt_count" integer, "paid" boolean, "closed" boolean, "date" timestamp, "period_start" timestamp, "period_end" timestamp, "currency" character varying(255) DEFAULT 'usd', "starting_balance" integer, "ending_balance" integer, "charge_id" character varying(255), "discount" integer DEFAULT 0, "application_fee" integer, "next_payment_attempt" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
1047
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_invoices_on_id" ON "stripe_local_invoices" ("id")[0m
|
|
1048
|
+
[1m[35m (0.4ms)[0m CREATE INDEX "index_stripe_local_invoices_on_customer_id" ON "stripe_local_invoices" ("customer_id")
|
|
1049
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "stripe_local_line_items" ("id" character varying(255), "invoice_id" character varying(255), "subscription" boolean DEFAULT 't', "amount" integer, "currency" character varying(255) DEFAULT 'usd', "proration" boolean, "period_start" timestamp, "period_end" timestamp, "quantity" integer, "plan_id" character varying(255), "description" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
1050
|
+
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_stripe_local_line_items_on_id" ON "stripe_local_line_items" ("id")
|
|
1051
|
+
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_stripe_local_line_items_on_invoice_id" ON "stripe_local_line_items" ("invoice_id")[0m
|
|
1052
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "stripe_local_charges" ("id" character varying(255), "card_id" character varying(255), "customer_id" character varying(255), "invoice_id" character varying(255), "transaction_id" character varying(255), "amount" integer, "captured" boolean DEFAULT 't', "refunded" boolean DEFAULT 'f', "paid" boolean, "created" timestamp, "currency" character varying(255) DEFAULT 'usd', "amount_refunded" integer DEFAULT 0, "description" character varying(255), "failure_code" character varying(255), "failure_message" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp)
|
|
1053
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_charges_on_id" ON "stripe_local_charges" ("id")[0m
|
|
1054
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_charges_on_card_id" ON "stripe_local_charges" ("card_id")
|
|
1055
|
+
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_stripe_local_charges_on_customer_id" ON "stripe_local_charges" ("customer_id")[0m
|
|
1056
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_charges_on_invoice_id" ON "stripe_local_charges" ("invoice_id")
|
|
1057
|
+
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_stripe_local_charges_on_transaction_id" ON "stripe_local_charges" ("transaction_id")[0m
|
|
1058
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "stripe_local_transfers" ("id" character varying(255), "amount" integer, "date" timestamp, "status" character varying(255), "transaction_id" character varying(255), "description" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp)
|
|
1059
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_transfers_on_id" ON "stripe_local_transfers" ("id")[0m
|
|
1060
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_stripe_local_transfers_on_status" ON "stripe_local_transfers" ("status")
|
|
1061
|
+
[1m[36m (1.3ms)[0m [1mCREATE INDEX "index_stripe_local_transfers_on_transaction_id" ON "stripe_local_transfers" ("transaction_id")[0m
|
|
1062
|
+
[1m[35m (2.0ms)[0m CREATE TABLE "stripe_local_transactions" ("id" character varying(255), "amount" integer, "available_on" timestamp, "created" timestamp, "fee" integer, "net" integer, "source_id" character varying(255), "source_type" character varying(255), "status" character varying(255), "description" character varying(255), "created_at" timestamp, "updated_at" timestamp)
|
|
1063
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_transactions_on_id" ON "stripe_local_transactions" ("id")[0m
|
|
1064
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_stripe_local_transactions_on_status" ON "stripe_local_transactions" ("status")
|
|
1065
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_transactions_on_source_id_and_source_type" ON "stripe_local_transactions" ("source_id", "source_type")[0m
|
|
1066
|
+
[1m[35m (1.6ms)[0m CREATE TABLE "stripe_local_balances" ("id" serial primary key, "available" integer, "pending" integer, "created_at" timestamp, "updated_at" timestamp)
|
|
1067
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20131122063517"]]
|
|
1068
|
+
[1m[35m (1.0ms)[0m COMMIT
|
|
1069
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
1070
|
+
[1m[36mClient Load (2.0ms)[0m [1mSELECT "clients".* FROM "clients"[0m
|
|
1071
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1072
|
+
[1m[36mSQL (11.2ms)[0m [1mINSERT INTO "clients" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id"[0m [["created_at", Fri, 22 Nov 2013 03:45:28 CST -06:00], ["updated_at", Fri, 22 Nov 2013 03:45:28 CST -06:00]]
|
|
1073
|
+
[1m[35m (0.3ms)[0m COMMIT
|
|
1074
|
+
[1m[36mClient Load (0.5ms)[0m [1mSELECT "clients".* FROM "clients" ORDER BY "clients"."id" DESC LIMIT 1[0m
|
|
1075
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
1076
|
+
[1m[36mSQL (5.7ms)[0m [1mUPDATE "clients" SET "name" = $1, "email" = $2, "updated_at" = $3 WHERE "clients"."id" = 1[0m [["name", "Test Tacular"], ["email", "test@gmail.com"], ["updated_at", Fri, 22 Nov 2013 04:37:01 CST -06:00]]
|
|
1077
|
+
[1m[35m (53.3ms)[0m COMMIT
|
|
1078
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1079
|
+
[1m[35mSQL (6.3ms)[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) [["created_at", Fri, 22 Nov 2013 04:39:58 CST -06:00], ["current_period_end", nil], ["current_period_start", nil], ["customer_id", "cus_2zFr0NTMZC20pJ"], ["plan_id", "HR99"], ["start", nil], ["status", "active"], ["updated_at", Fri, 22 Nov 2013 04:39:58 CST -06:00]]
|
|
1080
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
|
1081
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
1082
|
+
[1m[36mSQL (3.8ms)[0m [1mINSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)[0m [["brand", "Visa"], ["created_at", Fri, 22 Nov 2013 04:39:58 CST -06:00], ["customer_id", "cus_2zFr0NTMZC20pJ"], ["cvc_check", "pass"], ["exp_month", 7], ["exp_year", 2017], ["last4", "4242"], ["name", "Test Tacular"], ["updated_at", Fri, 22 Nov 2013 04:39:58 CST -06:00]]
|
|
1083
|
+
[1m[35m (0.2ms)[0m COMMIT
|
|
1084
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
1085
|
+
Migrating to AddStripeCustomerIdToClients (20131122104223)
|
|
1086
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1087
|
+
[1m[36m (0.7ms)[0m [1mALTER TABLE "clients" ADD COLUMN "stripe_customer_id" character varying(255)[0m
|
|
1088
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131122104223"]]
|
|
1089
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
|
1090
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
1091
|
+
[1m[36mClient Load (0.5ms)[0m [1mSELECT "clients".* FROM "clients" ORDER BY "clients"."id" DESC LIMIT 1[0m
|
|
1092
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1093
|
+
[1m[36mSQL (6.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)[0m [["created_at", Fri, 22 Nov 2013 04:43:46 CST -06:00], ["current_period_end", nil], ["current_period_start", nil], ["customer_id", "cus_2zFv6gFBvj67ch"], ["plan_id", "HR99"], ["start", nil], ["status", "active"], ["updated_at", Fri, 22 Nov 2013 04:43:46 CST -06:00]]
|
|
1094
|
+
[1m[35m (1.9ms)[0m COMMIT
|
|
1095
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
1096
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) [["brand", "Visa"], ["created_at", Fri, 22 Nov 2013 04:43:46 CST -06:00], ["customer_id", "cus_2zFv6gFBvj67ch"], ["cvc_check", "pass"], ["exp_month", 7], ["exp_year", 2017], ["last4", "4242"], ["name", "Test Tacular"], ["updated_at", Fri, 22 Nov 2013 04:43:46 CST -06:00]]
|
|
1097
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
|
1098
|
+
[1m[35mStripeLocal::Subscription Load (4.4ms)[0m SELECT "stripe_local_subscriptions".* FROM "stripe_local_subscriptions" ORDER BY "stripe_local_subscriptions"."" DESC LIMIT 1
|
|
1099
|
+
PG::SyntaxError: ERROR: zero-length delimited identifier at or near """"
|
|
1100
|
+
LINE 1: ...riptions" ORDER BY "stripe_local_subscriptions"."" DESC LI...
|
|
1101
|
+
^
|
|
1102
|
+
: SELECT "stripe_local_subscriptions".* FROM "stripe_local_subscriptions" ORDER BY "stripe_local_subscriptions"."" DESC LIMIT 1
|
|
1103
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
1104
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
1105
|
+
Migrating to AddStripeCustomerIdToClients (20131122104223)
|
|
1106
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1107
|
+
[1m[35m (2.0ms)[0m ALTER TABLE "clients" DROP "stripe_customer_id"
|
|
1108
|
+
[1m[36mSQL (0.5ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131122104223'[0m
|
|
1109
|
+
[1m[35m (0.4ms)[0m COMMIT
|
|
1110
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
1111
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
1112
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
1113
|
+
Migrating to LoadStripeTables (20131122063517)
|
|
1114
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1115
|
+
[1m[35m (1.5ms)[0m DROP TABLE "stripe_local_balances"
|
|
1116
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_transactions_on_source_id_and_source_type"[0m
|
|
1117
|
+
[1m[35m (0.2ms)[0m DROP INDEX "index_stripe_local_transactions_on_status"
|
|
1118
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_transactions_on_id"[0m
|
|
1119
|
+
[1m[35m (0.4ms)[0m DROP TABLE "stripe_local_transactions"
|
|
1120
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_transfers_on_transaction_id"[0m
|
|
1121
|
+
[1m[35m (0.2ms)[0m DROP INDEX "index_stripe_local_transfers_on_status"
|
|
1122
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_transfers_on_id"[0m
|
|
1123
|
+
[1m[35m (0.3ms)[0m DROP TABLE "stripe_local_transfers"
|
|
1124
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_charges_on_transaction_id"[0m
|
|
1125
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_charges_on_invoice_id"
|
|
1126
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_charges_on_customer_id"[0m
|
|
1127
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_charges_on_card_id"
|
|
1128
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_charges_on_id"[0m
|
|
1129
|
+
[1m[35m (0.5ms)[0m DROP TABLE "stripe_local_charges"
|
|
1130
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_line_items_on_invoice_id"[0m
|
|
1131
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_line_items_on_id"
|
|
1132
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "stripe_local_line_items"[0m
|
|
1133
|
+
[1m[35m (0.1ms)[0m DROP INDEX "index_stripe_local_invoices_on_customer_id"
|
|
1134
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_invoices_on_id"[0m
|
|
1135
|
+
[1m[35m (0.5ms)[0m DROP TABLE "stripe_local_invoices"
|
|
1136
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_subscriptions_on_plan_id"[0m
|
|
1137
|
+
[1m[35m (0.3ms)[0m DROP INDEX "index_stripe_local_subscriptions_on_customer_id"
|
|
1138
|
+
[1m[36m (0.2ms)[0m [1mDROP INDEX "index_stripe_local_subscriptions_on_id"[0m
|
|
1139
|
+
[1m[35m (0.4ms)[0m DROP TABLE "stripe_local_subscriptions"
|
|
1140
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_discounts_on_coupon_id_and_subscription_id"[0m
|
|
1141
|
+
[1m[35m (0.5ms)[0m DROP TABLE "stripe_local_discounts"
|
|
1142
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_coupons_on_id"[0m
|
|
1143
|
+
[1m[35m (0.6ms)[0m DROP TABLE "stripe_local_coupons"
|
|
1144
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_plans_on_id"[0m
|
|
1145
|
+
[1m[35m (0.5ms)[0m DROP TABLE "stripe_local_plans"
|
|
1146
|
+
[1m[36m (0.1ms)[0m [1mDROP INDEX "index_stripe_local_cards_on_customer_id"[0m
|
|
1147
|
+
[1m[35m (0.2ms)[0m DROP INDEX "index_stripe_local_cards_on_id"
|
|
1148
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "stripe_local_cards"[0m
|
|
1149
|
+
[1m[35m (0.2ms)[0m DROP INDEX "index_stripe_local_customers_on_id"
|
|
1150
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "stripe_local_customers"[0m
|
|
1151
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20131122063517'
|
|
1152
|
+
[1m[36m (35.5ms)[0m [1mCOMMIT[0m
|
|
1153
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.6ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
1154
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
1155
|
+
Migrating to LoadStripeTables (20131122063517)
|
|
1156
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1157
|
+
[1m[36m (4.9ms)[0m [1mCREATE TABLE "stripe_local_customers" ("id" character varying(255), "account_balance" integer, "default_card" character varying(255), "delinquent" boolean, "description" character varying(255), "email" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
1158
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_stripe_local_customers_on_id" ON "stripe_local_customers" ("id")
|
|
1159
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "stripe_local_cards" ("id" character varying(255), "customer_id" character varying(255), "name" character varying(255), "exp_month" integer, "exp_year" integer, "brand" character varying(255), "last4" character varying(255), "cvc_check" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
|
1160
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_stripe_local_cards_on_id" ON "stripe_local_cards" ("id")
|
|
1161
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_cards_on_customer_id" ON "stripe_local_cards" ("customer_id")[0m
|
|
1162
|
+
[1m[35m (1.7ms)[0m CREATE TABLE "stripe_local_plans" ("id" character varying(255), "name" character varying(255), "amount" integer, "interval" character varying(255), "interval_count" integer DEFAULT 1, "trial_period_days" integer DEFAULT 0, "currency" character varying(255) DEFAULT 'usd', "synced" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp)
|
|
1163
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_plans_on_id" ON "stripe_local_plans" ("id")[0m
|
|
1164
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "stripe_local_coupons" ("id" character varying(255), "percent_off" integer, "amount_off" integer, "currency" character varying(255) DEFAULT 'usd', "duration" character varying(255), "redeem_by" timestamp, "max_redemptions" integer, "times_redeemed" integer DEFAULT 0, "duration_in_months" integer, "synced" boolean DEFAULT 'f', "created_at" timestamp, "updated_at" timestamp)
|
|
1165
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_coupons_on_id" ON "stripe_local_coupons" ("id")[0m
|
|
1166
|
+
[1m[35m (2.2ms)[0m CREATE TABLE "stripe_local_discounts" ("id" serial primary key, "coupon_id" character varying(255), "subscription_id" character varying(255), "start" timestamp, "end" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
1167
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_discounts_on_coupon_id_and_subscription_id" ON "stripe_local_discounts" ("coupon_id", "subscription_id")[0m
|
|
1168
|
+
[1m[35m (2.2ms)[0m CREATE TABLE "stripe_local_subscriptions" ("id" serial primary key, "customer_id" character varying(255), "plan_id" character varying(255), "status" character varying(255), "quantity" integer DEFAULT 1, "start" timestamp, "canceled_at" timestamp, "ended_at" timestamp, "current_period_start" timestamp, "current_period_end" timestamp, "trial_start" timestamp, "trial_end" timestamp, "created_at" timestamp, "updated_at" timestamp)
|
|
1169
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_subscriptions_on_customer_id" ON "stripe_local_subscriptions" ("customer_id")[0m
|
|
1170
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_subscriptions_on_plan_id" ON "stripe_local_subscriptions" ("plan_id")
|
|
1171
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "stripe_local_invoices" ("id" character varying(255), "customer_id" character varying(255), "amount_due" integer, "subtotal" integer, "total" integer, "attempted" boolean, "attempt_count" integer, "paid" boolean, "closed" boolean, "date" timestamp, "period_start" timestamp, "period_end" timestamp, "currency" character varying(255) DEFAULT 'usd', "starting_balance" integer, "ending_balance" integer, "charge_id" character varying(255), "discount" integer DEFAULT 0, "application_fee" integer, "next_payment_attempt" timestamp, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
1172
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_stripe_local_invoices_on_id" ON "stripe_local_invoices" ("id")
|
|
1173
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_stripe_local_invoices_on_customer_id" ON "stripe_local_invoices" ("customer_id")[0m
|
|
1174
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "stripe_local_line_items" ("id" character varying(255), "invoice_id" character varying(255), "subscription" boolean DEFAULT 't', "amount" integer, "currency" character varying(255) DEFAULT 'usd', "proration" boolean, "period_start" timestamp, "period_end" timestamp, "quantity" integer, "plan_id" character varying(255), "description" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp)
|
|
1175
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_stripe_local_line_items_on_id" ON "stripe_local_line_items" ("id")[0m
|
|
1176
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_line_items_on_invoice_id" ON "stripe_local_line_items" ("invoice_id")
|
|
1177
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "stripe_local_charges" ("id" character varying(255), "card_id" character varying(255), "customer_id" character varying(255), "invoice_id" character varying(255), "transaction_id" character varying(255), "amount" integer, "captured" boolean DEFAULT 't', "refunded" boolean DEFAULT 'f', "paid" boolean, "created" timestamp, "currency" character varying(255) DEFAULT 'usd', "amount_refunded" integer DEFAULT 0, "description" character varying(255), "failure_code" character varying(255), "failure_message" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
1178
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_stripe_local_charges_on_id" ON "stripe_local_charges" ("id")
|
|
1179
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_charges_on_card_id" ON "stripe_local_charges" ("card_id")[0m
|
|
1180
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_stripe_local_charges_on_customer_id" ON "stripe_local_charges" ("customer_id")
|
|
1181
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_stripe_local_charges_on_invoice_id" ON "stripe_local_charges" ("invoice_id")[0m
|
|
1182
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_stripe_local_charges_on_transaction_id" ON "stripe_local_charges" ("transaction_id")
|
|
1183
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "stripe_local_transfers" ("id" character varying(255), "amount" integer, "date" timestamp, "status" character varying(255), "transaction_id" character varying(255), "description" character varying(255), "metadata" text, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
1184
|
+
[1m[35m (0.7ms)[0m CREATE UNIQUE INDEX "index_stripe_local_transfers_on_id" ON "stripe_local_transfers" ("id")
|
|
1185
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_stripe_local_transfers_on_status" ON "stripe_local_transfers" ("status")[0m
|
|
1186
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_stripe_local_transfers_on_transaction_id" ON "stripe_local_transfers" ("transaction_id")
|
|
1187
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "stripe_local_transactions" ("id" character varying(255), "amount" integer, "available_on" timestamp, "created" timestamp, "fee" integer, "net" integer, "source_id" character varying(255), "source_type" character varying(255), "status" character varying(255), "description" character varying(255), "created_at" timestamp, "updated_at" timestamp) [0m
|
|
1188
|
+
[1m[35m (0.6ms)[0m CREATE UNIQUE INDEX "index_stripe_local_transactions_on_id" ON "stripe_local_transactions" ("id")
|
|
1189
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_stripe_local_transactions_on_status" ON "stripe_local_transactions" ("status")[0m
|
|
1190
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_transactions_on_source_id_and_source_type" ON "stripe_local_transactions" ("source_id", "source_type")
|
|
1191
|
+
[1m[36m (3.8ms)[0m [1mCREATE TABLE "stripe_local_balances" ("id" serial primary key, "available" integer, "pending" integer, "created_at" timestamp, "updated_at" timestamp) [0m
|
|
1192
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131122063517"]]
|
|
1193
|
+
[1m[36m (1.4ms)[0m [1mCOMMIT[0m
|
|
1194
|
+
Migrating to AddStripeCustomerIdToClients (20131122104223)
|
|
1195
|
+
[1m[35m (0.9ms)[0m BEGIN
|
|
1196
|
+
[1m[36m (0.8ms)[0m [1mALTER TABLE "clients" ADD COLUMN "stripe_customer_id" character varying(255)[0m
|
|
1197
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131122104223"]]
|
|
1198
|
+
[1m[36m (1.3ms)[0m [1mCOMMIT[0m
|
|
1199
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
1200
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
1201
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
1202
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
1203
|
+
[1m[35mSQL (8.3ms)[0m INSERT INTO "clients" ("created_at", "email", "name", "password", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["created_at", Fri, 22 Nov 2013 06:00:51 CST -06:00], ["email", "test@example.com"], ["name", "Test Tastic"], ["password", "i love big boobs"], ["updated_at", Fri, 22 Nov 2013 06:00:51 CST -06:00]]
|
|
1204
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
|
1205
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
1206
|
+
[1m[36mSQL (6.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", Fri, 22 Nov 2013 06:01:40 CST -06:00], ["current_period_end", Sun, 22 Dec 2013 06:01:38 CST -06:00], ["current_period_start", Fri, 22 Nov 2013 06:01:38 CST -06:00], ["customer_id", "cus_2zHBGdsbpsfKU8"], ["plan_id", "HR99"], ["start", Fri, 22 Nov 2013 06:01:38 CST -06:00], ["status", "active"], ["updated_at", Fri, 22 Nov 2013 06:01:40 CST -06:00]]
|
|
1207
|
+
[1m[35m (0.2ms)[0m COMMIT
|
|
1208
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1209
|
+
[1m[35mSQL (4.3ms)[0m INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) [["brand", "Visa"], ["created_at", Fri, 22 Nov 2013 06:01:40 CST -06:00], ["customer_id", "cus_2zHBGdsbpsfKU8"], ["cvc_check", "pass"], ["exp_month", 2], ["exp_year", 2018], ["last4", "4242"], ["name", "Test Tastic"], ["updated_at", Fri, 22 Nov 2013 06:01:40 CST -06:00]]
|
|
1210
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
|
1211
|
+
[1m[36mClient Load (0.6ms)[0m [1mSELECT "clients".* FROM "clients" ORDER BY "clients"."id" DESC LIMIT 1[0m
|
|
1212
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1213
|
+
[1m[36mSQL (4.8ms)[0m [1mINSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)[0m [["brand", "Visa"], ["created_at", Fri, 22 Nov 2013 06:06:47 CST -06:00], ["customer_id", "cus_2zHG90Oz45Kpwa"], ["cvc_check", "pass"], ["exp_month", 11], ["exp_year", 2016], ["last4", "4242"], ["name", "Test Tastic"], ["updated_at", Fri, 22 Nov 2013 06:06:47 CST -06:00]]
|
|
1214
|
+
[1m[35m (2.0ms)[0m COMMIT
|
|
1215
|
+
[1m[36mClient Load (0.6ms)[0m [1mSELECT "clients".* FROM "clients" ORDER BY "clients"."id" DESC LIMIT 1[0m
|
|
1216
|
+
[1m[35mClient Load (0.6ms)[0m SELECT "clients".* FROM "clients" ORDER BY "clients"."id" DESC LIMIT 1
|
|
1217
|
+
[1m[36mClient Load (0.5ms)[0m [1mSELECT "clients".* FROM "clients" ORDER BY "clients"."id" DESC LIMIT 1[0m
|
|
1218
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
1219
|
+
[1m[36mSQL (4.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", Fri, 22 Nov 2013 06:14:11 CST -06:00], ["current_period_end", Sun, 22 Dec 2013 06:14:09 CST -06:00], ["current_period_start", Fri, 22 Nov 2013 06:14:09 CST -06:00], ["customer_id", "cus_2zHN5EZUi4CwzU"], ["plan_id", "HR99"], ["start", Fri, 22 Nov 2013 06:14:09 CST -06:00], ["status", "active"], ["updated_at", Fri, 22 Nov 2013 06:14:11 CST -06:00]]
|
|
1220
|
+
[1m[35m (84.4ms)[0m COMMIT
|
|
1221
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
|
1222
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) [["brand", "Visa"], ["created_at", Fri, 22 Nov 2013 06:14:11 CST -06:00], ["customer_id", "cus_2zHN5EZUi4CwzU"], ["cvc_check", "pass"], ["exp_month", 3], ["exp_year", 2014], ["last4", "4242"], ["name", "Testicle Tuesday"], ["updated_at", Fri, 22 Nov 2013 06:14:11 CST -06:00]]
|
|
1223
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
|
1224
|
+
[1m[36mClient Load (0.5ms)[0m [1mSELECT "clients".* FROM "clients" ORDER BY "clients"."id" DESC LIMIT 1[0m
|
|
1225
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
1226
|
+
[1m[36mSQL (4.0ms)[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", Fri, 22 Nov 2013 06:18:16 CST -06:00], ["current_period_end", Sun, 22 Dec 2013 06:18:15 CST -06:00], ["current_period_start", Fri, 22 Nov 2013 06:18:15 CST -06:00], ["customer_id", "cus_2zHRgUUNwJvUM5"], ["plan_id", "HR99"], ["start", Fri, 22 Nov 2013 06:18:15 CST -06:00], ["status", "active"], ["updated_at", Fri, 22 Nov 2013 06:18:16 CST -06:00]]
|
|
1227
|
+
[1m[35m (57.4ms)[0m COMMIT
|
|
1228
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
|
1229
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) [["brand", "Visa"], ["created_at", Fri, 22 Nov 2013 06:18:17 CST -06:00], ["customer_id", "cus_2zHRgUUNwJvUM5"], ["cvc_check", "pass"], ["exp_month", 5], ["exp_year", 2015], ["last4", "4242"], ["name", "Test Again"], ["updated_at", Fri, 22 Nov 2013 06:18:17 CST -06:00]]
|
|
1230
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
|
1231
|
+
[1m[36mClient Load (0.9ms)[0m [1mSELECT "clients".* FROM "clients" ORDER BY "clients"."id" DESC LIMIT 1[0m
|
|
1232
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
1233
|
+
[1m[36mSQL (3.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", Fri, 22 Nov 2013 06:30:04 CST -06:00], ["current_period_end", Sun, 22 Dec 2013 06:30:03 CST -06:00], ["current_period_start", Fri, 22 Nov 2013 06:30:03 CST -06:00], ["customer_id", "cus_2zHdWSZlMzl8YX"], ["plan_id", "HR99"], ["start", Fri, 22 Nov 2013 06:30:03 CST -06:00], ["status", "active"], ["updated_at", Fri, 22 Nov 2013 06:30:04 CST -06:00]]
|
|
1234
|
+
[1m[35m (1.9ms)[0m COMMIT
|
|
1235
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
|
1236
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) [["brand", "Visa"], ["created_at", Fri, 22 Nov 2013 06:30:05 CST -06:00], ["customer_id", "cus_2zHdWSZlMzl8YX"], ["cvc_check", "pass"], ["exp_month", 3], ["exp_year", 2014], ["last4", "4242"], ["name", "Try Again"], ["updated_at", Fri, 22 Nov 2013 06:30:05 CST -06:00]]
|
|
1237
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
|
1238
|
+
[1m[36mClient Load (0.5ms)[0m [1mSELECT "clients".* FROM "clients" ORDER BY "clients"."id" DESC LIMIT 1[0m
|
|
1239
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1240
|
+
[1m[36mSQL (3.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", Fri, 22 Nov 2013 06:44:50 CST -06:00], ["current_period_end", Sun, 22 Dec 2013 06:44:49 CST -06:00], ["current_period_start", Fri, 22 Nov 2013 06:44:49 CST -06:00], ["customer_id", "cus_2zHsxeBRF1rGU5"], ["plan_id", "HR99"], ["start", Fri, 22 Nov 2013 06:44:49 CST -06:00], ["status", "active"], ["updated_at", Fri, 22 Nov 2013 06:44:50 CST -06:00]]
|
|
1241
|
+
[1m[35m (2.0ms)[0m COMMIT
|
|
1242
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
1243
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) [["brand", "American Express"], ["created_at", Fri, 22 Nov 2013 06:44:50 CST -06:00], ["customer_id", "cus_2zHsxeBRF1rGU5"], ["cvc_check", "pass"], ["exp_month", 6], ["exp_year", 2016], ["last4", "0005"], ["name", "Sacha Barron"], ["updated_at", Fri, 22 Nov 2013 06:44:50 CST -06:00]]
|
|
1244
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
|
1245
|
+
[1m[36mClient Load (1.0ms)[0m [1mSELECT "clients".* FROM "clients" ORDER BY "clients"."id" DESC LIMIT 1[0m
|
|
1246
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1247
|
+
[1m[36mSQL (2.9ms)[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", Fri, 22 Nov 2013 07:27:59 CST -06:00], ["current_period_end", Sun, 22 Dec 2013 07:27:58 CST -06:00], ["current_period_start", Fri, 22 Nov 2013 07:27:58 CST -06:00], ["customer_id", "cus_2zIZopahLJsCzx"], ["plan_id", "HR99"], ["start", Fri, 22 Nov 2013 07:27:58 CST -06:00], ["status", "active"], ["updated_at", Fri, 22 Nov 2013 07:27:59 CST -06:00]]
|
|
1248
|
+
[1m[35m (60.6ms)[0m COMMIT
|
|
1249
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
|
1250
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) [["brand", "Discover"], ["created_at", Fri, 22 Nov 2013 07:27:59 CST -06:00], ["customer_id", "cus_2zIZopahLJsCzx"], ["cvc_check", "pass"], ["exp_month", 12], ["exp_year", 2015], ["last4", "1117"], ["name", "Tes Tickles"], ["updated_at", Fri, 22 Nov 2013 07:27:59 CST -06:00]]
|
|
1251
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
|
1252
|
+
[1m[36mClient Load (0.6ms)[0m [1mSELECT "clients".* FROM "clients" ORDER BY "clients"."id" DESC LIMIT 1[0m
|
|
1253
|
+
[1m[35m (0.1ms)[0m BEGIN
|
|
1254
|
+
[1m[36mSQL (4.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", Fri, 22 Nov 2013 07:30:07 CST -06:00], ["current_period_end", Sun, 22 Dec 2013 07:30:05 CST -06:00], ["current_period_start", Fri, 22 Nov 2013 07:30:05 CST -06:00], ["customer_id", "cus_2zIbb2qmfw4KLn"], ["plan_id", "HR99"], ["start", Fri, 22 Nov 2013 07:30:05 CST -06:00], ["status", "active"], ["updated_at", Fri, 22 Nov 2013 07:30:07 CST -06:00]]
|
|
1255
|
+
[1m[35m (0.5ms)[0m COMMIT
|
|
1256
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
1257
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "stripe_local_cards" ("brand", "created_at", "customer_id", "cvc_check", "exp_month", "exp_year", "last4", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) [["brand", "Diners Club"], ["created_at", Fri, 22 Nov 2013 07:30:07 CST -06:00], ["customer_id", "cus_2zIbb2qmfw4KLn"], ["cvc_check", "pass"], ["exp_month", 10], ["exp_year", 2018], ["last4", "5904"], ["name", "Tes Tickles"], ["updated_at", Fri, 22 Nov 2013 07:30:07 CST -06:00]]
|
|
1258
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
|
1259
|
+
[1m[35m (0.2ms)[0m BEGIN
|
|
1260
|
+
[1m[36mSQL (7.4ms)[0m [1mINSERT INTO "stripe_local_customers" ("account_balance", "created_at", "default_card", "delinquent", "description", "email", "id", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["account_balance", 0], ["created_at", Fri, 22 Nov 2013 07:30:07 CST -06:00], ["default_card", "card_2zIbNaJ3K0sN0C"], ["delinquent", false], ["description", "Testing StripeLocal! forth attempt"], ["email", "test@example.com"], ["id", "cus_2zIbb2qmfw4KLn"], ["updated_at", Fri, 22 Nov 2013 07:30:07 CST -06:00]]
|
|
1261
|
+
[1m[35m (0.6ms)[0m COMMIT
|
|
1262
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
1263
|
+
[1m[35m (0.2ms)[0m COMMIT
|
|
1264
|
+
[1m[36mStripeLocal::Customer Load (0.6ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers"[0m
|
|
1265
|
+
[1m[35mStripeLocal::Customer Load (0.9ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" ORDER BY "stripe_local_customers"."id" DESC LIMIT 1
|
|
1266
|
+
[1m[36mStripeLocal::Customer Load (0.5ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" ORDER BY "stripe_local_customers"."id" ASC LIMIT 1[0m
|
|
1267
|
+
[1m[35mStripeLocal::Customer Load (0.5ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" ORDER BY "stripe_local_customers"."id" ASC LIMIT 1
|
|
1268
|
+
[1m[36mStripeLocal::Customer Load (0.5ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" ORDER BY "stripe_local_customers"."id" ASC LIMIT 1[0m
|
|
1269
|
+
[1m[35mStripeLocal::Customer Load (0.5ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" ORDER BY "stripe_local_customers"."id" ASC LIMIT 1
|
|
1270
|
+
[1m[36mStripeLocal::Customer Load (1.5ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" ORDER BY "stripe_local_customers"."id" ASC LIMIT 1[0m
|
|
1271
|
+
[1m[35mClient Load (0.6ms)[0m SELECT "clients".* FROM "clients" ORDER BY "clients"."id" DESC LIMIT 1
|
|
1272
|
+
[1m[36mStripeLocal::Customer Load (0.6ms)[0m [1mSELECT "stripe_local_customers".* FROM "stripe_local_customers" ORDER BY "stripe_local_customers"."id" ASC LIMIT 1[0m
|
|
1273
|
+
[1m[36mClient Load (0.7ms)[0m [1mSELECT "clients".* FROM "clients" ORDER BY "clients"."id" DESC LIMIT 1[0m
|
|
1274
|
+
[1m[35mStripeLocal::Customer Load (1.4ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" ORDER BY "stripe_local_customers"."id" ASC LIMIT 1
|
|
1275
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
|
1276
|
+
[1m[35mSQL (3.1ms)[0m UPDATE "clients" SET "stripe_customer_id" = $1, "updated_at" = $2 WHERE "clients"."id" = 2 [["stripe_customer_id", "cus_2zIbb2qmfw4KLn"], ["updated_at", Fri, 22 Nov 2013 07:48:53 CST -06:00]]
|
|
1277
|
+
[1m[36m (1.7ms)[0m [1mCOMMIT[0m
|
|
1278
|
+
[1m[36mClient Load (0.6ms)[0m [1mSELECT "clients".* FROM "clients" ORDER BY "clients"."id" DESC LIMIT 1[0m
|
|
1279
|
+
[1m[35mStripeLocal::Customer Load (1.1ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."id" = $1 ORDER BY "stripe_local_customers"."id" ASC LIMIT 1 [["id", "cus_2zIbb2qmfw4KLn"]]
|
|
1280
|
+
[1m[36mClient Load (0.5ms)[0m [1mSELECT "clients".* FROM "clients" ORDER BY "clients"."id" DESC LIMIT 1[0m
|
|
1281
|
+
[1m[35mStripeLocal::Customer Load (2.4ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."id" = $1 ORDER BY "stripe_local_customers"."id" ASC LIMIT 1 [["id", "cus_2zIbb2qmfw4KLn"]]
|
|
1282
|
+
[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_2zIbb2qmfw4KLn"]]
|
|
1283
|
+
[1m[35mStripeLocal::Plan Load (1.1ms)[0m SELECT "stripe_local_plans".* FROM "stripe_local_plans" INNER JOIN "stripe_local_subscriptions" ON "stripe_local_plans"."id" = "stripe_local_subscriptions"."plan_id" WHERE "stripe_local_subscriptions"."customer_id" = $1 ORDER BY "stripe_local_plans"."id" ASC LIMIT 1 [["customer_id", "cus_2zIbb2qmfw4KLn"]]
|
|
1284
|
+
[1m[36mClient Load (3.9ms)[0m [1mSELECT "clients".* FROM "clients" ORDER BY "clients"."id" DESC LIMIT 1[0m
|
|
1285
|
+
[1m[35mStripeLocal::Customer Load (4.1ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."id" = $1 ORDER BY "stripe_local_customers"."id" ASC LIMIT 1 [["id", "cus_2zIbb2qmfw4KLn"]]
|
|
1286
|
+
[1m[36mStripeLocal::Subscription Load (3.4ms)[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_2zIbb2qmfw4KLn"]]
|
|
1287
|
+
[1m[36mClient Load (0.5ms)[0m [1mSELECT "clients".* FROM "clients" ORDER BY "clients"."id" DESC LIMIT 1[0m
|
|
1288
|
+
[1m[35mStripeLocal::Customer Load (1.0ms)[0m SELECT "stripe_local_customers".* FROM "stripe_local_customers" WHERE "stripe_local_customers"."id" = $1 ORDER BY "stripe_local_customers"."id" ASC LIMIT 1 [["id", "cus_2zIbb2qmfw4KLn"]]
|
|
1289
|
+
[1m[36mStripeLocal::Invoice Load (2.4ms)[0m [1mSELECT "stripe_local_invoices".* FROM "stripe_local_invoices" WHERE "stripe_local_invoices"."customer_id" = $1[0m [["customer_id", "cus_2zIbb2qmfw4KLn"]]
|
|
1290
|
+
[1m[35mStripeLocal::Plan Load (1.3ms)[0m SELECT "stripe_local_plans".* FROM "stripe_local_plans" INNER JOIN "stripe_local_subscriptions" ON "stripe_local_plans"."id" = "stripe_local_subscriptions"."plan_id" WHERE "stripe_local_subscriptions"."customer_id" = $1 ORDER BY "stripe_local_plans"."id" ASC LIMIT 1 [["customer_id", "cus_2zIbb2qmfw4KLn"]]
|