dorsale 2.2.5 → 2.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/dorsale/billing_machine/quotations_controller.rb +2 -3
  3. data/app/models/dorsale/billing_machine/quotation.rb +1 -3
  4. data/app/views/dorsale/billing_machine/quotations/show.html.slim +1 -1
  5. data/config/routes.rb +1 -1
  6. data/lib/dorsale/version.rb +1 -1
  7. data/spec/dummy/db/development.sqlite3 +0 -0
  8. data/spec/dummy/db/test.sqlite3 +0 -0
  9. data/spec/dummy/log/development.log +1240 -0
  10. data/spec/dummy/log/test.log +2565 -0
  11. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/1sZImLui6AcEoVGfd2s15GQ5ZLMjSzIuzqW7sSFz8Wo.cache +1 -0
  12. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/LFhciyTYCGcofWyziaBGuMvDmbMZyBfq2RwOWvSredw.cache +1 -0
  13. data/spec/dummy/tmp/cache/assets/development/sprockets/v3.0/yOLqNhbvXNnbH47usKFZ3b-9boxXr_j89v7egB070oQ.cache +1 -0
  14. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/-3pWRQk-b3TavGMG_oWIw8yvceTv0N5Wvh5FbYlxPrs.cache +0 -0
  15. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/-xFzipDzEGSjeiA5sXmrEgdXq0qzTI-9SafVK6EiGLM.cache +2 -0
  16. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/0YWC9zSZNGN566OL4W7d_cGoyqdPLFb_FUQP058dEYM.cache +0 -0
  17. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/1sZImLui6AcEoVGfd2s15GQ5ZLMjSzIuzqW7sSFz8Wo.cache +1 -0
  18. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/8Nr83BrtiV8lnhnYYmGovepft7poIaB_XUbU5T14uvk.cache +0 -0
  19. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/BoTkQY-2LlshRj_u0eZLAQ8paTGk0fEydSMj016Yduk.cache +0 -0
  20. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/FYD4d1PtA17Rths2oGSH-vRqXgYCiL2U-LkeRiwE5QU.cache +1 -0
  21. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/FwmIEn3-oSC9PTRQL0EUnT3CrCJ0yK9Wibm5ahGgG0U.cache +1 -0
  22. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/HDpsT0MyMK5-ePDwURhdHjZFGZhEDUWZHmhrx5VylZA.cache +0 -0
  23. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/K4G47Fk0PQl5FhrOpXdT-R0JrZBbAS741GfpN--B79s.cache +1 -0
  24. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/KCDu_Vi0unecNRffNgugjzMXEK9Rlh7MVf1-2pGtfyo.cache +0 -0
  25. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/KQ7cSPt-VYvsoVRxpcOOJZKSTFBWifRP5dfCbVYwyvI.cache +0 -0
  26. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/KmW6ou8X4JKYLMLNJ1zfnhnu_UCR0i-kfiaHKxA3_IE.cache +0 -0
  27. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/LFhciyTYCGcofWyziaBGuMvDmbMZyBfq2RwOWvSredw.cache +1 -0
  28. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/LoUNX-nqXEX7jCUZfnQZ0Bds_v_dKpl6w_ujvux9f94.cache +0 -0
  29. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/SU1P3gch2VfNIiGAIg3A2tQ7fOyV1AJez4V_2badf1s.cache +1 -0
  30. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/TuMas7lL_CoVhIyDiR1c1UzS5VIHwo6VH0a7nKCnUI0.cache +1 -0
  31. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/W61Nxx1WLBVCmRb21migFSqGPlrRCivgHjJQMFTBLGc.cache +1 -0
  32. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/X39J6qpr0X-4b5JvmknAbmqzF1kOKnBeppxBXva0mUA.cache +3 -0
  33. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ZhnoHvzhcihFZmxk_GdzhFWO-AOmMG18jpNWKTty5tQ.cache +0 -0
  34. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/_WIx6MHfW34hDKLvDcrfhZ6B9txk5shi6tTUYnHg5aE.cache +0 -0
  35. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/_dmP_fNIKcpWNlCUXYXEsvFpWcxVszcilVz2ANTepjI.cache +1 -0
  36. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/a3i8UhNe40ETW5UkoQepVxlkv9bcqxj5akAnmxGwGvU.cache +0 -0
  37. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/aB7TmUAdLO9vQNX6uhZFigfacgtqt3hNgCX4vGvTrng.cache +89 -0
  38. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/aRhKfHl3RzCW_nRGPsKn3YRlYrgyzFivoY-LFnfWTx0.cache +0 -0
  39. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/hLfDITJO56z3DKvZtDwl55r9vYltVM89vEgcaMaLQ6k.cache +0 -0
  40. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/hvToGIwTAvgxs7_ub7XcCqGMOhH6-6C7mV5vD8BSFqA.cache +0 -0
  41. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/lVQgyvnRMYoU3WGhoi1FuEcmc4w7XXD5rMdKWm9LjCE.cache +1 -0
  42. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/tOCD7YQuUDw4pOJmxqy-4xx2finHSNjklTY20Nq7lwM.cache +1 -0
  43. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/vGf9sdWwxQnTDawgGNVWpnGcxKkaf5TxUrg6z1gqfKA.cache +1 -0
  44. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/yOLqNhbvXNnbH47usKFZ3b-9boxXr_j89v7egB070oQ.cache +1 -0
  45. data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/zPyCtBFrOAfFynPnjrqLiX3aIN9pJqV-JGTH8dijC0w.cache +1 -0
  46. data/spec/dummy/tmp/pids/server.pid +1 -1
  47. data/spec/models/dorsale/billing_machine/quotation_spec.rb +6 -6
  48. data/spec/routing/dorsale/billing_machine/quotations_routing_spec.rb +1 -1
  49. metadata +60 -2
@@ -155264,3 +155264,2568 @@ SQLite3::SQLException: no such column: dorsale_alexandrie_attachments.updated_at
155264
155264
   (1.1ms) DELETE FROM "users";
