test/dummy/log/development.log in billing-0.0.5a vs test/dummy/log/development.log in billing-0.0.5b
- old
+ new
@@ -15440,5 +15440,1441 @@
UNION ALL
SELECT sql
FROM sqlite_temp_master
WHERE name='index_billing_versions_on_item_type_and_item_id' AND type='index'
+ [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to BillingTgFpMapping (20141221201539)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.4ms)[0m [1mCREATE TABLE "billing_tg_fp_mappings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tax_group_id" integer, "extface_driver_id" integer, "mapping" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.1ms)[0m select sqlite_version(*)
+ [1m[36m (0.2ms)[0m [1mCREATE INDEX "index_billing_tg_fp_mappings_on_extface_driver_id" ON "billing_tg_fp_mappings" ("extface_driver_id")[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_tg_fp_mappings_on_extface_driver_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_tg_fp_mappings_on_extface_driver_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1mCREATE INDEX "index_billing_tg_fp_mappings_on_tax_group_id" ON "billing_tg_fp_mappings" ("tax_group_id")[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141221201539"]]
+ [1m[36m (141.7ms)[0m [1mcommit transaction[0m
+ [1m[35mActiveRecord::SchemaMigration Load (0.5ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+ [1m[36m (0.3ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_billable_id_and_billable_type' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_billable_id_and_billable_type' AND type='index'
+[0m
+ [1m[35m (0.3ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_origin_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_origin_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_extface_job_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_extface_job_id' AND type='index'
+[0m
+ [1m[35m (0.3ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_report_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_report_id' AND type='index'
+
+ [1m[36m (0.3ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_bill_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_bill_id' AND type='index'
+[0m
+ [1m[35m (0.3ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_revenue_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_revenue_at' AND type='index'
+
+ [1m[36m (0.3ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_origin_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_origin_id' AND type='index'
+
+ [1m[36m (0.3ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_chargable_id_and_chargable_type' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_chargable_id_and_chargable_type' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_departments_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_departments_on_deleted_at' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_departments_on_tax_group_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_departments_on_tax_group_id' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_modifiers_on_bill_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_modifiers_on_bill_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_operators_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_operators_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_origins_on_transfer_device_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_origins_on_transfer_device_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_origins_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_origins_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_origins_on_fiscal_device_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_origins_on_fiscal_device_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_payment_types_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_payment_types_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_payments_on_bill_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_payments_on_bill_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_payments_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_payments_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_plus_on_department_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_plus_on_department_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_plus_on_tax_group_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_plus_on_tax_group_id' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_pt_fp_mappings_on_payment_type_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_pt_fp_mappings_on_payment_type_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_pt_fp_mappings_on_extface_driver_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_pt_fp_mappings_on_extface_driver_id' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_reports_on_origin_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_reports_on_origin_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_tg_fp_mappings_on_tax_group_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_tg_fp_mappings_on_tax_group_id' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_tg_fp_mappings_on_extface_driver_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_tg_fp_mappings_on_extface_driver_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_versions_on_item_type_and_item_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_versions_on_item_type_and_item_id' AND type='index'
+[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to BillingOpFpMapping (20141221233912)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.4ms)[0m [1mCREATE TABLE "billing_op_fp_mappings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "operator_id" integer, "extface_driver_id" integer, "mapping" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.1ms)[0m select sqlite_version(*)
+ [1m[36m (0.2ms)[0m [1mCREATE INDEX "index_billing_op_fp_mappings_on_extface_driver_id" ON "billing_op_fp_mappings" ("extface_driver_id")[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_op_fp_mappings_on_extface_driver_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_op_fp_mappings_on_extface_driver_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1mCREATE INDEX "index_billing_op_fp_mappings_on_operator_id" ON "billing_op_fp_mappings" ("operator_id")[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141221233912"]]
+ [1m[36m (190.5ms)[0m [1mcommit transaction[0m
+ [1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_billable_id_and_billable_type' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_billable_id_and_billable_type' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_origin_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_origin_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_extface_job_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_extface_job_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_report_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_report_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_bill_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_bill_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_revenue_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_revenue_at' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_origin_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_origin_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_chargable_id_and_chargable_type' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_chargable_id_and_chargable_type' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_departments_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_departments_on_deleted_at' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_departments_on_tax_group_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_departments_on_tax_group_id' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_modifiers_on_bill_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_modifiers_on_bill_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_op_fp_mappings_on_operator_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_op_fp_mappings_on_operator_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_op_fp_mappings_on_extface_driver_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_op_fp_mappings_on_extface_driver_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_operators_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_operators_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_origins_on_transfer_device_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_origins_on_transfer_device_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_origins_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_origins_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_origins_on_fiscal_device_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_origins_on_fiscal_device_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_payment_types_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_payment_types_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_payments_on_bill_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_payments_on_bill_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_payments_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_payments_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_plus_on_department_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_plus_on_department_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_plus_on_tax_group_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_plus_on_tax_group_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_pt_fp_mappings_on_payment_type_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_pt_fp_mappings_on_payment_type_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_pt_fp_mappings_on_extface_driver_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_pt_fp_mappings_on_extface_driver_id' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_reports_on_origin_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_reports_on_origin_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_tg_fp_mappings_on_tax_group_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_tg_fp_mappings_on_tax_group_id' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_tg_fp_mappings_on_extface_driver_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_tg_fp_mappings_on_extface_driver_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_versions_on_item_type_and_item_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_versions_on_item_type_and_item_id' AND type='index'
+[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_billable_id_and_billable_type' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_billable_id_and_billable_type' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_origin_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_origin_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_extface_job_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_extface_job_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_report_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_report_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_bill_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_bill_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_revenue_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_revenue_at' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_origin_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_origin_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_chargable_id_and_chargable_type' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_chargable_id_and_chargable_type' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_departments_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_departments_on_deleted_at' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_departments_on_tax_group_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_departments_on_tax_group_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_modifiers_on_bill_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_modifiers_on_bill_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_op_fp_mappings_on_operator_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_op_fp_mappings_on_operator_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_op_fp_mappings_on_extface_driver_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_op_fp_mappings_on_extface_driver_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_operators_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_operators_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_origins_on_transfer_device_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_origins_on_transfer_device_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_origins_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_origins_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_origins_on_fiscal_device_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_origins_on_fiscal_device_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_payment_types_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_payment_types_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_payments_on_bill_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_payments_on_bill_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_payments_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_payments_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_plus_on_department_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_plus_on_department_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_plus_on_tax_group_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_plus_on_tax_group_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_pt_fp_mappings_on_payment_type_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_pt_fp_mappings_on_payment_type_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_pt_fp_mappings_on_extface_driver_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_pt_fp_mappings_on_extface_driver_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_reports_on_origin_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_reports_on_origin_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_tg_fp_mappings_on_tax_group_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_tg_fp_mappings_on_tax_group_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_tg_fp_mappings_on_extface_driver_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_tg_fp_mappings_on_extface_driver_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_versions_on_item_type_and_item_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_versions_on_item_type_and_item_id' AND type='index'
+[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreateBillingResources (20141229234928)
+ [1m[35m (0.3ms)[0m begin transaction
+ [1m[36m (0.9ms)[0m [1mCREATE TABLE "billing_resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "properties" text, "banned" boolean, "type" varchar(255), "created_at" datetime, "updated_at" datetime, "deleted_at" datetime) [0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141229234928"]]
+ [1m[36m (127.1ms)[0m [1mcommit transaction[0m
+ [1m[35mActiveRecord::SchemaMigration Load (0.5ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+ [1m[36m (0.3ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_billable_id_and_billable_type' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_billable_id_and_billable_type' AND type='index'
+[0m
+ [1m[35m (0.3ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_origin_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_origin_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_extface_job_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_extface_job_id' AND type='index'
+[0m
+ [1m[35m (0.3ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_report_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_report_id' AND type='index'
+
+ [1m[36m (0.3ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_bill_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_bill_id' AND type='index'
+[0m
+ [1m[35m (0.3ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_revenue_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_revenue_at' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_origin_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_origin_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_chargable_id_and_chargable_type' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_chargable_id_and_chargable_type' AND type='index'
+[0m
+ [1m[35m (0.3ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_departments_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_departments_on_deleted_at' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_departments_on_tax_group_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_departments_on_tax_group_id' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_modifiers_on_bill_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_modifiers_on_bill_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_op_fp_mappings_on_operator_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_op_fp_mappings_on_operator_id' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_op_fp_mappings_on_extface_driver_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_op_fp_mappings_on_extface_driver_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_operators_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_operators_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_origins_on_transfer_device_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_origins_on_transfer_device_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_origins_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_origins_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_origins_on_fiscal_device_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_origins_on_fiscal_device_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_payment_types_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_payment_types_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_payments_on_bill_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_payments_on_bill_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_payments_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_payments_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_plus_on_department_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_plus_on_department_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_plus_on_tax_group_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_plus_on_tax_group_id' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_pt_fp_mappings_on_payment_type_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_pt_fp_mappings_on_payment_type_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_pt_fp_mappings_on_extface_driver_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_pt_fp_mappings_on_extface_driver_id' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_reports_on_origin_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_reports_on_origin_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_tg_fp_mappings_on_tax_group_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_tg_fp_mappings_on_tax_group_id' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_tg_fp_mappings_on_extface_driver_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_tg_fp_mappings_on_extface_driver_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_versions_on_item_type_and_item_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_versions_on_item_type_and_item_id' AND type='index'
+[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+Migrating to CreateBillingResources (20141229234928)
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.3ms)[0m DROP TABLE "billing_resources"
+ [1m[36mSQL (0.2ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20141229234928'[0m
+ [1m[35m (152.7ms)[0m commit transaction
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_billable_id_and_billable_type' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_billable_id_and_billable_type' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_origin_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_origin_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_extface_job_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_extface_job_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_report_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_report_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_bill_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_bill_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_revenue_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_revenue_at' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_deleted_at' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_origin_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_origin_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_chargable_id_and_chargable_type' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_chargable_id_and_chargable_type' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_departments_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_departments_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_departments_on_tax_group_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_departments_on_tax_group_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_modifiers_on_bill_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_modifiers_on_bill_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_op_fp_mappings_on_operator_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_op_fp_mappings_on_operator_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_op_fp_mappings_on_extface_driver_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_op_fp_mappings_on_extface_driver_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_operators_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_operators_on_deleted_at' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_origins_on_transfer_device_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_origins_on_transfer_device_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_origins_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_origins_on_deleted_at' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_origins_on_fiscal_device_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_origins_on_fiscal_device_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_payment_types_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_payment_types_on_deleted_at' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_payments_on_bill_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_payments_on_bill_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_payments_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_payments_on_deleted_at' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_plus_on_department_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_plus_on_department_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_plus_on_tax_group_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_plus_on_tax_group_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_pt_fp_mappings_on_payment_type_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_pt_fp_mappings_on_payment_type_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_pt_fp_mappings_on_extface_driver_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_pt_fp_mappings_on_extface_driver_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_reports_on_origin_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_reports_on_origin_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_tg_fp_mappings_on_tax_group_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_tg_fp_mappings_on_tax_group_id' AND type='index'
+
+ [1m[36m (0.1ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_tg_fp_mappings_on_extface_driver_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_tg_fp_mappings_on_extface_driver_id' AND type='index'
+[0m
+ [1m[35m (0.1ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_versions_on_item_type_and_item_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_versions_on_item_type_and_item_id' AND type='index'
+
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreateBillingResources (20141229234928)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "billing_resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "master_id" integer, "name" varchar(255), "properties" text, "banned" boolean, "type" varchar(255), "created_at" datetime, "updated_at" datetime, "deleted_at" datetime) [0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141229234928"]]
+ [1m[36m (187.8ms)[0m [1mcommit transaction[0m
+ [1m[35mActiveRecord::SchemaMigration Load (0.6ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+ [1m[36m (0.5ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_billable_id_and_billable_type' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_billable_id_and_billable_type' AND type='index'
+[0m
+ [1m[35m (0.3ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_origin_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_origin_id' AND type='index'
+
+ [1m[36m (0.3ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_extface_job_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_extface_job_id' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_bills_on_report_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_bills_on_report_id' AND type='index'
+
+ [1m[36m (0.3ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_bill_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_bill_id' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_revenue_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_revenue_at' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_origin_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_origin_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_charges_on_chargable_id_and_chargable_type' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_charges_on_chargable_id_and_chargable_type' AND type='index'
+[0m
+ [1m[35m (0.3ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_departments_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_departments_on_deleted_at' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_departments_on_tax_group_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_departments_on_tax_group_id' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_modifiers_on_bill_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_modifiers_on_bill_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_op_fp_mappings_on_operator_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_op_fp_mappings_on_operator_id' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_op_fp_mappings_on_extface_driver_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_op_fp_mappings_on_extface_driver_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_operators_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_operators_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_origins_on_transfer_device_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_origins_on_transfer_device_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_origins_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_origins_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_origins_on_fiscal_device_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_origins_on_fiscal_device_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_payment_types_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_payment_types_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_payments_on_bill_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_payments_on_bill_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_payments_on_deleted_at' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_payments_on_deleted_at' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_plus_on_department_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_plus_on_department_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_plus_on_tax_group_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_plus_on_tax_group_id' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_pt_fp_mappings_on_payment_type_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_pt_fp_mappings_on_payment_type_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_pt_fp_mappings_on_extface_driver_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_pt_fp_mappings_on_extface_driver_id' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_reports_on_origin_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_reports_on_origin_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_tg_fp_mappings_on_tax_group_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_tg_fp_mappings_on_tax_group_id' AND type='index'
+[0m
+ [1m[35m (0.2ms)[0m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_tg_fp_mappings_on_extface_driver_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_tg_fp_mappings_on_extface_driver_id' AND type='index'
+
+ [1m[36m (0.2ms)[0m [1m SELECT sql
+ FROM sqlite_master
+ WHERE name='index_billing_versions_on_item_type_and_item_id' AND type='index'
+ UNION ALL
+ SELECT sql
+ FROM sqlite_temp_master
+ WHERE name='index_billing_versions_on_item_type_and_item_id' AND type='index'
+[0m