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' + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to BillingTgFpMapping (20141221201539) +  (0.1ms) begin transaction +  (0.4ms) CREATE 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)  +  (0.1ms) select sqlite_version(*) +  (0.2ms) CREATE INDEX "index_billing_tg_fp_mappings_on_extface_driver_id" ON "billing_tg_fp_mappings" ("extface_driver_id") +  (0.1ms) 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' + +  (0.2ms) CREATE INDEX "index_billing_tg_fp_mappings_on_tax_group_id" ON "billing_tg_fp_mappings" ("tax_group_id") + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141221201539"]] +  (141.7ms) commit transaction + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.3ms)  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' + +  (0.3ms) 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' + +  (0.2ms)  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' + +  (0.3ms) 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' + +  (0.3ms)  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' + +  (0.3ms) 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' + +  (0.3ms)  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' + +  (0.2ms) 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' + +  (0.3ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to BillingOpFpMapping (20141221233912) +  (0.1ms) begin transaction +  (0.4ms) CREATE 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)  +  (0.1ms) select sqlite_version(*) +  (0.2ms) CREATE INDEX "index_billing_op_fp_mappings_on_extface_driver_id" ON "billing_op_fp_mappings" ("extface_driver_id") +  (0.1ms) 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' + +  (0.2ms) CREATE INDEX "index_billing_op_fp_mappings_on_operator_id" ON "billing_op_fp_mappings" ("operator_id") + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141221233912"]] +  (190.5ms) commit transaction + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.1ms) 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' + +  (0.2ms)  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' + +  (0.1ms) 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' + +  (0.2ms)  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' + +  (0.1ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.2ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.2ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.2ms) 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' + +  (0.1ms)  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' + +  (0.2ms) 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' + +  (0.1ms)  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' + + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateBillingResources (20141229234928) +  (0.3ms) begin transaction +  (0.9ms) CREATE 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)  + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141229234928"]] +  (127.1ms) commit transaction + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.3ms)  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' + +  (0.3ms) 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' + +  (0.2ms)  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' + +  (0.3ms) 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' + +  (0.3ms)  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' + +  (0.3ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.3ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateBillingResources (20141229234928) +  (0.1ms) begin transaction +  (0.3ms) DROP TABLE "billing_resources" + SQL (0.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20141229234928' +  (152.7ms) commit transaction + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.2ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.2ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + +  (0.1ms)  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' + +  (0.1ms) 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' + + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateBillingResources (20141229234928) +  (0.1ms) begin transaction +  (0.3ms) CREATE 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)  + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141229234928"]] +  (187.8ms) commit transaction + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms)  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' + +  (0.3ms) 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' + +  (0.3ms)  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' + +  (0.2ms) 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' + +  (0.3ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.3ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' + +  (0.2ms) 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' + +  (0.2ms)  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' +