155265
155265
   (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
155266
155266
   (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
155267
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
155268
+  (1.3ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "street_bis" varchar, "city" varchar, "zip" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "addressable_id" integer, "addressable_type" varchar) 
155269
+  (1.0ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar, "sender_id" integer, "sender_type" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime)
155270
+  (1.0ms) CREATE TABLE "dorsale_billing_machine_id_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "id_card_name" varchar, "entity_name" varchar, "siret" varchar, "legal_form" varchar, "capital" integer, "registration_number" varchar, "intracommunity_vat" varchar, "address1" varchar, "address2" varchar, "zip" varchar, "city" varchar, "phone" varchar, "contact_full_name" varchar, "contact_phone" varchar, "contact_address_1" varchar, "contact_address_2" varchar, "contact_zip" varchar, "contact_city" varchar, "iban" varchar, "bic_swift" varchar, "bank_name" varchar, "bank_address" varchar, "ape_naf" varchar, "custom_info_1" text, "custom_info_2" text, "custom_info_3" text, "contact_fax" varchar, "contact_email" varchar, "logo" varchar, "registration_city" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
155271
+  (1.1ms) CREATE TABLE "dorsale_billing_machine_invoice_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "invoice_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal)
155272
+  (0.1ms) select sqlite_version(*)
155273
+  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")
155274
+  (1.0ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal) 
155275
+  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")
155276
+  (0.1ms)  SELECT sql
155277
+ FROM sqlite_master
155278
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
155279
+ UNION ALL
155280
+ SELECT sql
155281
+ FROM sqlite_temp_master
155282
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
155283
+ 
155284
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")
155285
+  (0.1ms)  SELECT sql
155286
+ FROM sqlite_master
155287
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
155288
+ UNION ALL
155289
+ SELECT sql
155290
+ FROM sqlite_temp_master
155291
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
155292
+ 
155293
+  (0.1ms) SELECT sql
155294
+ FROM sqlite_master
155295
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
155296
+ UNION ALL
155297
+ SELECT sql
155298
+ FROM sqlite_temp_master
155299
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
155300
+
155301
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")
155302
+  (0.1ms) SELECT sql
155303
+ FROM sqlite_master
155304
+ WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
155305
+ UNION ALL
155306
+ SELECT sql
155307
+ FROM sqlite_temp_master
155308
+ WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
155309
+
155310
+  (0.1ms)  SELECT sql
155311
+ FROM sqlite_master
155312
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
155313
+ UNION ALL
155314
+ SELECT sql
155315
+ FROM sqlite_temp_master
155316
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
155317
+ 
155318
+  (0.1ms) SELECT sql
155319
+ FROM sqlite_master
155320
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
155321
+ UNION ALL
155322
+ SELECT sql
155323
+ FROM sqlite_temp_master
155324
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
155325
+
155326
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")
155327
+  (1.0ms) CREATE TABLE "dorsale_billing_machine_payment_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
155328
+  (1.1ms) CREATE TABLE "dorsale_billing_machine_quotation_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quotation_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal) 
155329
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")
155330
+  (1.1ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar) 
155331
+  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")
155332
+  (0.2ms)  SELECT sql
155333
+ FROM sqlite_master
155334
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
155335
+ UNION ALL
155336
+ SELECT sql
155337
+ FROM sqlite_temp_master
155338
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
155339
+ 
155340
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")
155341
+  (0.1ms)  SELECT sql
155342
+ FROM sqlite_master
155343
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
155344
+ UNION ALL
155345
+ SELECT sql
155346
+ FROM sqlite_temp_master
155347
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
155348
+ 
155349
+  (0.1ms) SELECT sql
155350
+ FROM sqlite_master
155351
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
155352
+ UNION ALL
155353
+ SELECT sql
155354
+ FROM sqlite_temp_master
155355
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
155356
+
155357
+  (1.2ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")
155358
+  (0.1ms) SELECT sql
155359
+ FROM sqlite_master
155360
+ WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
155361
+ UNION ALL
155362
+ SELECT sql
155363
+ FROM sqlite_temp_master
155364
+ WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
155365
+
155366
+  (0.1ms)  SELECT sql
155367
+ FROM sqlite_master
155368
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
155369
+ UNION ALL
155370
+ SELECT sql
155371
+ FROM sqlite_temp_master
155372
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
155373
+ 
155374
+  (0.1ms) SELECT sql
155375
+ FROM sqlite_master
155376
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
155377
+ UNION ALL
155378
+ SELECT sql
155379
+ FROM sqlite_temp_master
155380
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
155381
+
155382
+  (1.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")
155383
+  (1.0ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar)
155384
+  (1.1ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" varchar, "phone" varchar, "fax" varchar, "www" varchar, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
155385
+  (1.0ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" varchar, "title" varchar, "twitter" varchar, "www" varchar, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)
155386
+  (1.0ms) CREATE TABLE "dorsale_customer_vault_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "alice_id" integer, "alice_type" varchar, "bob_id" integer, "bob_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
155387
+  (1.2ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")
155388
+  (0.1ms)  SELECT sql
155389
+ FROM sqlite_master
155390
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
155391
+ UNION ALL
155392
+ SELECT sql
155393
+ FROM sqlite_temp_master
155394
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
155395
+ 
155396
+  (1.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")
155397
+  (0.1ms)  SELECT sql
155398
+ FROM sqlite_master
155399
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
155400
+ UNION ALL
155401
+ SELECT sql
155402
+ FROM sqlite_temp_master
155403
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
155404
+ 
155405
+  (0.1ms) SELECT sql
155406
+ FROM sqlite_master
155407
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
155408
+ UNION ALL
155409
+ SELECT sql
155410
+ FROM sqlite_temp_master
155411
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
155412
+
155413
+  (1.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")
155414
+  (0.1ms) SELECT sql
155415
+ FROM sqlite_master
155416
+ WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
155417
+ UNION ALL
155418
+ SELECT sql
155419
+ FROM sqlite_temp_master
155420
+ WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
155421
+
155422
+  (0.1ms)  SELECT sql
155423
+ FROM sqlite_master
155424
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
155425
+ UNION ALL
155426
+ SELECT sql
155427
+ FROM sqlite_temp_master
155428
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
155429
+ 
155430
+  (0.1ms) SELECT sql
155431
+ FROM sqlite_master
155432
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
155433
+ UNION ALL
155434
+ SELECT sql
155435
+ FROM sqlite_temp_master
155436
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
155437
+
155438
+  (1.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")
155439
+  (1.0ms) CREATE TABLE "dorsale_flyboy_folders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folderable_id" integer, "folderable_type" varchar, "name" varchar, "description" text, "progress" integer, "status" varchar, "tracking" varchar, "version" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
155440
+  (0.9ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")
155441
+  (0.1ms) SELECT sql
155442
+ FROM sqlite_master
155443
+ WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
155444
+ UNION ALL
155445
+ SELECT sql
155446
+ FROM sqlite_temp_master
155447
+ WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
155448
+
155449
+  (1.1ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")
155450
+  (1.1ms) CREATE TABLE "dorsale_flyboy_task_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "date" datetime, "description" text, "progress" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar, "author_id" integer)
155451
+  (1.3ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")
155452
+  (1.2ms) CREATE TABLE "dorsale_flyboy_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "taskable_id" integer, "taskable_type" varchar, "name" varchar, "description" text, "progress" integer, "done" boolean, "term" date, "reminder" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_type" varchar, "owner_id" integer)
155453
+  (1.0ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")
155454
+  (0.2ms) SELECT sql
155455
+ FROM sqlite_master
155456
+ WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
155457
+ UNION ALL
155458
+ SELECT sql
155459
+ FROM sqlite_temp_master
155460
+ WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
155461
+
155462
+  (1.0ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")
155463
+  (1.1ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
155464
+  (1.1ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime) 
155465
+  (1.0ms) CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")
155466
+  (0.1ms)  SELECT sql
155467
+ FROM sqlite_master
155468
+ WHERE name='taggings_idx' AND type='index'
155469
+ UNION ALL
155470
+ SELECT sql
155471
+ FROM sqlite_temp_master
155472
+ WHERE name='taggings_idx' AND type='index'
155473
+ 
155474
+  (1.1ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
155475
+  (1.9ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0) 
155476
+  (1.5ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")
155477
+  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "is_active" boolean) 
155478
+  (1.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
155479
+  (0.1ms)  SELECT sql
155480
+ FROM sqlite_master
155481
+ WHERE name='index_users_on_email' AND type='index'
155482
+ UNION ALL
155483
+ SELECT sql
155484
+ FROM sqlite_temp_master
155485
+ WHERE name='index_users_on_email' AND type='index'
155486
+ 
155487
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
155488
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
155489
+  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
155490
+  (0.3ms) SELECT version FROM "schema_migrations"
155491
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151126142254')
155492
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616082916')
155493
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')
155494
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081205')
155495
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')
155496
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081207')
155497
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')
155498
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803160334')
155499
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
155500
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
155501
+ Migrating to CreateDorsaleAddresses (20141010140200)
155502
+  (0.1ms) begin transaction
155503
+  (0.2ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "street_bis" varchar, "city" varchar, "zip" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
155504
+ SQLite3::SQLException: table "dorsale_addresses" already exists: CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "street_bis" varchar, "city" varchar, "zip" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
155505
+  (0.1ms) rollback transaction
155506
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
155507
+  (2.4ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "street_bis" varchar, "city" varchar, "zip" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "addressable_id" integer, "addressable_type" varchar) 
155508
+  (1.1ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar, "sender_id" integer, "sender_type" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime)
155509
+  (1.1ms) CREATE TABLE "dorsale_billing_machine_id_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "id_card_name" varchar, "entity_name" varchar, "siret" varchar, "legal_form" varchar, "capital" integer, "registration_number" varchar, "intracommunity_vat" varchar, "address1" varchar, "address2" varchar, "zip" varchar, "city" varchar, "phone" varchar, "contact_full_name" varchar, "contact_phone" varchar, "contact_address_1" varchar, "contact_address_2" varchar, "contact_zip" varchar, "contact_city" varchar, "iban" varchar, "bic_swift" varchar, "bank_name" varchar, "bank_address" varchar, "ape_naf" varchar, "custom_info_1" text, "custom_info_2" text, "custom_info_3" text, "contact_fax" varchar, "contact_email" varchar, "logo" varchar, "registration_city" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
155510
+  (1.0ms) CREATE TABLE "dorsale_billing_machine_invoice_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "invoice_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal)
155511
+  (0.1ms) select sqlite_version(*)
155512
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")
155513
+  (1.0ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal) 
155514
+  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")
155515
+  (0.1ms)  SELECT sql
155516
+ FROM sqlite_master
155517
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
155518
+ UNION ALL
155519
+ SELECT sql
155520
+ FROM sqlite_temp_master
155521
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
155522
+ 
155523
+  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")
155524
+  (0.1ms)  SELECT sql
155525
+ FROM sqlite_master
155526
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
155527
+ UNION ALL
155528
+ SELECT sql
155529
+ FROM sqlite_temp_master
155530
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
155531
+ 
155532
+  (0.1ms) SELECT sql
155533
+ FROM sqlite_master
155534
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
155535
+ UNION ALL
155536
+ SELECT sql
155537
+ FROM sqlite_temp_master
155538
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
155539
+
155540
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")
155541
+  (0.1ms) SELECT sql
155542
+ FROM sqlite_master
155543
+ WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
155544
+ UNION ALL
155545
+ SELECT sql
155546
+ FROM sqlite_temp_master
155547
+ WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
155548
+
155549
+  (0.1ms)  SELECT sql
155550
+ FROM sqlite_master
155551
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
155552
+ UNION ALL
155553
+ SELECT sql
155554
+ FROM sqlite_temp_master
155555
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
155556
+ 
155557
+  (0.1ms) SELECT sql
155558
+ FROM sqlite_master
155559
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
155560
+ UNION ALL
155561
+ SELECT sql
155562
+ FROM sqlite_temp_master
155563
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
155564
+
155565
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")
155566
+  (1.0ms) CREATE TABLE "dorsale_billing_machine_payment_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
155567
+  (1.0ms) CREATE TABLE "dorsale_billing_machine_quotation_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quotation_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal) 
155568
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")
155569
+  (1.0ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar) 
155570
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")
155571
+  (0.1ms)  SELECT sql
155572
+ FROM sqlite_master
155573
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
155574
+ UNION ALL
155575
+ SELECT sql
155576
+ FROM sqlite_temp_master
155577
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
155578
+ 
155579
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")
155580
+  (0.1ms)  SELECT sql
155581
+ FROM sqlite_master
155582
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
155583
+ UNION ALL
155584
+ SELECT sql
155585
+ FROM sqlite_temp_master
155586
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
155587
+ 
155588
+  (0.1ms) SELECT sql
155589
+ FROM sqlite_master
155590
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
155591
+ UNION ALL
155592
+ SELECT sql
155593
+ FROM sqlite_temp_master
155594
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
155595
+
155596
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")
155597
+  (0.1ms) SELECT sql
155598
+ FROM sqlite_master
155599
+ WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
155600
+ UNION ALL
155601
+ SELECT sql
155602
+ FROM sqlite_temp_master
155603
+ WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
155604
+
155605
+  (0.1ms)  SELECT sql
155606
+ FROM sqlite_master
155607
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
155608
+ UNION ALL
155609
+ SELECT sql
155610
+ FROM sqlite_temp_master
155611
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
155612
+ 
155613
+  (0.1ms) SELECT sql
155614
+ FROM sqlite_master
155615
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
155616
+ UNION ALL
155617
+ SELECT sql
155618
+ FROM sqlite_temp_master
155619
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
155620
+
155621
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")
155622
+  (1.0ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar)
155623
+  (1.0ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" varchar, "phone" varchar, "fax" varchar, "www" varchar, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
155624
+  (1.0ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" varchar, "title" varchar, "twitter" varchar, "www" varchar, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)
155625
+  (1.0ms) CREATE TABLE "dorsale_customer_vault_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "alice_id" integer, "alice_type" varchar, "bob_id" integer, "bob_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
155626
+  (1.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")
155627
+  (0.1ms)  SELECT sql
155628
+ FROM sqlite_master
155629
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
155630
+ UNION ALL
155631
+ SELECT sql
155632
+ FROM sqlite_temp_master
155633
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
155634
+ 
155635
+  (1.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")
155636
+  (0.1ms)  SELECT sql
155637
+ FROM sqlite_master
155638
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
155639
+ UNION ALL
155640
+ SELECT sql
155641
+ FROM sqlite_temp_master
155642
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
155643
+ 
155644
+  (0.1ms) SELECT sql
155645
+ FROM sqlite_master
155646
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
155647
+ UNION ALL
155648
+ SELECT sql
155649
+ FROM sqlite_temp_master
155650
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
155651
+
155652
+  (1.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")
155653
+  (0.1ms) SELECT sql
155654
+ FROM sqlite_master
155655
+ WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
155656
+ UNION ALL
155657
+ SELECT sql
155658
+ FROM sqlite_temp_master
155659
+ WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
155660
+
155661
+  (0.1ms)  SELECT sql
155662
+ FROM sqlite_master
155663
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
155664
+ UNION ALL
155665
+ SELECT sql
155666
+ FROM sqlite_temp_master
155667
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
155668
+ 
155669
+  (0.1ms) SELECT sql
155670
+ FROM sqlite_master
155671
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
155672
+ UNION ALL
155673
+ SELECT sql
155674
+ FROM sqlite_temp_master
155675
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
155676
+
155677
+  (1.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")
155678
+  (1.0ms) CREATE TABLE "dorsale_flyboy_folders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folderable_id" integer, "folderable_type" varchar, "name" varchar, "description" text, "progress" integer, "status" varchar, "tracking" varchar, "version" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
155679
+  (1.0ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")
155680
+  (0.1ms) SELECT sql
155681
+ FROM sqlite_master
155682
+ WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
155683
+ UNION ALL
155684
+ SELECT sql
155685
+ FROM sqlite_temp_master
155686
+ WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
155687
+
155688
+  (1.0ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")
155689
+  (1.1ms) CREATE TABLE "dorsale_flyboy_task_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "date" datetime, "description" text, "progress" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar, "author_id" integer)
155690
+  (1.0ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")
155691
+  (1.1ms) CREATE TABLE "dorsale_flyboy_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "taskable_id" integer, "taskable_type" varchar, "name" varchar, "description" text, "progress" integer, "done" boolean, "term" date, "reminder" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_type" varchar, "owner_id" integer)
155692
+  (0.9ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")
155693
+  (0.1ms) SELECT sql
155694
+ FROM sqlite_master
155695
+ WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
155696
+ UNION ALL
155697
+ SELECT sql
155698
+ FROM sqlite_temp_master
155699
+ WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
155700
+
155701
+  (1.0ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")
155702
+  (1.0ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
155703
+  (1.1ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime) 
155704
+  (0.9ms) CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")
155705
+  (0.1ms)  SELECT sql
155706
+ FROM sqlite_master
155707
+ WHERE name='taggings_idx' AND type='index'
155708
+ UNION ALL
155709
+ SELECT sql
155710
+ FROM sqlite_temp_master
155711
+ WHERE name='taggings_idx' AND type='index'
155712
+ 
155713
+  (1.0ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
155714
+  (1.3ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0) 
155715
+  (1.1ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")
155716
+  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "is_active" boolean) 
155717
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
155718
+  (0.1ms)  SELECT sql
155719
+ FROM sqlite_master
155720
+ WHERE name='index_users_on_email' AND type='index'
155721
+ UNION ALL
155722
+ SELECT sql
155723
+ FROM sqlite_temp_master
155724
+ WHERE name='index_users_on_email' AND type='index'
155725
+ 
155726
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
155727
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
155728
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
155729
+  (0.1ms) SELECT version FROM "schema_migrations"
155730
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20151126142254')
155731
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616082916')
155732
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')
155733
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081205')
155734
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')
155735
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081207')
155736
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')
155737
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803160334')
155738
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
155739
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
155740
+  (3.0ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "street_bis" varchar, "city" varchar, "zip" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "addressable_id" integer, "addressable_type" varchar) 
155741
+  (1.0ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar, "sender_id" integer, "sender_type" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime)
155742
+  (1.3ms) CREATE TABLE "dorsale_billing_machine_id_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "id_card_name" varchar, "entity_name" varchar, "siret" varchar, "legal_form" varchar, "capital" integer, "registration_number" varchar, "intracommunity_vat" varchar, "address1" varchar, "address2" varchar, "zip" varchar, "city" varchar, "phone" varchar, "contact_full_name" varchar, "contact_phone" varchar, "contact_address_1" varchar, "contact_address_2" varchar, "contact_zip" varchar, "contact_city" varchar, "iban" varchar, "bic_swift" varchar, "bank_name" varchar, "bank_address" varchar, "ape_naf" varchar, "custom_info_1" text, "custom_info_2" text, "custom_info_3" text, "contact_fax" varchar, "contact_email" varchar, "logo" varchar, "registration_city" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
155743
+  (1.0ms) CREATE TABLE "dorsale_billing_machine_invoice_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "invoice_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal)
155744
+  (0.1ms) select sqlite_version(*)
155745
+  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")
155746
+  (1.0ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal) 
155747
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")
155748
+  (0.1ms)  SELECT sql
155749
+ FROM sqlite_master
155750
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
155751
+ UNION ALL
155752
+ SELECT sql
155753
+ FROM sqlite_temp_master
155754
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
155755
+ 
155756
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")
155757
+  (0.1ms)  SELECT sql
155758
+ FROM sqlite_master
155759
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
155760
+ UNION ALL
155761
+ SELECT sql
155762
+ FROM sqlite_temp_master
155763
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
155764
+ 
155765
+  (0.1ms) SELECT sql
155766
+ FROM sqlite_master
155767
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
155768
+ UNION ALL
155769
+ SELECT sql
155770
+ FROM sqlite_temp_master
155771
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
155772
+
155773
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")
155774
+  (0.1ms) SELECT sql
155775
+ FROM sqlite_master
155776
+ WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
155777
+ UNION ALL
155778
+ SELECT sql
155779
+ FROM sqlite_temp_master
155780
+ WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
155781
+
155782
+  (0.1ms)  SELECT sql
155783
+ FROM sqlite_master
155784
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
155785
+ UNION ALL
155786
+ SELECT sql
155787
+ FROM sqlite_temp_master
155788
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
155789
+ 
155790
+  (0.1ms) SELECT sql
155791
+ FROM sqlite_master
155792
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
155793
+ UNION ALL
155794
+ SELECT sql
155795
+ FROM sqlite_temp_master
155796
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
155797
+
155798
+  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")
155799
+  (1.0ms) CREATE TABLE "dorsale_billing_machine_payment_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
155800
+  (1.2ms) CREATE TABLE "dorsale_billing_machine_quotation_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quotation_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal) 
155801
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")
155802
+  (1.0ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar) 
155803
+  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")
155804
+  (0.1ms)  SELECT sql
155805
+ FROM sqlite_master
155806
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
155807
+ UNION ALL
155808
+ SELECT sql
155809
+ FROM sqlite_temp_master
155810
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
155811
+ 
155812
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")
155813
+  (0.1ms)  SELECT sql
155814
+ FROM sqlite_master
155815
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
155816
+ UNION ALL
155817
+ SELECT sql
155818
+ FROM sqlite_temp_master
155819
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
155820
+ 
155821
+  (0.1ms) SELECT sql
155822
+ FROM sqlite_master
155823
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
155824
+ UNION ALL
155825
+ SELECT sql
155826
+ FROM sqlite_temp_master
155827
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
155828
+
155829
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")
155830
+  (0.1ms) SELECT sql
155831
+ FROM sqlite_master
155832
+ WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
155833
+ UNION ALL
155834
+ SELECT sql
155835
+ FROM sqlite_temp_master
155836
+ WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
155837
+
155838
+  (0.1ms)  SELECT sql
155839
+ FROM sqlite_master
155840
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
155841
+ UNION ALL
155842
+ SELECT sql
155843
+ FROM sqlite_temp_master
155844
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
155845
+ 
155846
+  (0.1ms) SELECT sql
155847
+ FROM sqlite_master
155848
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
155849
+ UNION ALL
155850
+ SELECT sql
155851
+ FROM sqlite_temp_master
155852
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
155853
+
155854
+  (1.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")
155855
+  (1.0ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar)
155856
+  (1.0ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" varchar, "phone" varchar, "fax" varchar, "www" varchar, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
155857
+  (1.0ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" varchar, "title" varchar, "twitter" varchar, "www" varchar, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)
155858
+  (1.0ms) CREATE TABLE "dorsale_customer_vault_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "alice_id" integer, "alice_type" varchar, "bob_id" integer, "bob_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
155859
+  (1.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")
155860
+  (0.1ms)  SELECT sql
155861
+ FROM sqlite_master
155862
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
155863
+ UNION ALL
155864
+ SELECT sql
155865
+ FROM sqlite_temp_master
155866
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
155867
+ 
155868
+  (1.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")
155869
+  (0.1ms)  SELECT sql
155870
+ FROM sqlite_master
155871
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
155872
+ UNION ALL
155873
+ SELECT sql
155874
+ FROM sqlite_temp_master
155875
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
155876
+ 
155877
+  (0.1ms) SELECT sql
155878
+ FROM sqlite_master
155879
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
155880
+ UNION ALL
155881
+ SELECT sql
155882
+ FROM sqlite_temp_master
155883
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
155884
+
155885
+  (1.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")
155886
+  (0.1ms) SELECT sql
155887
+ FROM sqlite_master
155888
+ WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
155889
+ UNION ALL
155890
+ SELECT sql
155891
+ FROM sqlite_temp_master
155892
+ WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
155893
+
155894
+  (0.1ms)  SELECT sql
155895
+ FROM sqlite_master
155896
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
155897
+ UNION ALL
155898
+ SELECT sql
155899
+ FROM sqlite_temp_master
155900
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
155901
+ 
155902
+  (0.1ms) SELECT sql
155903
+ FROM sqlite_master
155904
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
155905
+ UNION ALL
155906
+ SELECT sql
155907
+ FROM sqlite_temp_master
155908
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
155909
+
155910
+  (1.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")
155911
+  (1.0ms) CREATE TABLE "dorsale_flyboy_folders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folderable_id" integer, "folderable_type" varchar, "name" varchar, "description" text, "progress" integer, "status" varchar, "tracking" varchar, "version" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
155912
+  (0.9ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")
155913
+  (0.1ms) SELECT sql
155914
+ FROM sqlite_master
155915
+ WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
155916
+ UNION ALL
155917
+ SELECT sql
155918
+ FROM sqlite_temp_master
155919
+ WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
155920
+
155921
+  (1.0ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")
155922
+  (1.1ms) CREATE TABLE "dorsale_flyboy_task_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "date" datetime, "description" text, "progress" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar, "author_id" integer)
155923
+  (1.0ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")
155924
+  (1.1ms) CREATE TABLE "dorsale_flyboy_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "taskable_id" integer, "taskable_type" varchar, "name" varchar, "description" text, "progress" integer, "done" boolean, "term" date, "reminder" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_type" varchar, "owner_id" integer)
155925
+  (1.0ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")
155926
+  (0.1ms) SELECT sql
155927
+ FROM sqlite_master
155928
+ WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
155929
+ UNION ALL
155930
+ SELECT sql
155931
+ FROM sqlite_temp_master
155932
+ WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
155933
+
155934
+  (1.0ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")
155935
+  (0.9ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
155936
+  (1.1ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime) 
155937
+  (1.1ms) CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")
155938
+  (0.1ms)  SELECT sql
155939
+ FROM sqlite_master
155940
+ WHERE name='taggings_idx' AND type='index'
155941
+ UNION ALL
155942
+ SELECT sql
155943
+ FROM sqlite_temp_master
155944
+ WHERE name='taggings_idx' AND type='index'
155945
+ 
155946
+  (1.1ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
155947
+  (1.4ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0) 
155948
+  (1.1ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")
155949
+  (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "is_active" boolean) 
155950
+  (1.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
155951
+  (0.1ms)  SELECT sql
155952
+ FROM sqlite_master
155953
+ WHERE name='index_users_on_email' AND type='index'
155954
+ UNION ALL
155955
+ SELECT sql
155956
+ FROM sqlite_temp_master
155957
+ WHERE name='index_users_on_email' AND type='index'
155958
+ 
155959
+  (1.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
155960
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
155961
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
155962
+  (0.1ms) SELECT version FROM "schema_migrations"
155963
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20151126142254')
155964
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616082916')
155965
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')
155966
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081205')
155967
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')
155968
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081207')
155969
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')
155970
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803160334')
155971
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
155972
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
155973
+ Migrating to CreateDorsaleAddresses (20141010140200)
155974
+  (0.1ms) begin transaction
155975
+  (0.2ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "street_bis" varchar, "city" varchar, "zip" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
155976
+ SQLite3::SQLException: table "dorsale_addresses" already exists: CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "street_bis" varchar, "city" varchar, "zip" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
155977
+  (0.1ms) rollback transaction
155978
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
155979
+  (3.1ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "street_bis" varchar, "city" varchar, "zip" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "addressable_id" integer, "addressable_type" varchar) 
155980
+  (1.0ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar, "sender_id" integer, "sender_type" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime)
155981
+  (1.0ms) CREATE TABLE "dorsale_billing_machine_id_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "id_card_name" varchar, "entity_name" varchar, "siret" varchar, "legal_form" varchar, "capital" integer, "registration_number" varchar, "intracommunity_vat" varchar, "address1" varchar, "address2" varchar, "zip" varchar, "city" varchar, "phone" varchar, "contact_full_name" varchar, "contact_phone" varchar, "contact_address_1" varchar, "contact_address_2" varchar, "contact_zip" varchar, "contact_city" varchar, "iban" varchar, "bic_swift" varchar, "bank_name" varchar, "bank_address" varchar, "ape_naf" varchar, "custom_info_1" text, "custom_info_2" text, "custom_info_3" text, "contact_fax" varchar, "contact_email" varchar, "logo" varchar, "registration_city" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
155982
+  (0.9ms) CREATE TABLE "dorsale_billing_machine_invoice_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "invoice_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal)
155983
+  (0.1ms) select sqlite_version(*)
155984
+  (1.1ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")
155985
+  (1.1ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal) 
155986
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")
155987
+  (0.1ms)  SELECT sql
155988
+ FROM sqlite_master
155989
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
155990
+ UNION ALL
155991
+ SELECT sql
155992
+ FROM sqlite_temp_master
155993
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
155994
+ 
155995
+  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")
155996
+  (0.1ms)  SELECT sql
155997
+ FROM sqlite_master
155998
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
155999
+ UNION ALL
156000
+ SELECT sql
156001
+ FROM sqlite_temp_master
156002
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
156003
+ 
156004
+  (0.1ms) SELECT sql
156005
+ FROM sqlite_master
156006
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
156007
+ UNION ALL
156008
+ SELECT sql
156009
+ FROM sqlite_temp_master
156010
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
156011
+
156012
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")
156013
+  (0.1ms) SELECT sql
156014
+ FROM sqlite_master
156015
+ WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
156016
+ UNION ALL
156017
+ SELECT sql
156018
+ FROM sqlite_temp_master
156019
+ WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
156020
+
156021
+  (0.1ms)  SELECT sql
156022
+ FROM sqlite_master
156023
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
156024
+ UNION ALL
156025
+ SELECT sql
156026
+ FROM sqlite_temp_master
156027
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
156028
+ 
156029
+  (0.1ms) SELECT sql
156030
+ FROM sqlite_master
156031
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
156032
+ UNION ALL
156033
+ SELECT sql
156034
+ FROM sqlite_temp_master
156035
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
156036
+
156037
+  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")
156038
+  (1.0ms) CREATE TABLE "dorsale_billing_machine_payment_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
156039
+  (1.1ms) CREATE TABLE "dorsale_billing_machine_quotation_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quotation_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal) 
156040
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")
156041
+  (1.1ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar) 
156042
+  (0.8ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")
156043
+  (0.2ms)  SELECT sql
156044
+ FROM sqlite_master
156045
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
156046
+ UNION ALL
156047
+ SELECT sql
156048
+ FROM sqlite_temp_master
156049
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
156050
+ 
156051
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")
156052
+  (0.1ms)  SELECT sql
156053
+ FROM sqlite_master
156054
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
156055
+ UNION ALL
156056
+ SELECT sql
156057
+ FROM sqlite_temp_master
156058
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
156059
+ 
156060
+  (0.1ms) SELECT sql
156061
+ FROM sqlite_master
156062
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
156063
+ UNION ALL
156064
+ SELECT sql
156065
+ FROM sqlite_temp_master
156066
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
156067
+
156068
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")
156069
+  (0.1ms) SELECT sql
156070
+ FROM sqlite_master
156071
+ WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
156072
+ UNION ALL
156073
+ SELECT sql
156074
+ FROM sqlite_temp_master
156075
+ WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
156076
+
156077
+  (0.1ms)  SELECT sql
156078
+ FROM sqlite_master
156079
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
156080
+ UNION ALL
156081
+ SELECT sql
156082
+ FROM sqlite_temp_master
156083
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
156084
+ 
156085
+  (0.1ms) SELECT sql
156086
+ FROM sqlite_master
156087
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
156088
+ UNION ALL
156089
+ SELECT sql
156090
+ FROM sqlite_temp_master
156091
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
156092
+
156093
+  (1.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")
156094
+  (1.0ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar)
156095
+  (1.0ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" varchar, "phone" varchar, "fax" varchar, "www" varchar, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
156096
+  (1.1ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" varchar, "title" varchar, "twitter" varchar, "www" varchar, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)
156097
+  (1.0ms) CREATE TABLE "dorsale_customer_vault_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "alice_id" integer, "alice_type" varchar, "bob_id" integer, "bob_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
156098
+  (1.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")
156099
+  (0.1ms)  SELECT sql
156100
+ FROM sqlite_master
156101
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
156102
+ UNION ALL
156103
+ SELECT sql
156104
+ FROM sqlite_temp_master
156105
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
156106
+ 
156107
+  (1.2ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")
156108
+  (0.1ms)  SELECT sql
156109
+ FROM sqlite_master
156110
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
156111
+ UNION ALL
156112
+ SELECT sql
156113
+ FROM sqlite_temp_master
156114
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
156115
+ 
156116
+  (0.1ms) SELECT sql
156117
+ FROM sqlite_master
156118
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
156119
+ UNION ALL
156120
+ SELECT sql
156121
+ FROM sqlite_temp_master
156122
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
156123
+
156124
+  (1.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")
156125
+  (0.1ms) SELECT sql
156126
+ FROM sqlite_master
156127
+ WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
156128
+ UNION ALL
156129
+ SELECT sql
156130
+ FROM sqlite_temp_master
156131
+ WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
156132
+
156133
+  (0.1ms)  SELECT sql
156134
+ FROM sqlite_master
156135
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
156136
+ UNION ALL
156137
+ SELECT sql
156138
+ FROM sqlite_temp_master
156139
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
156140
+ 
156141
+  (0.1ms) SELECT sql
156142
+ FROM sqlite_master
156143
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
156144
+ UNION ALL
156145
+ SELECT sql
156146
+ FROM sqlite_temp_master
156147
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
156148
+
156149
+  (1.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")
156150
+  (1.1ms) CREATE TABLE "dorsale_flyboy_folders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folderable_id" integer, "folderable_type" varchar, "name" varchar, "description" text, "progress" integer, "status" varchar, "tracking" varchar, "version" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
156151
+  (1.0ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")
156152
+  (0.1ms) SELECT sql
156153
+ FROM sqlite_master
156154
+ WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
156155
+ UNION ALL
156156
+ SELECT sql
156157
+ FROM sqlite_temp_master
156158
+ WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
156159
+
156160
+  (1.0ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")
156161
+  (1.1ms) CREATE TABLE "dorsale_flyboy_task_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "date" datetime, "description" text, "progress" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar, "author_id" integer)
156162
+  (0.9ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")
156163
+  (1.1ms) CREATE TABLE "dorsale_flyboy_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "taskable_id" integer, "taskable_type" varchar, "name" varchar, "description" text, "progress" integer, "done" boolean, "term" date, "reminder" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_type" varchar, "owner_id" integer)
156164
+  (1.0ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")
156165
+  (0.1ms) SELECT sql
156166
+ FROM sqlite_master
156167
+ WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
156168
+ UNION ALL
156169
+ SELECT sql
156170
+ FROM sqlite_temp_master
156171
+ WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
156172
+
156173
+  (1.0ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")
156174
+  (1.0ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
156175
+  (1.1ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime) 
156176
+  (1.0ms) CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")
156177
+  (0.1ms)  SELECT sql
156178
+ FROM sqlite_master
156179
+ WHERE name='taggings_idx' AND type='index'
156180
+ UNION ALL
156181
+ SELECT sql
156182
+ FROM sqlite_temp_master
156183
+ WHERE name='taggings_idx' AND type='index'
156184
+ 
156185
+  (1.1ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
156186
+  (1.4ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0) 
156187
+  (1.1ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")
156188
+  (1.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "is_active" boolean) 
156189
+  (1.1ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
156190
+  (0.1ms)  SELECT sql
156191
+ FROM sqlite_master
156192
+ WHERE name='index_users_on_email' AND type='index'
156193
+ UNION ALL
156194
+ SELECT sql
156195
+ FROM sqlite_temp_master
156196
+ WHERE name='index_users_on_email' AND type='index'
156197
+ 
156198
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
156199
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
156200
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
156201
+  (0.1ms) SELECT version FROM "schema_migrations"
156202
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20151126142254')
156203
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616082916')
156204
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')
156205
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081205')
156206
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')
156207
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081207')
156208
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')
156209
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803160334')
156210
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
156211
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
156212
+  (2.6ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "street_bis" varchar, "city" varchar, "zip" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "addressable_id" integer, "addressable_type" varchar) 
156213
+  (1.0ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar, "sender_id" integer, "sender_type" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime)
156214
+  (1.1ms) CREATE TABLE "dorsale_billing_machine_id_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "id_card_name" varchar, "entity_name" varchar, "siret" varchar, "legal_form" varchar, "capital" integer, "registration_number" varchar, "intracommunity_vat" varchar, "address1" varchar, "address2" varchar, "zip" varchar, "city" varchar, "phone" varchar, "contact_full_name" varchar, "contact_phone" varchar, "contact_address_1" varchar, "contact_address_2" varchar, "contact_zip" varchar, "contact_city" varchar, "iban" varchar, "bic_swift" varchar, "bank_name" varchar, "bank_address" varchar, "ape_naf" varchar, "custom_info_1" text, "custom_info_2" text, "custom_info_3" text, "contact_fax" varchar, "contact_email" varchar, "logo" varchar, "registration_city" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
156215
+  (1.0ms) CREATE TABLE "dorsale_billing_machine_invoice_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "invoice_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal)
156216
+  (0.1ms) select sqlite_version(*)
156217
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")
156218
+  (1.1ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal) 
156219
+  (1.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")
156220
+  (0.1ms)  SELECT sql
156221
+ FROM sqlite_master
156222
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
156223
+ UNION ALL
156224
+ SELECT sql
156225
+ FROM sqlite_temp_master
156226
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
156227
+ 
156228
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")
156229
+  (0.1ms)  SELECT sql
156230
+ FROM sqlite_master
156231
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
156232
+ UNION ALL
156233
+ SELECT sql
156234
+ FROM sqlite_temp_master
156235
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
156236
+ 
156237
+  (0.1ms) SELECT sql
156238
+ FROM sqlite_master
156239
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
156240
+ UNION ALL
156241
+ SELECT sql
156242
+ FROM sqlite_temp_master
156243
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
156244
+
156245
+  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")
156246
+  (0.1ms) SELECT sql
156247
+ FROM sqlite_master
156248
+ WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
156249
+ UNION ALL
156250
+ SELECT sql
156251
+ FROM sqlite_temp_master
156252
+ WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
156253
+
156254
+  (0.1ms)  SELECT sql
156255
+ FROM sqlite_master
156256
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
156257
+ UNION ALL
156258
+ SELECT sql
156259
+ FROM sqlite_temp_master
156260
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
156261
+ 
156262
+  (0.2ms) SELECT sql
156263
+ FROM sqlite_master
156264
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
156265
+ UNION ALL
156266
+ SELECT sql
156267
+ FROM sqlite_temp_master
156268
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
156269
+
156270
+  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")
156271
+  (1.0ms) CREATE TABLE "dorsale_billing_machine_payment_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
156272
+  (1.1ms) CREATE TABLE "dorsale_billing_machine_quotation_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quotation_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal) 
156273
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")
156274
+  (1.1ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar) 
156275
+  (0.9ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")
156276
+  (0.2ms)  SELECT sql
156277
+ FROM sqlite_master
156278
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
156279
+ UNION ALL
156280
+ SELECT sql
156281
+ FROM sqlite_temp_master
156282
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
156283
+ 
156284
+  (1.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")
156285
+  (0.1ms)  SELECT sql
156286
+ FROM sqlite_master
156287
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
156288
+ UNION ALL
156289
+ SELECT sql
156290
+ FROM sqlite_temp_master
156291
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
156292
+ 
156293
+  (0.1ms) SELECT sql
156294
+ FROM sqlite_master
156295
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
156296
+ UNION ALL
156297
+ SELECT sql
156298
+ FROM sqlite_temp_master
156299
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
156300
+
156301
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")
156302
+  (0.1ms) SELECT sql
156303
+ FROM sqlite_master
156304
+ WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
156305
+ UNION ALL
156306
+ SELECT sql
156307
+ FROM sqlite_temp_master
156308
+ WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
156309
+
156310
+  (0.1ms)  SELECT sql
156311
+ FROM sqlite_master
156312
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
156313
+ UNION ALL
156314
+ SELECT sql
156315
+ FROM sqlite_temp_master
156316
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
156317
+ 
156318
+  (0.1ms) SELECT sql
156319
+ FROM sqlite_master
156320
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
156321
+ UNION ALL
156322
+ SELECT sql
156323
+ FROM sqlite_temp_master
156324
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
156325
+
156326
+  (1.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")
156327
+  (1.0ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar)
156328
+  (1.0ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" varchar, "phone" varchar, "fax" varchar, "www" varchar, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
156329
+  (1.0ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" varchar, "title" varchar, "twitter" varchar, "www" varchar, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)
156330
+  (0.9ms) CREATE TABLE "dorsale_customer_vault_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "alice_id" integer, "alice_type" varchar, "bob_id" integer, "bob_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
156331
+  (1.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")
156332
+  (0.1ms)  SELECT sql
156333
+ FROM sqlite_master
156334
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
156335
+ UNION ALL
156336
+ SELECT sql
156337
+ FROM sqlite_temp_master
156338
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
156339
+ 
156340
+  (1.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")
156341
+  (0.1ms)  SELECT sql
156342
+ FROM sqlite_master
156343
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
156344
+ UNION ALL
156345
+ SELECT sql
156346
+ FROM sqlite_temp_master
156347
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
156348
+ 
156349
+  (0.1ms) SELECT sql
156350
+ FROM sqlite_master
156351
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
156352
+ UNION ALL
156353
+ SELECT sql
156354
+ FROM sqlite_temp_master
156355
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
156356
+
156357
+  (1.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")
156358
+  (0.1ms) SELECT sql
156359
+ FROM sqlite_master
156360
+ WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
156361
+ UNION ALL
156362
+ SELECT sql
156363
+ FROM sqlite_temp_master
156364
+ WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
156365
+
156366
+  (0.1ms)  SELECT sql
156367
+ FROM sqlite_master
156368
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
156369
+ UNION ALL
156370
+ SELECT sql
156371
+ FROM sqlite_temp_master
156372
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
156373
+ 
156374
+  (0.1ms) SELECT sql
156375
+ FROM sqlite_master
156376
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
156377
+ UNION ALL
156378
+ SELECT sql
156379
+ FROM sqlite_temp_master
156380
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
156381
+
156382
+  (1.0ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")
156383
+  (1.1ms) CREATE TABLE "dorsale_flyboy_folders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folderable_id" integer, "folderable_type" varchar, "name" varchar, "description" text, "progress" integer, "status" varchar, "tracking" varchar, "version" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
156384
+  (0.9ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")
156385
+  (0.1ms) SELECT sql
156386
+ FROM sqlite_master
156387
+ WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
156388
+ UNION ALL
156389
+ SELECT sql
156390
+ FROM sqlite_temp_master
156391
+ WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
156392
+
156393
+  (1.0ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")
156394
+  (1.0ms) CREATE TABLE "dorsale_flyboy_task_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "date" datetime, "description" text, "progress" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar, "author_id" integer)
156395
+  (0.9ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")
156396
+  (1.1ms) CREATE TABLE "dorsale_flyboy_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "taskable_id" integer, "taskable_type" varchar, "name" varchar, "description" text, "progress" integer, "done" boolean, "term" date, "reminder" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_type" varchar, "owner_id" integer)
156397
+  (0.9ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")
156398
+  (0.2ms) SELECT sql
156399
+ FROM sqlite_master
156400
+ WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
156401
+ UNION ALL
156402
+ SELECT sql
156403
+ FROM sqlite_temp_master
156404
+ WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
156405
+
156406
+  (1.0ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")
156407
+  (1.0ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
156408
+  (1.0ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime) 
156409
+  (1.0ms) CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")
156410
+  (0.1ms)  SELECT sql
156411
+ FROM sqlite_master
156412
+ WHERE name='taggings_idx' AND type='index'
156413
+ UNION ALL
156414
+ SELECT sql
156415
+ FROM sqlite_temp_master
156416
+ WHERE name='taggings_idx' AND type='index'
156417
+ 
156418
+  (1.0ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
156419
+  (1.3ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0) 
156420
+  (1.1ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")
156421
+  (1.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "is_active" boolean) 
156422
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
156423
+  (0.1ms)  SELECT sql
156424
+ FROM sqlite_master
156425
+ WHERE name='index_users_on_email' AND type='index'
156426
+ UNION ALL
156427
+ SELECT sql
156428
+ FROM sqlite_temp_master
156429
+ WHERE name='index_users_on_email' AND type='index'
156430
+ 
156431
+  (1.0ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
156432
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
156433
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
156434
+  (0.1ms) SELECT version FROM "schema_migrations"
156435
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20151126142254')
156436
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616082916')
156437
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')
156438
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081205')
156439
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')
156440
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081207')
156441
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')
156442
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803160334')
156443
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
156444
+  (3.0ms) CREATE TABLE "dorsale_addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar, "street_bis" varchar, "city" varchar, "zip" varchar, "country" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "addressable_id" integer, "addressable_type" varchar) 
156445
+  (1.2ms) CREATE TABLE "dorsale_alexandrie_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "attachable_id" integer, "attachable_type" varchar, "file" varchar, "sender_id" integer, "sender_type" varchar, "name" varchar, "created_at" datetime, "updated_at" datetime)
156446
+  (1.1ms) CREATE TABLE "dorsale_billing_machine_id_cards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "id_card_name" varchar, "entity_name" varchar, "siret" varchar, "legal_form" varchar, "capital" integer, "registration_number" varchar, "intracommunity_vat" varchar, "address1" varchar, "address2" varchar, "zip" varchar, "city" varchar, "phone" varchar, "contact_full_name" varchar, "contact_phone" varchar, "contact_address_1" varchar, "contact_address_2" varchar, "contact_zip" varchar, "contact_city" varchar, "iban" varchar, "bic_swift" varchar, "bank_name" varchar, "bank_address" varchar, "ape_naf" varchar, "custom_info_1" text, "custom_info_2" text, "custom_info_3" text, "contact_fax" varchar, "contact_email" varchar, "logo" varchar, "registration_city" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
156447
+  (1.3ms) CREATE TABLE "dorsale_billing_machine_invoice_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "invoice_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal)
156448
+  (0.4ms) select sqlite_version(*)
156449
+  (1.1ms) CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")
156450
+  (1.3ms) CREATE TABLE "dorsale_billing_machine_invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "payment_term_id" integer, "id_card_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "advance" decimal, "balance" decimal, "unique_index" integer, "paid" boolean, "due_date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "tracking_id" varchar, "commercial_discount" decimal) 
156451
+  (1.3ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")
156452
+  (0.1ms)  SELECT sql
156453
+ FROM sqlite_master
156454
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
156455
+ UNION ALL
156456
+ SELECT sql
156457
+ FROM sqlite_temp_master
156458
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
156459
+ 
156460
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")
156461
+  (0.2ms)  SELECT sql
156462
+ FROM sqlite_master
156463
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
156464
+ UNION ALL
156465
+ SELECT sql
156466
+ FROM sqlite_temp_master
156467
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
156468
+ 
156469
+  (0.4ms) SELECT sql
156470
+ FROM sqlite_master
156471
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
156472
+ UNION ALL
156473
+ SELECT sql
156474
+ FROM sqlite_temp_master
156475
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
156476
+
156477
+  (1.1ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")
156478
+  (0.1ms) SELECT sql
156479
+ FROM sqlite_master
156480
+ WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
156481
+ UNION ALL
156482
+ SELECT sql
156483
+ FROM sqlite_temp_master
156484
+ WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
156485
+
156486
+  (0.1ms)  SELECT sql
156487
+ FROM sqlite_master
156488
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
156489
+ UNION ALL
156490
+ SELECT sql
156491
+ FROM sqlite_temp_master
156492
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
156493
+ 
156494
+  (0.1ms) SELECT sql
156495
+ FROM sqlite_master
156496
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
156497
+ UNION ALL
156498
+ SELECT sql
156499
+ FROM sqlite_temp_master
156500
+ WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
156501
+
156502
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")
156503
+  (1.6ms) CREATE TABLE "dorsale_billing_machine_payment_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
156504
+  (1.4ms) CREATE TABLE "dorsale_billing_machine_quotation_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quotation_id" integer, "label" text, "quantity" decimal, "unit" varchar, "unit_price" decimal, "total" decimal, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "vat_rate" decimal) 
156505
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")
156506
+  (1.1ms) CREATE TABLE "dorsale_billing_machine_quotations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "customer_type" varchar, "id_card_id" integer, "payment_term_id" integer, "date" date, "label" varchar, "total_excluding_taxes" decimal, "vat_amount" decimal, "total_including_taxes" decimal, "unique_index" integer, "comments" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "expires_at" date, "tracking_id" varchar, "commercial_discount" decimal, "state" varchar) 
156507
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")
156508
+  (0.1ms)  SELECT sql
156509
+ FROM sqlite_master
156510
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
156511
+ UNION ALL
156512
+ SELECT sql
156513
+ FROM sqlite_temp_master
156514
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
156515
+ 
156516
+  (1.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")
156517
+  (0.1ms)  SELECT sql
156518
+ FROM sqlite_master
156519
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
156520
+ UNION ALL
156521
+ SELECT sql
156522
+ FROM sqlite_temp_master
156523
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
156524
+ 
156525
+  (0.1ms) SELECT sql
156526
+ FROM sqlite_master
156527
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
156528
+ UNION ALL
156529
+ SELECT sql
156530
+ FROM sqlite_temp_master
156531
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
156532
+
156533
+  (1.1ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")
156534
+  (0.1ms) SELECT sql
156535
+ FROM sqlite_master
156536
+ WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
156537
+ UNION ALL
156538
+ SELECT sql
156539
+ FROM sqlite_temp_master
156540
+ WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
156541
+
156542
+  (0.1ms)  SELECT sql
156543
+ FROM sqlite_master
156544
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
156545
+ UNION ALL
156546
+ SELECT sql
156547
+ FROM sqlite_temp_master
156548
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
156549
+ 
156550
+  (0.1ms) SELECT sql
156551
+ FROM sqlite_master
156552
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
156553
+ UNION ALL
156554
+ SELECT sql
156555
+ FROM sqlite_temp_master
156556
+ WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
156557
+
156558
+  (1.0ms) CREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")
156559
+  (1.1ms) CREATE TABLE "dorsale_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "author_id" integer, "user_type" varchar, "commentable_id" integer, "commentable_type" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar)
156560
+  (1.1ms) CREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" varchar, "phone" varchar, "fax" varchar, "www" varchar, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
156561
+  (1.6ms) CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" varchar, "title" varchar, "twitter" varchar, "www" varchar, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)
156562
+  (1.2ms) CREATE TABLE "dorsale_customer_vault_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "alice_id" integer, "alice_type" varchar, "bob_id" integer, "bob_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
156563
+  (1.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")
156564
+  (0.1ms)  SELECT sql
156565
+ FROM sqlite_master
156566
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
156567
+ UNION ALL
156568
+ SELECT sql
156569
+ FROM sqlite_temp_master
156570
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
156571
+ 
156572
+  (1.3ms) CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")
156573
+  (0.1ms)  SELECT sql
156574
+ FROM sqlite_master
156575
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
156576
+ UNION ALL
156577
+ SELECT sql
156578
+ FROM sqlite_temp_master
156579
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
156580
+ 
156581
+  (0.1ms) SELECT sql
156582
+ FROM sqlite_master
156583
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
156584
+ UNION ALL
156585
+ SELECT sql
156586
+ FROM sqlite_temp_master
156587
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
156588
+
156589
+  (1.1ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")
156590
+  (0.6ms) SELECT sql
156591
+ FROM sqlite_master
156592
+ WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
156593
+ UNION ALL
156594
+ SELECT sql
156595
+ FROM sqlite_temp_master
156596
+ WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
156597
+
156598
+  (0.2ms)  SELECT sql
156599
+ FROM sqlite_master
156600
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
156601
+ UNION ALL
156602
+ SELECT sql
156603
+ FROM sqlite_temp_master
156604
+ WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
156605
+ 
156606
+  (0.1ms) SELECT sql
156607
+ FROM sqlite_master
156608
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
156609
+ UNION ALL
156610
+ SELECT sql
156611
+ FROM sqlite_temp_master
156612
+ WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
156613
+
156614
+  (1.4ms) CREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")
156615
+  (1.1ms) CREATE TABLE "dorsale_flyboy_folders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "folderable_id" integer, "folderable_type" varchar, "name" varchar, "description" text, "progress" integer, "status" varchar, "tracking" varchar, "version" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
156616
+  (1.0ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")
156617
+  (0.1ms) SELECT sql
156618
+ FROM sqlite_master
156619
+ WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
156620
+ UNION ALL
156621
+ SELECT sql
156622
+ FROM sqlite_temp_master
156623
+ WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
156624
+
156625
+  (1.0ms) CREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")
156626
+  (1.1ms) CREATE TABLE "dorsale_flyboy_task_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "date" datetime, "description" text, "progress" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "author_type" varchar, "author_id" integer)
156627
+  (1.1ms) CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")
156628
+  (1.1ms) CREATE TABLE "dorsale_flyboy_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "taskable_id" integer, "taskable_type" varchar, "name" varchar, "description" text, "progress" integer, "done" boolean, "term" date, "reminder" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "owner_type" varchar, "owner_id" integer)
156629
+  (1.1ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")
156630
+  (0.1ms) SELECT sql
156631
+ FROM sqlite_master
156632
+ WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
156633
+ UNION ALL
156634
+ SELECT sql
156635
+ FROM sqlite_temp_master
156636
+ WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
156637
+
156638
+  (1.4ms) CREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")
156639
+  (1.6ms) CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
156640
+  (2.2ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar, "tagger_id" integer, "tagger_type" varchar, "context" varchar(128), "created_at" datetime) 
156641
+  (1.5ms) CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")
156642
+  (0.1ms)  SELECT sql
156643
+ FROM sqlite_master
156644
+ WHERE name='taggings_idx' AND type='index'
156645
+ UNION ALL
156646
+ SELECT sql
156647
+ FROM sqlite_temp_master
156648
+ WHERE name='taggings_idx' AND type='index'
156649
+ 
156650
+  (1.9ms) CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
156651
+  (1.4ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0) 
156652
+  (1.1ms) CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")
156653
+  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar DEFAULT '' NOT NULL, "encrypted_password" varchar DEFAULT '' NOT NULL, "reset_password_token" varchar, "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar, "last_sign_in_ip" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "is_active" boolean) 
156654
+  (2.6ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
156655
+  (0.1ms)  SELECT sql
156656
+ FROM sqlite_master
156657
+ WHERE name='index_users_on_email' AND type='index'
156658
+ UNION ALL
156659
+ SELECT sql
156660
+ FROM sqlite_temp_master
156661
+ WHERE name='index_users_on_email' AND type='index'
156662
+ 
156663
+  (1.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
156664
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
156665
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
156666
+  (0.2ms) SELECT version FROM "schema_migrations"
156667
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151126142254')
156668
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616082916')
156669
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')
156670
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081205')
156671
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')
156672
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081207')
156673
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')
156674
+  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803160334')
156675
+  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20141010140200')
156676
+  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141014072756')
156677
+  (1.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150312083147')
156678
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616074852')
156679
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622075000')
156680
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622075038')
156681
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150622105217')
156682
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150623093218')
156683
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150625093326')
156684
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150625131155')
156685
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150803152643')
156686
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150805133509')
156687
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150805134318')
156688
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20151012181412')
156689
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151019100134')
156690
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20151023135421')
156691
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20151103110115')
156692
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20151116143024')
156693
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20151120122613')
156694
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20151126132304')
156695
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
156696
+  (1.1ms) DELETE FROM "dorsale_addresses";
156697
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156698
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_addresses';
156699
+  (0.8ms) DELETE FROM "dorsale_alexandrie_attachments";
156700
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156701
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_alexandrie_attachments';
156702
+  (0.8ms) DELETE FROM "dorsale_billing_machine_id_cards";
156703
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156704
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_id_cards';
156705
+  (0.8ms) DELETE FROM "dorsale_billing_machine_invoice_lines";
156706
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156707
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoice_lines';
156708
+  (0.9ms) DELETE FROM "dorsale_billing_machine_invoices";
156709
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156710
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoices';
156711
+  (0.8ms) DELETE FROM "dorsale_billing_machine_payment_terms";
156712
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156713
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_payment_terms';
156714
+  (1.0ms) DELETE FROM "dorsale_billing_machine_quotation_lines";
156715
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156716
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotation_lines';
156717
+  (1.2ms) DELETE FROM "dorsale_billing_machine_quotations";
156718
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156719
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotations';
156720
+  (0.9ms) DELETE FROM "dorsale_comments";
156721
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156722
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_comments';
156723
+  (1.0ms) DELETE FROM "dorsale_customer_vault_corporations";
156724
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156725
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_corporations';
156726
+  (0.8ms) DELETE FROM "dorsale_customer_vault_individuals";
156727
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156728
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_individuals';
156729
+  (1.0ms) DELETE FROM "dorsale_customer_vault_links";
156730
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156731
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_links';
156732
+  (0.9ms) DELETE FROM "dorsale_flyboy_folders";
156733
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156734
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';
156735
+  (0.8ms) DELETE FROM "dorsale_flyboy_task_comments";
156736
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156737
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_task_comments';
156738
+  (0.9ms) DELETE FROM "dorsale_flyboy_tasks";
156739
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156740
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_tasks';
156741
+  (0.9ms) DELETE FROM "dummy_models";
156742
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156743
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dummy_models';
156744
+  (0.9ms) DELETE FROM "taggings";
156745
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156746
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'taggings';
156747
+  (0.8ms) DELETE FROM "tags";
156748
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156749
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
156750
+  (0.9ms) DELETE FROM "users";
156751
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156752
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
156753
+  (0.1ms) begin transaction
156754
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'ambre@roux.net' LIMIT 1
156755
+ SQL (0.4ms) INSERT INTO "users" ("is_active", "email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["is_active", "t"], ["email", "ambre@roux.net"], ["encrypted_password", "$2a$04$bcoZLB2VGlGWScfJWUkaousfwbAgzJwz1nHIg.m9efe3yWQPr480W"], ["created_at", "2015-12-08 10:19:02.750499"], ["updated_at", "2015-12-08 10:19:02.750499"]]
156756
+ [ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 8d07d145-4655-471e-81a8-6394a40829ea) to Inline(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", gid://dummy/User/1, "password"
156757
+ [ActiveJob] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
156758
+ [ActiveJob] [ActionMailer::DeliveryJob] [8d07d145-4655-471e-81a8-6394a40829ea] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", gid://dummy/User/1, "password"
156759
+ [ActiveJob] [ActionMailer::DeliveryJob] [8d07d145-4655-471e-81a8-6394a40829ea] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/user_mailer/new_account.html.slim (25.1ms)
156760
+ [ActiveJob] [ActionMailer::DeliveryJob] [8d07d145-4655-471e-81a8-6394a40829ea]
156761
+ Dorsale::UserMailer#new_account: processed outbound mail in 357.6ms
156762
+ [ActiveJob] [ActionMailer::DeliveryJob] [8d07d145-4655-471e-81a8-6394a40829ea]
156763
+ Sent mail to ambre@roux.net (13.7ms)
156764
+ [ActiveJob] [ActionMailer::DeliveryJob] [8d07d145-4655-471e-81a8-6394a40829ea] Date: Tue, 08 Dec 2015 11:19:03 +0100
156765
+ From: contact@example.org
156766
+ To: ambre@roux.net
156767
+ Message-ID: <5666ae972c085_bb493fd01085e2047376a@tiramisu.local.mail>
156768
+ Subject: Nouveau compte
156769
+ Mime-Version: 1.0
156770
+ Content-Type: text/html;
156771
+ charset=UTF-8
156772
+ Content-Transfer-Encoding: quoted-printable
156773
+
156774
+ <h1>Nouveau compte cr=C3=A9=C3=A9</h1><h2>F=C3=A9licitation pour la cr=C3=
156775
+ =A9ation de votre compte.</h2><p>Votre login est: ambre@roux.net</p><p>Vo=
156776
+ tre mot de passe est: password</p>=
156777
+
156778
+ [ActiveJob] [ActionMailer::DeliveryJob] [8d07d145-4655-471e-81a8-6394a40829ea] Performed ActionMailer::DeliveryJob from Inline(mailers) in 371.83ms
156779
+  (1.1ms) commit transaction
156780
+ Started GET "/users/sign_in" for 127.0.0.1 at 2015-12-08 11:19:07 +0100
156781
+ Processing by Devise::SessionsController#new as HTML
156782
+ Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/shared/_links.html.erb (2.7ms)
156783
+ Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/sessions/new.html.erb within layouts/application (43.6ms)
156784
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.5ms)
156785
+ Completed 200 OK in 9426ms (Views: 9419.7ms | ActiveRecord: 0.0ms)
156786
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-08 11:19:17 +0100
156787
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-08 11:19:17 +0100
156788
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff" for 127.0.0.1 at 2015-12-08 11:19:17 +0100
156789
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
156790
+  (2.4ms) DELETE FROM "dorsale_addresses";
156791
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156792
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_addresses';
156793
+  (0.8ms) DELETE FROM "dorsale_alexandrie_attachments";
156794
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156795
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_alexandrie_attachments';
156796
+  (0.8ms) DELETE FROM "dorsale_billing_machine_id_cards";
156797
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156798
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_id_cards';
156799
+  (0.8ms) DELETE FROM "dorsale_billing_machine_invoice_lines";
156800
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156801
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoice_lines';
156802
+  (1.5ms) DELETE FROM "dorsale_billing_machine_invoices";
156803
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156804
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoices';
156805
+  (0.8ms) DELETE FROM "dorsale_billing_machine_payment_terms";
156806
+  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156807
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_payment_terms';
156808
+  (0.9ms) DELETE FROM "dorsale_billing_machine_quotation_lines";
156809
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156810
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotation_lines';
156811
+  (1.0ms) DELETE FROM "dorsale_billing_machine_quotations";
156812
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156813
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotations';
156814
+  (0.8ms) DELETE FROM "dorsale_comments";
156815
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156816
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_comments';
156817
+  (0.7ms) DELETE FROM "dorsale_customer_vault_corporations";
156818
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156819
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_corporations';
156820
+  (0.8ms) DELETE FROM "dorsale_customer_vault_individuals";
156821
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156822
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_individuals';
156823
+  (1.1ms) DELETE FROM "dorsale_customer_vault_links";
156824
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156825
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_links';
156826
+  (0.9ms) DELETE FROM "dorsale_flyboy_folders";
156827
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156828
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';
156829
+  (0.8ms) DELETE FROM "dorsale_flyboy_task_comments";
156830
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156831
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_task_comments';
156832
+  (1.0ms) DELETE FROM "dorsale_flyboy_tasks";
156833
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156834
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_tasks';
156835
+  (1.5ms) DELETE FROM "dummy_models";
156836
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156837
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dummy_models';
156838
+  (1.0ms) DELETE FROM "taggings";
156839
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156840
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'taggings';
156841
+  (0.9ms) DELETE FROM "tags";
156842
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156843
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
156844
+  (0.8ms) DELETE FROM "users";
156845
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156846
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
156847
+  (0.1ms) begin transaction
156848
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'evan_laine@maillard.org' LIMIT 1
156849
+ SQL (0.4ms) INSERT INTO "users" ("is_active", "email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["is_active", "t"], ["email", "evan_laine@maillard.org"], ["encrypted_password", "$2a$04$JAcd812PpGzxJnUuBMDCaeOFMBMaZXRH4DLC3UWWYHIWvB3De.Zea"], ["created_at", "2015-12-08 10:19:31.484014"], ["updated_at", "2015-12-08 10:19:31.484014"]]
156850
+ [ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: 8b51a908-f28d-454a-ae0d-c7e581af16c0) to Inline(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", gid://dummy/User/1, "password"
156851
+ [ActiveJob] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
156852
+ [ActiveJob] [ActionMailer::DeliveryJob] [8b51a908-f28d-454a-ae0d-c7e581af16c0] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", gid://dummy/User/1, "password"
156853
+ [ActiveJob] [ActionMailer::DeliveryJob] [8b51a908-f28d-454a-ae0d-c7e581af16c0] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/user_mailer/new_account.html.slim (25.4ms)
156854
+ [ActiveJob] [ActionMailer::DeliveryJob] [8b51a908-f28d-454a-ae0d-c7e581af16c0]
156855
+ Dorsale::UserMailer#new_account: processed outbound mail in 348.2ms
156856
+ [ActiveJob] [ActionMailer::DeliveryJob] [8b51a908-f28d-454a-ae0d-c7e581af16c0]
156857
+ Sent mail to evan_laine@maillard.org (12.1ms)
156858
+ [ActiveJob] [ActionMailer::DeliveryJob] [8b51a908-f28d-454a-ae0d-c7e581af16c0] Date: Tue, 08 Dec 2015 11:19:31 +0100
156859
+ From: contact@example.org
156860
+ To: evan_laine@maillard.org
156861
+ Message-ID: <5666aeb3db73b_bb853fd1b985e204135c@tiramisu.local.mail>
156862
+ Subject: Nouveau compte
156863
+ Mime-Version: 1.0
156864
+ Content-Type: text/html;
156865
+ charset=UTF-8
156866
+ Content-Transfer-Encoding: quoted-printable
156867
+
156868
+ <h1>Nouveau compte cr=C3=A9=C3=A9</h1><h2>F=C3=A9licitation pour la cr=C3=
156869
+ =A9ation de votre compte.</h2><p>Votre login est: evan_laine@maillard.org=
156870
+ </p><p>Votre mot de passe est: password</p>=
156871
+
156872
+ [ActiveJob] [ActionMailer::DeliveryJob] [8b51a908-f28d-454a-ae0d-c7e581af16c0] Performed ActionMailer::DeliveryJob from Inline(mailers) in 360.92ms
156873
+  (2.8ms) commit transaction
156874
+ Started GET "/users/sign_in" for 127.0.0.1 at 2015-12-08 11:19:36 +0100
156875
+ Processing by Devise::SessionsController#new as HTML
156876
+ Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/shared/_links.html.erb (2.1ms)
156877
+ Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/sessions/new.html.erb within layouts/application (44.4ms)
156878
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (5.0ms)
156879
+ Completed 200 OK in 392ms (Views: 384.4ms | ActiveRecord: 0.0ms)
156880
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-08 11:19:36 +0100
156881
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-08 11:19:36 +0100
156882
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff" for 127.0.0.1 at 2015-12-08 11:19:36 +0100
156883
+ Started POST "/users/sign_in" for 127.0.0.1 at 2015-12-08 11:19:39 +0100
156884
+ Processing by Devise::SessionsController#create as HTML
156885
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"evan_laine@maillard.org", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Connexion", "back_url"=>"http://127.0.0.1:63446/users/sign_in"}
156886
+ User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "evan_laine@maillard.org"]]
156887
+  (0.1ms) begin transaction
156888
+ SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2015-12-08 10:19:39.546883"], ["current_sign_in_at", "2015-12-08 10:19:39.546883"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2015-12-08 10:19:39.547835"], ["id", 1]]
156889
+  (2.5ms) commit transaction
156890
+ Redirected to http://127.0.0.1:63446/
156891
+ Completed 302 Found in 48ms (ActiveRecord: 4.1ms)
156892
+ Started GET "/" for 127.0.0.1 at 2015-12-08 11:19:39 +0100
156893
+ Processing by HomeController#home as HTML
156894
+ Rendered home/home.html.slim within layouts/application (2.9ms)
156895
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
156896
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms)
156897
+ Completed 200 OK in 23ms (Views: 21.8ms | ActiveRecord: 0.2ms)
156898
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-08 11:19:39 +0100
156899
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-08 11:19:39 +0100
156900
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff" for 127.0.0.1 at 2015-12-08 11:19:39 +0100
156901
+  (0.1ms) begin transaction
156902
+ SQL (0.4ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-12-08 10:19:39.766527"], ["updated_at", "2015-12-08 10:19:39.766527"]]
156903
+  (1.5ms) commit transaction
156904
+  (0.1ms) begin transaction
156905
+ SQL (0.3ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term sint rem dicta"], ["created_at", "2015-12-08 10:19:39.801942"], ["updated_at", "2015-12-08 10:19:39.801942"]]
156906
+  (0.8ms) commit transaction
156907
+  (0.1ms) begin transaction
156908
+  (0.1ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
156909
+ SQL (0.4ms) INSERT INTO "dorsale_billing_machine_quotations" ("state", "date", "expires_at", "commercial_discount", "vat_amount", "payment_term_id", "id_card_id", "label", "comments", "total_excluding_taxes", "total_including_taxes", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-01-08"], ["commercial_discount", 0.0], ["vat_amount", 0.0], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["comments", "This is the quotation for the software your companie want"], ["total_excluding_taxes", 0.0], ["total_including_taxes", 0.0], ["created_at", "2015-12-08 10:19:39.821233"], ["updated_at", "2015-12-08 10:19:39.821233"], ["unique_index", 1], ["tracking_id", "2014-01"]]
156910
+  (1.0ms) commit transaction
156911
+  (0.1ms) begin transaction
156912
+ SQL (0.4ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "quotation_id", "vat_rate", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["quantity", 1.0], ["unit_price", 9.99], ["quotation_id", 1], ["vat_rate", 20.0], ["total", 9.99], ["created_at", "2015-12-08 10:19:39.835741"], ["updated_at", "2015-12-08 10:19:39.835741"]]
156913
+ Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
156914
+ Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
156915
+ Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
156916
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["total_excluding_taxes", 9.99], ["vat_amount", 1.998], ["total_including_taxes", 11.988], ["updated_at", "2015-12-08 10:19:39.844323"], ["id", 1]]
156917
+  (1.0ms) commit transaction
156918
+ Started GET "/dorsale/billing_machine/quotations/1" for 127.0.0.1 at 2015-12-08 11:19:39 +0100
156919
+ Processing by Dorsale::BillingMachine::QuotationsController#show as HTML
156920
+ Parameters: {"id"=>"1"}
156921
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
156922
+ Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
156923
+ Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
156924
+ Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
156925
+ Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
156926
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (12.9ms)
156927
+ Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]]
156928
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (118.5ms)
156929
+ Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1
156930
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (5.5ms)
156931
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (136.1ms)
156932
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (187.1ms)
156933
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (197.3ms)
156934
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms)
156935
+ Completed 200 OK in 250ms (Views: 239.2ms | ActiveRecord: 2.3ms)
156936
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-08 11:19:40 +0100
156937
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-08 11:19:40 +0100
156938
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff" for 127.0.0.1 at 2015-12-08 11:19:40 +0100
156939
+  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices"
156940
+ Started GET "/dorsale/billing_machine/quotations/1/create_invoice" for 127.0.0.1 at 2015-12-08 11:19:40 +0100
156941
+ Processing by Dorsale::BillingMachine::QuotationsController#create_invoice as HTML
156942
+ Parameters: {"id"=>"1"}
156943
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
156944
+ Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
156945
+ Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
156946
+ Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
156947
+ Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
156948
+ Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards"
156949
+ Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
156950
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (10.6ms)
156951
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms)
156952
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (4.1ms)
156953
+ Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms"
156954
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (70.7ms)
156955
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (79.1ms)
156956
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms)
156957
+ Completed 200 OK in 122ms (Views: 88.8ms | ActiveRecord: 2.1ms)
156958
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-08 11:19:40 +0100
156959
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-08 11:19:40 +0100
156960
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff" for 127.0.0.1 at 2015-12-08 11:19:40 +0100
156961
+  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices"
156962
+  (1.0ms) DELETE FROM "dorsale_addresses";
156963
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156964
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_addresses';
156965
+  (0.8ms) DELETE FROM "dorsale_alexandrie_attachments";
156966
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156967
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_alexandrie_attachments';
156968
+  (0.7ms) DELETE FROM "dorsale_billing_machine_id_cards";
156969
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156970
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_id_cards';
156971
+  (0.8ms) DELETE FROM "dorsale_billing_machine_invoice_lines";
156972
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156973
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoice_lines';
156974
+  (1.2ms) DELETE FROM "dorsale_billing_machine_invoices";
156975
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156976
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoices';
156977
+  (2.0ms) DELETE FROM "dorsale_billing_machine_payment_terms";
156978
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156979
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_payment_terms';
156980
+  (1.4ms) DELETE FROM "dorsale_billing_machine_quotation_lines";
156981
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156982
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotation_lines';
156983
+  (1.0ms) DELETE FROM "dorsale_billing_machine_quotations";
156984
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156985
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotations';
156986
+  (0.8ms) DELETE FROM "dorsale_comments";
156987
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156988
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_comments';
156989
+  (0.8ms) DELETE FROM "dorsale_customer_vault_corporations";
156990
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156991
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_corporations';
156992
+  (0.8ms) DELETE FROM "dorsale_customer_vault_individuals";
156993
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156994
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_individuals';
156995
+  (1.0ms) DELETE FROM "dorsale_customer_vault_links";
156996
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
156997
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_links';
156998
+  (0.9ms) DELETE FROM "dorsale_flyboy_folders";
156999
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157000
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';
157001
+  (0.8ms) DELETE FROM "dorsale_flyboy_task_comments";
157002
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157003
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_task_comments';
157004
+  (0.8ms) DELETE FROM "dorsale_flyboy_tasks";
157005
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157006
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_tasks';
157007
+  (0.8ms) DELETE FROM "dummy_models";
157008
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157009
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dummy_models';
157010
+  (0.8ms) DELETE FROM "taggings";
157011
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157012
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'taggings';
157013
+  (0.9ms) DELETE FROM "tags";
157014
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157015
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
157016
+  (0.9ms) DELETE FROM "users";
157017
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157018
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
157019
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
157020
+  (3.4ms) DELETE FROM "dorsale_addresses";
157021
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157022
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_addresses';
157023
+  (1.3ms) DELETE FROM "dorsale_alexandrie_attachments";
157024
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157025
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_alexandrie_attachments';
157026
+  (0.8ms) DELETE FROM "dorsale_billing_machine_id_cards";
157027
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157028
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_id_cards';
157029
+  (0.9ms) DELETE FROM "dorsale_billing_machine_invoice_lines";
157030
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157031
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoice_lines';
157032
+  (1.0ms) DELETE FROM "dorsale_billing_machine_invoices";
157033
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157034
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoices';
157035
+  (0.9ms) DELETE FROM "dorsale_billing_machine_payment_terms";
157036
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157037
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_payment_terms';
157038
+  (0.9ms) DELETE FROM "dorsale_billing_machine_quotation_lines";
157039
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157040
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotation_lines';
157041
+  (1.1ms) DELETE FROM "dorsale_billing_machine_quotations";
157042
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157043
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotations';
157044
+  (1.0ms) DELETE FROM "dorsale_comments";
157045
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157046
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_comments';
157047
+  (1.0ms) DELETE FROM "dorsale_customer_vault_corporations";
157048
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157049
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_corporations';
157050
+  (0.8ms) DELETE FROM "dorsale_customer_vault_individuals";
157051
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157052
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_individuals';
157053
+  (1.1ms) DELETE FROM "dorsale_customer_vault_links";
157054
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157055
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_links';
157056
+  (1.1ms) DELETE FROM "dorsale_flyboy_folders";
157057
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157058
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';
157059
+  (1.1ms) DELETE FROM "dorsale_flyboy_task_comments";
157060
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157061
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_task_comments';
157062
+  (1.1ms) DELETE FROM "dorsale_flyboy_tasks";
157063
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157064
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_tasks';
157065
+  (0.9ms) DELETE FROM "dummy_models";
157066
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157067
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dummy_models';
157068
+  (0.9ms) DELETE FROM "taggings";
157069
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157070
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'taggings';
157071
+  (1.0ms) DELETE FROM "tags";
157072
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157073
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
157074
+  (0.9ms) DELETE FROM "users";
157075
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157076
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
157077
+  (0.1ms) begin transaction
157078
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'ambre@giraud.org' LIMIT 1
157079
+ SQL (0.3ms) INSERT INTO "users" ("is_active", "email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["is_active", "t"], ["email", "ambre@giraud.org"], ["encrypted_password", "$2a$04$1H.yK4tBubHPNRB/L2y4RexpKe1hNcGeft5RB/lEiiTo6NCX0tLKW"], ["created_at", "2015-12-08 10:20:56.425711"], ["updated_at", "2015-12-08 10:20:56.425711"]]
157080
+ [ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: f0ef0238-ae9e-4cad-99ca-53e597b139e5) to Inline(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", gid://dummy/User/1, "password"
157081
+ [ActiveJob] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
157082
+ [ActiveJob] [ActionMailer::DeliveryJob] [f0ef0238-ae9e-4cad-99ca-53e597b139e5] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", gid://dummy/User/1, "password"
157083
+ [ActiveJob] [ActionMailer::DeliveryJob] [f0ef0238-ae9e-4cad-99ca-53e597b139e5] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/user_mailer/new_account.html.slim (28.5ms)
157084
+ [ActiveJob] [ActionMailer::DeliveryJob] [f0ef0238-ae9e-4cad-99ca-53e597b139e5]
157085
+ Dorsale::UserMailer#new_account: processed outbound mail in 372.3ms
157086
+ [ActiveJob] [ActionMailer::DeliveryJob] [f0ef0238-ae9e-4cad-99ca-53e597b139e5]
157087
+ Sent mail to ambre@giraud.org (9.6ms)
157088
+ [ActiveJob] [ActionMailer::DeliveryJob] [f0ef0238-ae9e-4cad-99ca-53e597b139e5] Date: Tue, 08 Dec 2015 11:20:56 +0100
157089
+ From: contact@example.org
157090
+ To: ambre@giraud.org
157091
+ Message-ID: <5666af08d2a7d_bbc03fc55a05e204807d7@tiramisu.local.mail>
157092
+ Subject: Nouveau compte
157093
+ Mime-Version: 1.0
157094
+ Content-Type: text/html;
157095
+ charset=UTF-8
157096
+ Content-Transfer-Encoding: quoted-printable
157097
+
157098
+ <h1>Nouveau compte cr=C3=A9=C3=A9</h1><h2>F=C3=A9licitation pour la cr=C3=
157099
+ =A9ation de votre compte.</h2><p>Votre login est: ambre@giraud.org</p><p>=
157100
+ Votre mot de passe est: password</p>=
157101
+
157102
+ [ActiveJob] [ActionMailer::DeliveryJob] [f0ef0238-ae9e-4cad-99ca-53e597b139e5] Performed ActionMailer::DeliveryJob from Inline(mailers) in 382.58ms
157103
+  (2.7ms) commit transaction
157104
+ Started GET "/users/sign_in" for 127.0.0.1 at 2015-12-08 11:21:01 +0100
157105
+ Processing by Devise::SessionsController#new as HTML
157106
+ Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/shared/_links.html.erb (1.9ms)
157107
+ Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/sessions/new.html.erb within layouts/application (42.5ms)
157108
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (5.4ms)
157109
+ Completed 200 OK in 412ms (Views: 404.3ms | ActiveRecord: 0.0ms)
157110
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-08 11:21:01 +0100
157111
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-08 11:21:01 +0100
157112
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff" for 127.0.0.1 at 2015-12-08 11:21:01 +0100
157113
+ Started POST "/users/sign_in" for 127.0.0.1 at 2015-12-08 11:21:04 +0100
157114
+ Processing by Devise::SessionsController#create as HTML
157115
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"ambre@giraud.org", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Connexion", "back_url"=>"http://127.0.0.1:63456/users/sign_in"}
157116
+ User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "ambre@giraud.org"]]
157117
+  (0.1ms) begin transaction
157118
+ SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2015-12-08 10:21:04.720281"], ["current_sign_in_at", "2015-12-08 10:21:04.720281"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2015-12-08 10:21:04.721209"], ["id", 1]]
157119
+  (3.0ms) commit transaction
157120
+ Redirected to http://127.0.0.1:63456/
157121
+ Completed 302 Found in 52ms (ActiveRecord: 4.5ms)
157122
+ Started GET "/" for 127.0.0.1 at 2015-12-08 11:21:04 +0100
157123
+ Processing by HomeController#home as HTML
157124
+ Rendered home/home.html.slim within layouts/application (3.9ms)
157125
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
157126
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms)
157127
+ Completed 200 OK in 27ms (Views: 26.5ms | ActiveRecord: 0.3ms)
157128
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-08 11:21:04 +0100
157129
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-08 11:21:04 +0100
157130
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff" for 127.0.0.1 at 2015-12-08 11:21:04 +0100
157131
+  (0.1ms) begin transaction
157132
+ SQL (0.5ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-12-08 10:21:04.937325"], ["updated_at", "2015-12-08 10:21:04.937325"]]
157133
+  (1.5ms) commit transaction
157134
+  (0.2ms) begin transaction
157135
+ SQL (0.4ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term molestiae enim ut"], ["created_at", "2015-12-08 10:21:04.973557"], ["updated_at", "2015-12-08 10:21:04.973557"]]
157136
+  (0.8ms) commit transaction
157137
+  (0.1ms) begin transaction
157138
+  (0.1ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
157139
+ SQL (0.6ms) INSERT INTO "dorsale_billing_machine_quotations" ("state", "date", "expires_at", "commercial_discount", "vat_amount", "payment_term_id", "id_card_id", "label", "comments", "total_excluding_taxes", "total_including_taxes", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-01-08"], ["commercial_discount", 0.0], ["vat_amount", 0.0], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["comments", "This is the quotation for the software your companie want"], ["total_excluding_taxes", 0.0], ["total_including_taxes", 0.0], ["created_at", "2015-12-08 10:21:04.993950"], ["updated_at", "2015-12-08 10:21:04.993950"], ["unique_index", 1], ["tracking_id", "2014-01"]]
157140
+  (1.1ms) commit transaction
157141
+  (0.1ms) begin transaction
157142
+ SQL (0.4ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "quotation_id", "vat_rate", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["quantity", 1.0], ["unit_price", 9.99], ["quotation_id", 1], ["vat_rate", 20.0], ["total", 9.99], ["created_at", "2015-12-08 10:21:05.009512"], ["updated_at", "2015-12-08 10:21:05.009512"]]
157143
+ Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
157144
+ Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
157145
+ Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
157146
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["total_excluding_taxes", 9.99], ["vat_amount", 1.998], ["total_including_taxes", 11.988], ["updated_at", "2015-12-08 10:21:05.017936"], ["id", 1]]
157147
+  (1.1ms) commit transaction
157148
+ Started GET "/dorsale/billing_machine/quotations/1" for 127.0.0.1 at 2015-12-08 11:21:05 +0100
157149
+ Processing by Dorsale::BillingMachine::QuotationsController#show as HTML
157150
+ Parameters: {"id"=>"1"}
157151
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
157152
+ Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
157153
+ Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
157154
+ Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
157155
+ Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
157156
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (11.8ms)
157157
+ Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]]
157158
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (110.1ms)
157159
+ Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1
157160
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (6.1ms)
157161
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (130.8ms)
157162
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (180.3ms)
157163
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (190.9ms)
157164
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms)
157165
+ Completed 200 OK in 241ms (Views: 227.8ms | ActiveRecord: 2.3ms)
157166
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-08 11:21:05 +0100
157167
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-08 11:21:05 +0100
157168
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff" for 127.0.0.1 at 2015-12-08 11:21:05 +0100
157169
+  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices"
157170
+ Started GET "/dorsale/billing_machine/quotations/1/create_invoice" for 127.0.0.1 at 2015-12-08 11:21:05 +0100
157171
+ Processing by Dorsale::BillingMachine::QuotationsController#create_invoice as HTML
157172
+ Parameters: {"id"=>"1"}
157173
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
157174
+ Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
157175
+ Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
157176
+ Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
157177
+ Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
157178
+ Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards"
157179
+ Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
157180
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (10.0ms)
157181
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms)
157182
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (3.7ms)
157183
+ Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms"
157184
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (73.7ms)
157185
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (82.2ms)
157186
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms)
157187
+ Completed 200 OK in 129ms (Views: 92.3ms | ActiveRecord: 2.2ms)
157188
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-08 11:21:05 +0100
157189
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-08 11:21:05 +0100
157190
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff" for 127.0.0.1 at 2015-12-08 11:21:05 +0100
157191
+  (3.0ms) DELETE FROM "dorsale_addresses";
157192
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157193
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_addresses';
157194
+  (0.9ms) DELETE FROM "dorsale_alexandrie_attachments";
157195
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157196
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_alexandrie_attachments';
157197
+  (0.8ms) DELETE FROM "dorsale_billing_machine_id_cards";
157198
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157199
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_id_cards';
157200
+  (1.0ms) DELETE FROM "dorsale_billing_machine_invoice_lines";
157201
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157202
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoice_lines';
157203
+  (1.1ms) DELETE FROM "dorsale_billing_machine_invoices";
157204
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157205
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoices';
157206
+  (1.1ms) DELETE FROM "dorsale_billing_machine_payment_terms";
157207
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157208
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_payment_terms';
157209
+  (0.9ms) DELETE FROM "dorsale_billing_machine_quotation_lines";
157210
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157211
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotation_lines';
157212
+  (1.6ms) DELETE FROM "dorsale_billing_machine_quotations";
157213
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157214
+  (1.2ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotations';
157215
+  (1.2ms) DELETE FROM "dorsale_comments";
157216
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157217
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_comments';
157218
+  (0.9ms) DELETE FROM "dorsale_customer_vault_corporations";
157219
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157220
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_corporations';
157221
+  (1.0ms) DELETE FROM "dorsale_customer_vault_individuals";
157222
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157223
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_individuals';
157224
+  (1.1ms) DELETE FROM "dorsale_customer_vault_links";
157225
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157226
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_links';
157227
+  (1.1ms) DELETE FROM "dorsale_flyboy_folders";
157228
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157229
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';
157230
+  (0.9ms) DELETE FROM "dorsale_flyboy_task_comments";
157231
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157232
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_task_comments';
157233
+  (0.9ms) DELETE FROM "dorsale_flyboy_tasks";
157234
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157235
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_tasks';
157236
+  (0.9ms) DELETE FROM "dummy_models";
157237
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157238
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dummy_models';
157239
+  (1.8ms) DELETE FROM "taggings";
157240
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157241
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'taggings';
157242
+  (1.1ms) DELETE FROM "tags";
157243
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157244
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
157245
+  (0.9ms) DELETE FROM "users";
157246
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157247
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
157248
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
157249
+  (3.4ms) DELETE FROM "dorsale_addresses";
157250
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157251
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_addresses';
157252
+  (1.0ms) DELETE FROM "dorsale_alexandrie_attachments";
157253
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157254
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_alexandrie_attachments';
157255
+  (0.9ms) DELETE FROM "dorsale_billing_machine_id_cards";
157256
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157257
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_id_cards';
157258
+  (0.9ms) DELETE FROM "dorsale_billing_machine_invoice_lines";
157259
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157260
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoice_lines';
157261
+  (1.0ms) DELETE FROM "dorsale_billing_machine_invoices";
157262
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157263
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoices';
157264
+  (0.9ms) DELETE FROM "dorsale_billing_machine_payment_terms";
157265
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157266
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_payment_terms';
157267
+  (1.0ms) DELETE FROM "dorsale_billing_machine_quotation_lines";
157268
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157269
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotation_lines';
157270
+  (1.1ms) DELETE FROM "dorsale_billing_machine_quotations";
157271
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157272
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotations';
157273
+  (0.9ms) DELETE FROM "dorsale_comments";
157274
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157275
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_comments';
157276
+  (0.8ms) DELETE FROM "dorsale_customer_vault_corporations";
157277
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157278
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_corporations';
157279
+  (0.9ms) DELETE FROM "dorsale_customer_vault_individuals";
157280
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157281
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_individuals';
157282
+  (1.1ms) DELETE FROM "dorsale_customer_vault_links";
157283
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157284
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_links';
157285
+  (0.8ms) DELETE FROM "dorsale_flyboy_folders";
157286
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157287
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';
157288
+  (0.9ms) DELETE FROM "dorsale_flyboy_task_comments";
157289
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157290
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_task_comments';
157291
+  (0.9ms) DELETE FROM "dorsale_flyboy_tasks";
157292
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157293
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_tasks';
157294
+  (0.8ms) DELETE FROM "dummy_models";
157295
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157296
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dummy_models';
157297
+  (0.9ms) DELETE FROM "taggings";
157298
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157299
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'taggings';
157300
+  (0.8ms) DELETE FROM "tags";
157301
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157302
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
157303
+  (0.9ms) DELETE FROM "users";
157304
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157305
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
157306
+  (0.1ms) begin transaction
157307
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'romain.pierre@gonzalez.fr' LIMIT 1
157308
+ SQL (0.3ms) INSERT INTO "users" ("is_active", "email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["is_active", "t"], ["email", "romain.pierre@gonzalez.fr"], ["encrypted_password", "$2a$04$98vUOB36OPX08coFLTeHSO3X3XAFijSZkc8AMpcY3bwParrk5sdlq"], ["created_at", "2015-12-08 10:23:32.749861"], ["updated_at", "2015-12-08 10:23:32.749861"]]
157309
+ [ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: e4464c90-ab4d-4a99-8cd5-1378c3c225ed) to Inline(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", gid://dummy/User/1, "password"
157310
+ [ActiveJob] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
157311
+ [ActiveJob] [ActionMailer::DeliveryJob] [e4464c90-ab4d-4a99-8cd5-1378c3c225ed] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", gid://dummy/User/1, "password"
157312
+ [ActiveJob] [ActionMailer::DeliveryJob] [e4464c90-ab4d-4a99-8cd5-1378c3c225ed] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/user_mailer/new_account.html.slim (21.6ms)
157313
+ [ActiveJob] [ActionMailer::DeliveryJob] [e4464c90-ab4d-4a99-8cd5-1378c3c225ed]
157314
+ Dorsale::UserMailer#new_account: processed outbound mail in 329.4ms
157315
+ [ActiveJob] [ActionMailer::DeliveryJob] [e4464c90-ab4d-4a99-8cd5-1378c3c225ed]
157316
+ Sent mail to romain.pierre@gonzalez.fr (8.8ms)
157317
+ [ActiveJob] [ActionMailer::DeliveryJob] [e4464c90-ab4d-4a99-8cd5-1378c3c225ed] Date: Tue, 08 Dec 2015 11:23:33 +0100
157318
+ From: contact@example.org
157319
+ To: romain.pierre@gonzalez.fr
157320
+ Message-ID: <5666afa5216e5_bc043ff95905e208438b1@tiramisu.local.mail>
157321
+ Subject: Nouveau compte
157322
+ Mime-Version: 1.0
157323
+ Content-Type: text/html;
157324
+ charset=UTF-8
157325
+ Content-Transfer-Encoding: quoted-printable
157326
+
157327
+ <h1>Nouveau compte cr=C3=A9=C3=A9</h1><h2>F=C3=A9licitation pour la cr=C3=
157328
+ =A9ation de votre compte.</h2><p>Votre login est: romain.pierre@gonzalez.=
157329
+ fr</p><p>Votre mot de passe est: password</p>=
157330
+
157331
+ [ActiveJob] [ActionMailer::DeliveryJob] [e4464c90-ab4d-4a99-8cd5-1378c3c225ed] Performed ActionMailer::DeliveryJob from Inline(mailers) in 338.77ms
157332
+  (2.5ms) commit transaction
157333
+ Started GET "/users/sign_in" for 127.0.0.1 at 2015-12-08 11:23:37 +0100
157334
+ Processing by Devise::SessionsController#new as HTML
157335
+ Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/shared/_links.html.erb (2.0ms)
157336
+ Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/sessions/new.html.erb within layouts/application (37.9ms)
157337
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (5.0ms)
157338
+ Completed 200 OK in 357ms (Views: 351.2ms | ActiveRecord: 0.0ms)
157339
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-08 11:23:37 +0100
157340
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-08 11:23:37 +0100
157341
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff" for 127.0.0.1 at 2015-12-08 11:23:38 +0100
157342
+ Started POST "/users/sign_in" for 127.0.0.1 at 2015-12-08 11:23:40 +0100
157343
+ Processing by Devise::SessionsController#create as HTML
157344
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"romain.pierre@gonzalez.fr", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Connexion", "back_url"=>"http://127.0.0.1:63468/users/sign_in"}
157345
+ User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "romain.pierre@gonzalez.fr"]]
157346
+  (0.1ms) begin transaction
157347
+ SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2015-12-08 10:23:40.711584"], ["current_sign_in_at", "2015-12-08 10:23:40.711584"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2015-12-08 10:23:40.712662"], ["id", 1]]
157348
+  (3.0ms) commit transaction
157349
+ Redirected to http://127.0.0.1:63468/
157350
+ Completed 302 Found in 46ms (ActiveRecord: 4.2ms)
157351
+ Started GET "/" for 127.0.0.1 at 2015-12-08 11:23:40 +0100
157352
+ Processing by HomeController#home as HTML
157353
+ Rendered home/home.html.slim within layouts/application (2.8ms)
157354
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
157355
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms)
157356
+ Completed 200 OK in 20ms (Views: 19.5ms | ActiveRecord: 0.2ms)
157357
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-08 11:23:40 +0100
157358
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-08 11:23:40 +0100
157359
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff" for 127.0.0.1 at 2015-12-08 11:23:40 +0100
157360
+  (0.1ms) begin transaction
157361
+ SQL (0.7ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-12-08 10:23:40.934239"], ["updated_at", "2015-12-08 10:23:40.934239"]]
157362
+  (2.6ms) commit transaction
157363
+  (0.1ms) begin transaction
157364
+ SQL (0.4ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term est quos iste"], ["created_at", "2015-12-08 10:23:40.968971"], ["updated_at", "2015-12-08 10:23:40.968971"]]
157365
+  (2.4ms) commit transaction
157366
+  (0.1ms) begin transaction
157367
+  (0.1ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
157368
+ SQL (0.4ms) INSERT INTO "dorsale_billing_machine_quotations" ("state", "date", "expires_at", "commercial_discount", "vat_amount", "payment_term_id", "id_card_id", "label", "comments", "total_excluding_taxes", "total_including_taxes", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-01-08"], ["commercial_discount", 0.0], ["vat_amount", 0.0], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["comments", "This is the quotation for the software your companie want"], ["total_excluding_taxes", 0.0], ["total_including_taxes", 0.0], ["created_at", "2015-12-08 10:23:40.990518"], ["updated_at", "2015-12-08 10:23:40.990518"], ["unique_index", 1], ["tracking_id", "2014-01"]]
157369
+  (1.0ms) commit transaction
157370
+  (0.1ms) begin transaction
157371
+ SQL (0.4ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "quotation_id", "vat_rate", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["quantity", 1.0], ["unit_price", 9.99], ["quotation_id", 1], ["vat_rate", 20.0], ["total", 9.99], ["created_at", "2015-12-08 10:23:41.003005"], ["updated_at", "2015-12-08 10:23:41.003005"]]
157372
+ Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
157373
+ Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
157374
+ Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
157375
+ SQL (0.1ms) UPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["total_excluding_taxes", 9.99], ["vat_amount", 1.998], ["total_including_taxes", 11.988], ["updated_at", "2015-12-08 10:23:41.010686"], ["id", 1]]
157376
+  (1.1ms) commit transaction
157377
+ Started GET "/dorsale/billing_machine/quotations/1" for 127.0.0.1 at 2015-12-08 11:23:41 +0100
157378
+ Processing by Dorsale::BillingMachine::QuotationsController#show as HTML
157379
+ Parameters: {"id"=>"1"}
157380
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
157381
+ Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
157382
+ Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
157383
+ Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
157384
+ Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
157385
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (10.6ms)
157386
+ Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]]
157387
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (97.8ms)
157388
+ Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1
157389
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (6.4ms)
157390
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (115.8ms)
157391
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (161.7ms)
157392
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (171.4ms)
157393
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms)
157394
+ Completed 200 OK in 225ms (Views: 212.6ms | ActiveRecord: 2.6ms)
157395
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-08 11:23:41 +0100
157396
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-08 11:23:41 +0100
157397
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff" for 127.0.0.1 at 2015-12-08 11:23:41 +0100
157398
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices"
157399
+ Started GET "/dorsale/billing_machine/quotations/1/create_invoice" for 127.0.0.1 at 2015-12-08 11:23:41 +0100
157400
+ Processing by Dorsale::BillingMachine::QuotationsController#create_invoice as HTML
157401
+ Parameters: {"id"=>"1"}
157402
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
157403
+ Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
157404
+ Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
157405
+ Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
157406
+ Dorsale::BillingMachine::QuotationLine Load (0.1ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
157407
+ Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards"
157408
+ Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
157409
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.7ms)
157410
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms)
157411
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (3.7ms)
157412
+ Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms"
157413
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (62.1ms)
157414
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (70.8ms)
157415
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms)
157416
+ Completed 200 OK in 113ms (Views: 79.9ms | ActiveRecord: 2.2ms)
157417
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-08 11:23:41 +0100
157418
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-08 11:23:41 +0100
157419
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff" for 127.0.0.1 at 2015-12-08 11:23:41 +0100
157420
+ Started POST "/dorsale/billing_machine/invoices" for 127.0.0.1 at 2015-12-08 11:23:41 +0100
157421
+ Processing by Dorsale::BillingMachine::InvoicesController#create as HTML
157422
+ Parameters: {"utf8"=>"✓", "invoice"=>{"id_card_id"=>"1", "label"=>"Software service", "date"=>"08/12/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"1,00", "unit"=>"", "unit_price"=>"9,99"}}, "payment_term_id"=>"1", "due_date"=>"07/01/2016", "paid"=>"false", "commercial_discount"=>"0,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://127.0.0.1:63468/dorsale/billing_machine/quotations/1/create_invoice"}
157423
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
157424
+ Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
157425
+ Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
157426
+  (0.1ms) begin transaction
157427
+ Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
157428
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
157429
+ SQL (0.4ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "payment_term_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["payment_term_id", 1], ["label", "Software service"], ["paid", "f"], ["date", "2015-12-08"], ["commercial_discount", 0.0], ["advance", 0.0], ["due_date", "2016-01-07"], ["vat_amount", 1.998], ["total_excluding_taxes", 9.99], ["total_including_taxes", 11.988], ["balance", 11.988], ["created_at", "2015-12-08 10:23:41.830880"], ["updated_at", "2015-12-08 10:23:41.830880"], ["unique_index", 1], ["tracking_id", "2015-01"]]
157430
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 1.0], ["unit", ""], ["unit_price", 9.99], ["vat_rate", 20.0], ["total", 9.99], ["invoice_id", 1], ["created_at", "2015-12-08 10:23:41.833755"], ["updated_at", "2015-12-08 10:23:41.833755"]]
157431
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
157432
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
157433
+ Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
157434
+  (2.4ms) commit transaction
157435
+ Redirected to http://127.0.0.1:63468/dorsale/billing_machine/invoices
157436
+ Completed 302 Found in 19ms (ActiveRecord: 3.9ms)
157437
+ Started GET "/dorsale/billing_machine/invoices" for 127.0.0.1 at 2015-12-08 11:23:41 +0100
157438
+ Processing by Dorsale::BillingMachine::InvoicesController#index as HTML
157439
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
157440
+ Dorsale::CustomerVault::Individual Load (0.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
157441
+ Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
157442
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (13.0ms)
157443
+ Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC
157444
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (8.2ms)
157445
+ Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0
157446
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (17.7ms)
157447
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices"
157448
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (4.4ms)
157449
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (78.6ms)
157450
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms)
157451
+ Completed 200 OK in 106ms (Views: 97.5ms | ActiveRecord: 0.9ms)
157452
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-08 11:23:41 +0100
157453
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-08 11:23:41 +0100
157454
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff" for 127.0.0.1 at 2015-12-08 11:23:42 +0100
157455
+  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices"
157456
+ Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."id" DESC LIMIT 1
157457
+  (2.8ms) DELETE FROM "dorsale_addresses";
157458
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157459
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_addresses';
157460
+  (0.9ms) DELETE FROM "dorsale_alexandrie_attachments";
157461
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157462
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_alexandrie_attachments';
157463
+  (0.9ms) DELETE FROM "dorsale_billing_machine_id_cards";
157464
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157465
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_id_cards';
157466
+  (0.8ms) DELETE FROM "dorsale_billing_machine_invoice_lines";
157467
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157468
+  (1.0ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoice_lines';
157469
+  (1.3ms) DELETE FROM "dorsale_billing_machine_invoices";
157470
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157471
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoices';
157472
+  (0.8ms) DELETE FROM "dorsale_billing_machine_payment_terms";
157473
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157474
+  (1.3ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_payment_terms';
157475
+  (0.9ms) DELETE FROM "dorsale_billing_machine_quotation_lines";
157476
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157477
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotation_lines';
157478
+  (1.1ms) DELETE FROM "dorsale_billing_machine_quotations";
157479
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157480
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotations';
157481
+  (0.9ms) DELETE FROM "dorsale_comments";
157482
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157483
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_comments';
157484
+  (1.5ms) DELETE FROM "dorsale_customer_vault_corporations";
157485
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157486
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_corporations';
157487
+  (1.0ms) DELETE FROM "dorsale_customer_vault_individuals";
157488
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157489
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_individuals';
157490
+  (1.2ms) DELETE FROM "dorsale_customer_vault_links";
157491
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157492
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_links';
157493
+  (0.9ms) DELETE FROM "dorsale_flyboy_folders";
157494
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157495
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';
157496
+  (0.8ms) DELETE FROM "dorsale_flyboy_task_comments";
157497
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157498
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_task_comments';
157499
+  (0.9ms) DELETE FROM "dorsale_flyboy_tasks";
157500
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157501
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_tasks';
157502
+  (0.9ms) DELETE FROM "dummy_models";
157503
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157504
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dummy_models';
157505
+  (1.0ms) DELETE FROM "taggings";
157506
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157507
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'taggings';
157508
+  (0.8ms) DELETE FROM "tags";
157509
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157510
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
157511
+  (0.8ms) DELETE FROM "users";
157512
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157513
+  (0.7ms) DELETE FROM sqlite_sequence where name = 'users';
157514
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
157515
+  (3.1ms) DELETE FROM "dorsale_addresses";
157516
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157517
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_addresses';
157518
+  (0.8ms) DELETE FROM "dorsale_alexandrie_attachments";
157519
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157520
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_alexandrie_attachments';
157521
+  (0.8ms) DELETE FROM "dorsale_billing_machine_id_cards";
157522
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157523
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_id_cards';
157524
+  (0.8ms) DELETE FROM "dorsale_billing_machine_invoice_lines";
157525
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157526
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoice_lines';
157527
+  (1.0ms) DELETE FROM "dorsale_billing_machine_invoices";
157528
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157529
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoices';
157530
+  (0.8ms) DELETE FROM "dorsale_billing_machine_payment_terms";
157531
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157532
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_payment_terms';
157533
+  (1.1ms) DELETE FROM "dorsale_billing_machine_quotation_lines";
157534
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157535
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotation_lines';
157536
+  (1.0ms) DELETE FROM "dorsale_billing_machine_quotations";
157537
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157538
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotations';
157539
+  (1.0ms) DELETE FROM "dorsale_comments";
157540
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157541
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_comments';
157542
+  (0.9ms) DELETE FROM "dorsale_customer_vault_corporations";
157543
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157544
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_corporations';
157545
+  (0.7ms) DELETE FROM "dorsale_customer_vault_individuals";
157546
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157547
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_individuals';
157548
+  (1.1ms) DELETE FROM "dorsale_customer_vault_links";
157549
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157550
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_links';
157551
+  (0.9ms) DELETE FROM "dorsale_flyboy_folders";
157552
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157553
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';
157554
+  (1.0ms) DELETE FROM "dorsale_flyboy_task_comments";
157555
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157556
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_task_comments';
157557
+  (0.8ms) DELETE FROM "dorsale_flyboy_tasks";
157558
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157559
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_tasks';
157560
+  (0.8ms) DELETE FROM "dummy_models";
157561
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157562
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dummy_models';
157563
+  (0.9ms) DELETE FROM "taggings";
157564
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157565
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'taggings';
157566
+  (0.8ms) DELETE FROM "tags";
157567
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157568
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
157569
+  (1.0ms) DELETE FROM "users";
157570
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157571
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
157572
+  (0.1ms) begin transaction
157573
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'malys@henry.fr' LIMIT 1
157574
+ SQL (0.4ms) INSERT INTO "users" ("is_active", "email", "encrypted_password", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["is_active", "t"], ["email", "malys@henry.fr"], ["encrypted_password", "$2a$04$rh8SNfLs/O6wo6FmEAli/OkHxcoNI1I/4awdqI9WCBms65tGQMCYS"], ["created_at", "2015-12-08 10:24:34.133761"], ["updated_at", "2015-12-08 10:24:34.133761"]]
157575
+ [ActiveJob] Enqueued ActionMailer::DeliveryJob (Job ID: e52c01c1-e3c8-43d9-9f92-464c543b02ad) to Inline(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", gid://dummy/User/1, "password"
157576
+ [ActiveJob] User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
157577
+ [ActiveJob] [ActionMailer::DeliveryJob] [e52c01c1-e3c8-43d9-9f92-464c543b02ad] Performing ActionMailer::DeliveryJob from Inline(mailers) with arguments: "Dorsale::UserMailer", "new_account", "deliver_now", gid://dummy/User/1, "password"
157578
+ [ActiveJob] [ActionMailer::DeliveryJob] [e52c01c1-e3c8-43d9-9f92-464c543b02ad] Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/user_mailer/new_account.html.slim (22.7ms)
157579
+ [ActiveJob] [ActionMailer::DeliveryJob] [e52c01c1-e3c8-43d9-9f92-464c543b02ad]
157580
+ Dorsale::UserMailer#new_account: processed outbound mail in 329.0ms
157581
+ [ActiveJob] [ActionMailer::DeliveryJob] [e52c01c1-e3c8-43d9-9f92-464c543b02ad]
157582
+ Sent mail to malys@henry.fr (8.7ms)
157583
+ [ActiveJob] [ActionMailer::DeliveryJob] [e52c01c1-e3c8-43d9-9f92-464c543b02ad] Date: Tue, 08 Dec 2015 11:24:34 +0100
157584
+ From: contact@example.org
157585
+ To: malys@henry.fr
157586
+ Message-ID: <5666afe27f6c9_bc423ffa5d45e204406e6@tiramisu.local.mail>
157587
+ Subject: Nouveau compte
157588
+ Mime-Version: 1.0
157589
+ Content-Type: text/html;
157590
+ charset=UTF-8
157591
+ Content-Transfer-Encoding: quoted-printable
157592
+
157593
+ <h1>Nouveau compte cr=C3=A9=C3=A9</h1><h2>F=C3=A9licitation pour la cr=C3=
157594
+ =A9ation de votre compte.</h2><p>Votre login est: malys@henry.fr</p><p>Vo=
157595
+ tre mot de passe est: password</p>=
157596
+
157597
+ [ActiveJob] [ActionMailer::DeliveryJob] [e52c01c1-e3c8-43d9-9f92-464c543b02ad] Performed ActionMailer::DeliveryJob from Inline(mailers) in 338.35ms
157598
+  (2.6ms) commit transaction
157599
+ Started GET "/users/sign_in" for 127.0.0.1 at 2015-12-08 11:24:38 +0100
157600
+ Processing by Devise::SessionsController#new as HTML
157601
+ Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/shared/_links.html.erb (2.4ms)
157602
+ Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/devise-bootstrap-views-0.0.6/app/views/devise/sessions/new.html.erb within layouts/application (39.0ms)
157603
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (5.0ms)
157604
+ Completed 200 OK in 359ms (Views: 351.7ms | ActiveRecord: 0.0ms)
157605
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-08 11:24:38 +0100
157606
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-08 11:24:38 +0100
157607
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff" for 127.0.0.1 at 2015-12-08 11:24:39 +0100
157608
+ Started POST "/users/sign_in" for 127.0.0.1 at 2015-12-08 11:24:41 +0100
157609
+ Processing by Devise::SessionsController#create as HTML
157610
+ Parameters: {"utf8"=>"✓", "user"=>{"email"=>"malys@henry.fr", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Connexion", "back_url"=>"http://127.0.0.1:63481/users/sign_in"}
157611
+ User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."email" = ? ORDER BY "users"."id" ASC LIMIT 1 [["email", "malys@henry.fr"]]
157612
+  (0.1ms) begin transaction
157613
+ SQL (0.4ms) UPDATE "users" SET "last_sign_in_at" = ?, "current_sign_in_at" = ?, "last_sign_in_ip" = ?, "current_sign_in_ip" = ?, "sign_in_count" = ?, "updated_at" = ? WHERE "users"."id" = ? [["last_sign_in_at", "2015-12-08 10:24:41.743335"], ["current_sign_in_at", "2015-12-08 10:24:41.743335"], ["last_sign_in_ip", "127.0.0.1"], ["current_sign_in_ip", "127.0.0.1"], ["sign_in_count", 1], ["updated_at", "2015-12-08 10:24:41.744237"], ["id", 1]]
157614
+  (3.0ms) commit transaction
157615
+ Redirected to http://127.0.0.1:63481/
157616
+ Completed 302 Found in 44ms (ActiveRecord: 4.3ms)
157617
+ Started GET "/" for 127.0.0.1 at 2015-12-08 11:24:41 +0100
157618
+ Processing by HomeController#home as HTML
157619
+ Rendered home/home.html.slim within layouts/application (2.7ms)
157620
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
157621
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms)
157622
+ Completed 200 OK in 22ms (Views: 21.0ms | ActiveRecord: 0.3ms)
157623
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-08 11:24:41 +0100
157624
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-08 11:24:41 +0100
157625
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff" for 127.0.0.1 at 2015-12-08 11:24:41 +0100
157626
+  (0.1ms) begin transaction
157627
+ SQL (0.4ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-12-08 10:24:41.965850"], ["updated_at", "2015-12-08 10:24:41.965850"]]
157628
+  (1.5ms) commit transaction
157629
+  (0.1ms) begin transaction
157630
+ SQL (0.4ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term aperiam laborum placeat"], ["created_at", "2015-12-08 10:24:41.997919"], ["updated_at", "2015-12-08 10:24:41.997919"]]
157631
+  (2.2ms) commit transaction
157632
+  (0.1ms) begin transaction
157633
+  (0.1ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
157634
+ SQL (0.4ms) INSERT INTO "dorsale_billing_machine_quotations" ("state", "date", "expires_at", "commercial_discount", "vat_amount", "payment_term_id", "id_card_id", "label", "comments", "total_excluding_taxes", "total_including_taxes", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-01-08"], ["commercial_discount", 0.0], ["vat_amount", 0.0], ["payment_term_id", 1], ["id_card_id", 1], ["label", "Software service"], ["comments", "This is the quotation for the software your companie want"], ["total_excluding_taxes", 0.0], ["total_including_taxes", 0.0], ["created_at", "2015-12-08 10:24:42.021154"], ["updated_at", "2015-12-08 10:24:42.021154"], ["unique_index", 1], ["tracking_id", "2014-01"]]
157635
+  (1.0ms) commit transaction
157636
+  (0.1ms) begin transaction
157637
+ SQL (0.5ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "quotation_id", "vat_rate", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["quantity", 1.0], ["unit_price", 9.99], ["quotation_id", 1], ["vat_rate", 20.0], ["total", 9.99], ["created_at", "2015-12-08 10:24:42.033798"], ["updated_at", "2015-12-08 10:24:42.033798"]]
157638
+ Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
157639
+ Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
157640
+ Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
157641
+ SQL (0.2ms) UPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["total_excluding_taxes", 9.99], ["vat_amount", 1.998], ["total_including_taxes", 11.988], ["updated_at", "2015-12-08 10:24:42.043496"], ["id", 1]]
157642
+  (0.9ms) commit transaction
157643
+ Started GET "/dorsale/billing_machine/quotations/1" for 127.0.0.1 at 2015-12-08 11:24:42 +0100
157644
+ Processing by Dorsale::BillingMachine::QuotationsController#show as HTML
157645
+ Parameters: {"id"=>"1"}
157646
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
157647
+ Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
157648
+ Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
157649
+ Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
157650
+ Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
157651
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (11.2ms)
157652
+ Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]]
157653
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form.html.slim (102.7ms)
157654
+ Dorsale::Alexandrie::Attachment Load (0.2ms) SELECT "dorsale_alexandrie_attachments".* FROM "dorsale_alexandrie_attachments" WHERE "dorsale_alexandrie_attachments"."attachable_type" = 'Dorsale::BillingMachine::Quotation' AND "dorsale_alexandrie_attachments"."attachable_id" = 1
157655
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_list.html.slim (5.3ms)
157656
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/alexandrie/attachments/_form_and_list.html.slim (118.8ms)
157657
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (166.7ms)
157658
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/show.html.slim within layouts/application (176.6ms)
157659
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms)
157660
+ Completed 200 OK in 228ms (Views: 215.2ms | ActiveRecord: 2.3ms)
157661
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-08 11:24:42 +0100
157662
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-08 11:24:42 +0100
157663
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff" for 127.0.0.1 at 2015-12-08 11:24:42 +0100
157664
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices"
157665
+ Started GET "/dorsale/billing_machine/quotations/1/create_invoice" for 127.0.0.1 at 2015-12-08 11:24:42 +0100
157666
+ Processing by Dorsale::BillingMachine::QuotationsController#create_invoice as HTML
157667
+ Parameters: {"id"=>"1"}
157668
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
157669
+ Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
157670
+ Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
157671
+ Dorsale::BillingMachine::Quotation Load (0.1ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
157672
+ Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
157673
+ Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards"
157674
+ Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
157675
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.7ms)
157676
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms)
157677
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/quotations/_line_fields.html.slim (4.0ms)
157678
+ Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms"
157679
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (69.5ms)
157680
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/new.html.slim within layouts/application (78.1ms)
157681
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms)
157682
+ Completed 200 OK in 121ms (Views: 87.8ms | ActiveRecord: 2.3ms)
157683
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-08 11:24:42 +0100
157684
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-08 11:24:42 +0100
157685
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff" for 127.0.0.1 at 2015-12-08 11:24:42 +0100
157686
+ Started POST "/dorsale/billing_machine/invoices" for 127.0.0.1 at 2015-12-08 11:24:42 +0100
157687
+ Processing by Dorsale::BillingMachine::InvoicesController#create as HTML
157688
+ Parameters: {"utf8"=>"✓", "invoice"=>{"id_card_id"=>"1", "label"=>"Software service", "date"=>"08/12/2015", "customer_guid"=>"", "lines_attributes"=>{"0"=>{"_destroy"=>"false", "label"=>"", "quantity"=>"1,00", "unit"=>"", "unit_price"=>"9,99"}}, "payment_term_id"=>"1", "due_date"=>"07/01/2016", "paid"=>"false", "commercial_discount"=>"0,00", "vat_rate"=>"20,00", "advance"=>"0,00"}, "back_url"=>"http://127.0.0.1:63481/dorsale/billing_machine/quotations/1/create_invoice"}
157689
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
157690
+ Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
157691
+ Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
157692
+  (0.1ms) begin transaction
157693
+ Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
157694
+  (0.1ms) SELECT "dorsale_billing_machine_invoices"."unique_index" FROM "dorsale_billing_machine_invoices"
157695
+ SQL (0.4ms) INSERT INTO "dorsale_billing_machine_invoices" ("id_card_id", "payment_term_id", "label", "paid", "date", "commercial_discount", "advance", "due_date", "vat_amount", "total_excluding_taxes", "total_including_taxes", "balance", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_id", 1], ["payment_term_id", 1], ["label", "Software service"], ["paid", "f"], ["date", "2015-12-08"], ["commercial_discount", 0.0], ["advance", 0.0], ["due_date", "2016-01-07"], ["vat_amount", 1.998], ["total_excluding_taxes", 9.99], ["total_including_taxes", 11.988], ["balance", 11.988], ["created_at", "2015-12-08 10:24:42.871434"], ["updated_at", "2015-12-08 10:24:42.871434"], ["unique_index", 1], ["tracking_id", "2015-01"]]
157696
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_invoice_lines" ("label", "quantity", "unit", "unit_price", "vat_rate", "total", "invoice_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["label", ""], ["quantity", 1.0], ["unit", ""], ["unit_price", 9.99], ["vat_rate", 20.0], ["total", 9.99], ["invoice_id", 1], ["created_at", "2015-12-08 10:24:42.874377"], ["updated_at", "2015-12-08 10:24:42.874377"]]
157697
+ Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]]
157698
+ Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]]
157699
+ Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
157700
+  (2.7ms) commit transaction
157701
+ Redirected to http://127.0.0.1:63481/dorsale/billing_machine/invoices
157702
+ Completed 302 Found in 21ms (ActiveRecord: 4.3ms)
157703
+ Started GET "/dorsale/billing_machine/invoices" for 127.0.0.1 at 2015-12-08 11:24:42 +0100
157704
+ Processing by Dorsale::BillingMachine::InvoicesController#index as HTML
157705
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
157706
+ Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals"
157707
+ Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations"
157708
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (12.8ms)
157709
+ Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC
157710
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_data_context.html.slim (8.2ms)
157711
+ Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0
157712
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (18.8ms)
157713
+  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices"
157714
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_contextual.html.slim (4.0ms)
157715
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (76.3ms)
157716
+ Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms)
157717
+ Completed 200 OK in 105ms (Views: 95.9ms | ActiveRecord: 1.0ms)
157718
+ Started GET "/assets/application.js" for 127.0.0.1 at 2015-12-08 11:24:43 +0100
157719
+ Started GET "/assets/application.css" for 127.0.0.1 at 2015-12-08 11:24:43 +0100
157720
+ Started GET "/assets/font-awesome/fontawesome-webfont.woff" for 127.0.0.1 at 2015-12-08 11:24:43 +0100
157721
+  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices"
157722
+ Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."id" DESC LIMIT 1
157723
+  (2.7ms) DELETE FROM "dorsale_addresses";
157724
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157725
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_addresses';
157726
+  (0.9ms) DELETE FROM "dorsale_alexandrie_attachments";
157727
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157728
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_alexandrie_attachments';
157729
+  (0.8ms) DELETE FROM "dorsale_billing_machine_id_cards";
157730
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157731
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_id_cards';
157732
+  (0.8ms) DELETE FROM "dorsale_billing_machine_invoice_lines";
157733
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157734
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoice_lines';
157735
+  (1.3ms) DELETE FROM "dorsale_billing_machine_invoices";
157736
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157737
+  (1.2ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_invoices';
157738
+  (0.9ms) DELETE FROM "dorsale_billing_machine_payment_terms";
157739
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157740
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_payment_terms';
157741
+  (0.8ms) DELETE FROM "dorsale_billing_machine_quotation_lines";
157742
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157743
+  (0.9ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotation_lines';
157744
+  (1.7ms) DELETE FROM "dorsale_billing_machine_quotations";
157745
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157746
+  (1.5ms) DELETE FROM sqlite_sequence where name = 'dorsale_billing_machine_quotations';
157747
+  (0.8ms) DELETE FROM "dorsale_comments";
157748
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157749
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_comments';
157750
+  (0.9ms) DELETE FROM "dorsale_customer_vault_corporations";
157751
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157752
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_corporations';
157753
+  (0.9ms) DELETE FROM "dorsale_customer_vault_individuals";
157754
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157755
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_individuals';
157756
+  (1.1ms) DELETE FROM "dorsale_customer_vault_links";
157757
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157758
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_customer_vault_links';
157759
+  (0.8ms) DELETE FROM "dorsale_flyboy_folders";
157760
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157761
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_folders';
157762
+  (0.8ms) DELETE FROM "dorsale_flyboy_task_comments";
157763
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157764
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_task_comments';
157765
+  (0.9ms) DELETE FROM "dorsale_flyboy_tasks";
157766
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157767
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dorsale_flyboy_tasks';
157768
+  (0.8ms) DELETE FROM "dummy_models";
157769
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157770
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'dummy_models';
157771
+  (0.9ms) DELETE FROM "taggings";
157772
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157773
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'taggings';
157774
+  (0.9ms) DELETE FROM "tags";
157775
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157776
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'tags';
157777
+  (0.9ms) DELETE FROM "users";
157778
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
157779
+  (0.8ms) DELETE FROM sqlite_sequence where name = 'users';
157780
+ ActiveRecord::SchemaMigration Load (30.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
157781
+  (0.2ms) begin transaction
157782
+  (0.1ms) SAVEPOINT active_record_1
157783
+ SQL (0.6ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Girard et Morin EI"], ["short_name", "SN"], ["email", "maeva.thomas@chevalier.fr"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://marchand.net/gabriel.rolland"], ["created_at", "2015-12-08 10:33:28.769074"], ["updated_at", "2015-12-08 10:33:28.769074"]]
157784
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157785
+  (0.2ms) SAVEPOINT active_record_1
157786
+ SQL (0.5ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-12-08 10:33:28.804261"], ["updated_at", "2015-12-08 10:33:28.804261"]]
157787
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157788
+  (0.1ms) SAVEPOINT active_record_1
157789
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term delectus at est"], ["created_at", "2015-12-08 10:33:28.810719"], ["updated_at", "2015-12-08 10:33:28.810719"]]
157790
+  (0.0ms) RELEASE SAVEPOINT active_record_1
157791
+  (0.1ms) SAVEPOINT active_record_1
157792
+ SQL (0.3ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-12-08 10:33:28.845397"], ["updated_at", "2015-12-08 10:33:28.845397"]]
157793
+  (0.0ms) RELEASE SAVEPOINT active_record_1
157794
+  (0.2ms) SAVEPOINT active_record_1
157795
+  (0.1ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
157796
+ SQL (0.3ms) INSERT INTO "dorsale_billing_machine_quotations" ("state", "date", "expires_at", "commercial_discount", "vat_amount", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "comments", "total_excluding_taxes", "total_including_taxes", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-01-08"], ["commercial_discount", 0.0], ["vat_amount", 0.0], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "ABC"], ["comments", "This is the quotation for the software your companie want"], ["total_excluding_taxes", 0.0], ["total_including_taxes", 0.0], ["created_at", "2015-12-08 10:33:28.871679"], ["updated_at", "2015-12-08 10:33:28.871679"], ["unique_index", 1], ["tracking_id", "2014-01"]]
157797
+  (0.0ms) RELEASE SAVEPOINT active_record_1
157798
+  (0.2ms) SAVEPOINT active_record_1
157799
+ SQL (0.4ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["quantity", 10.0], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "DEF"], ["unit", "€"], ["total", 200.0], ["created_at", "2015-12-08 10:33:28.886279"], ["updated_at", "2015-12-08 10:33:28.886279"]]
157800
+ Dorsale::BillingMachine::Quotation Load (0.4ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
157801
+ Dorsale::BillingMachine::QuotationLine Load (0.3ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
157802
+ Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
157803
+ SQL (0.2ms) UPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["total_excluding_taxes", 200.0], ["vat_amount", 40.0], ["total_including_taxes", 240.0], ["updated_at", "2015-12-08 10:33:28.907544"], ["id", 1]]
157804
+  (0.2ms) RELEASE SAVEPOINT active_record_1
157805
+  (1.0ms) rollback transaction
157806
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
157807
+  (0.2ms) begin transaction
157808
+  (0.1ms) SAVEPOINT active_record_1
157809
+ SQL (1.0ms) INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Muller SAS SEM"], ["short_name", "SN"], ["email", "lou.collet@petit.net"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://garnier.fr/clment_lefebvre"], ["created_at", "2015-12-08 10:33:49.462255"], ["updated_at", "2015-12-08 10:33:49.462255"]]
157810
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157811
+  (0.1ms) SAVEPOINT active_record_1
157812
+ SQL (0.5ms) INSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["street", "3 Rue Marx Dormoy"], ["street_bis", "1er étage"], ["city", "Marseille"], ["zip", "13004"], ["country", "France"], ["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"], ["created_at", "2015-12-08 10:33:49.492100"], ["updated_at", "2015-12-08 10:33:49.492100"]]
157813
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157814
+  (0.0ms) SAVEPOINT active_record_1
157815
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term sed nihil officiis"], ["created_at", "2015-12-08 10:33:49.497749"], ["updated_at", "2015-12-08 10:33:49.497749"]]
157816
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157817
+  (0.1ms) SAVEPOINT active_record_1
157818
+ SQL (0.3ms) INSERT INTO "dorsale_billing_machine_id_cards" ("id_card_name", "entity_name", "legal_form", "capital", "registration_city", "registration_number", "ape_naf", "address1", "zip", "city", "siret", "intracommunity_vat", "contact_full_name", "contact_phone", "contact_fax", "contact_email", "iban", "bic_swift", "bank_name", "bank_address", "custom_info_1", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["id_card_name", "AGILiDEE"], ["entity_name", "AGILiDEE"], ["legal_form", "SA"], ["capital", 1000000000], ["registration_city", "Gotham City"], ["registration_number", "123456789"], ["ape_naf", "6258"], ["address1", "72 rue du ROR"], ["zip", "72054"], ["city", "Kaukura"], ["siret", "FR 1234569123"], ["intracommunity_vat", "123456789123"], ["contact_full_name", "Bozo LECLOWN"], ["contact_phone", "0400000000"], ["contact_fax", "+33 400000000"], ["contact_email", "bozo_leclown@pinder.com"], ["iban", "FR 456 253 645 459"], ["bic_swift", "PSSTTHEGAME"], ["bank_name", "My Bank Name"], ["bank_address", "My Bank Addresse"], ["custom_info_1", "Long string to trigger a line break and test the layout in the invoice PDF generators"], ["created_at", "2015-12-08 10:33:49.529601"], ["updated_at", "2015-12-08 10:33:49.529601"]]
157819
+  (0.0ms) RELEASE SAVEPOINT active_record_1
157820
+  (0.0ms) SAVEPOINT active_record_1
157821
+  (0.1ms) SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
157822
+ SQL (0.3ms) INSERT INTO "dorsale_billing_machine_quotations" ("state", "date", "expires_at", "commercial_discount", "vat_amount", "customer_id", "customer_type", "payment_term_id", "id_card_id", "label", "comments", "total_excluding_taxes", "total_including_taxes", "created_at", "updated_at", "unique_index", "tracking_id") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-01-08"], ["commercial_discount", 0.0], ["vat_amount", 0.0], ["customer_id", 1], ["customer_type", "Dorsale::CustomerVault::Corporation"], ["payment_term_id", 1], ["id_card_id", 1], ["label", "ABC"], ["comments", "This is the quotation for the software your companie want"], ["total_excluding_taxes", 0.0], ["total_including_taxes", 0.0], ["created_at", "2015-12-08 10:33:49.547893"], ["updated_at", "2015-12-08 10:33:49.547893"], ["unique_index", 1], ["tracking_id", "2014-01"]]
157823
+  (0.0ms) RELEASE SAVEPOINT active_record_1
157824
+  (0.1ms) SAVEPOINT active_record_1
157825
+ SQL (0.2ms) INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["quantity", 10.0], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "DEF"], ["unit", "€"], ["total", 200.0], ["created_at", "2015-12-08 10:33:49.560653"], ["updated_at", "2015-12-08 10:33:49.560653"]]
157826
+ Dorsale::BillingMachine::Quotation Load (0.2ms) SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
157827
+ Dorsale::BillingMachine::QuotationLine Load (0.2ms) SELECT "dorsale_billing_machine_quotation_lines".* FROM "dorsale_billing_machine_quotation_lines" WHERE "dorsale_billing_machine_quotation_lines"."quotation_id" = ? ORDER BY "dorsale_billing_machine_quotation_lines"."created_at" ASC [["quotation_id", 1]]
157828
+ Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
157829
+ SQL (0.2ms) UPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ? [["total_excluding_taxes", 200.0], ["vat_amount", 40.0], ["total_including_taxes", 240.0], ["updated_at", "2015-12-08 10:33:49.574693"], ["id", 1]]
157830
+  (0.1ms) RELEASE SAVEPOINT active_record_1
157831
+  (2.2ms) rollback transaction