dorsale 2.3.2 → 2.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/dorsale/datepicker.coffee +2 -0
- data/app/helpers/dorsale/all_helpers.rb +4 -0
- data/app/helpers/dorsale/form_helper.rb +4 -3
- data/lib/dorsale/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +422 -0
- data/spec/dummy/log/test.log +3072 -0
- data/spec/helpers/dorsale/form_helper_spec.rb +11 -0
- data/spec/helpers/dorsale/text_helper_spec.rb +4 -0
- metadata +6 -2
@@ -0,0 +1,3072 @@
|
|
1
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2
|
+
[1m[36m (1.3ms)[0m [1mCREATE 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) [0m
|
3
|
+
[1m[35m (0.9ms)[0m 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)
|
4
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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) [0m
|
5
|
+
[1m[35m (1.0ms)[0m 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)
|
6
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
7
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")
|
8
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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, "comments" text) [0m
|
9
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")
|
10
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
11
|
+
FROM sqlite_master
|
12
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
13
|
+
UNION ALL
|
14
|
+
SELECT sql
|
15
|
+
FROM sqlite_temp_master
|
16
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
17
|
+
[0m
|
18
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")
|
19
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
20
|
+
FROM sqlite_master
|
21
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
22
|
+
UNION ALL
|
23
|
+
SELECT sql
|
24
|
+
FROM sqlite_temp_master
|
25
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
26
|
+
[0m
|
27
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
28
|
+
FROM sqlite_master
|
29
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
30
|
+
UNION ALL
|
31
|
+
SELECT sql
|
32
|
+
FROM sqlite_temp_master
|
33
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
34
|
+
|
35
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")[0m
|
36
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
37
|
+
FROM sqlite_master
|
38
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
|
39
|
+
UNION ALL
|
40
|
+
SELECT sql
|
41
|
+
FROM sqlite_temp_master
|
42
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
|
43
|
+
|
44
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
45
|
+
FROM sqlite_master
|
46
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
47
|
+
UNION ALL
|
48
|
+
SELECT sql
|
49
|
+
FROM sqlite_temp_master
|
50
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
51
|
+
[0m
|
52
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
53
|
+
FROM sqlite_master
|
54
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
55
|
+
UNION ALL
|
56
|
+
SELECT sql
|
57
|
+
FROM sqlite_temp_master
|
58
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
59
|
+
|
60
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")[0m
|
61
|
+
[1m[35m (1.0ms)[0m 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)
|
62
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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) [0m
|
63
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")
|
64
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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) [0m
|
65
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")
|
66
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
67
|
+
FROM sqlite_master
|
68
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
69
|
+
UNION ALL
|
70
|
+
SELECT sql
|
71
|
+
FROM sqlite_temp_master
|
72
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
73
|
+
[0m
|
74
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")
|
75
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
76
|
+
FROM sqlite_master
|
77
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
78
|
+
UNION ALL
|
79
|
+
SELECT sql
|
80
|
+
FROM sqlite_temp_master
|
81
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
82
|
+
[0m
|
83
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
84
|
+
FROM sqlite_master
|
85
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
86
|
+
UNION ALL
|
87
|
+
SELECT sql
|
88
|
+
FROM sqlite_temp_master
|
89
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
90
|
+
|
91
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")[0m
|
92
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
93
|
+
FROM sqlite_master
|
94
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
|
95
|
+
UNION ALL
|
96
|
+
SELECT sql
|
97
|
+
FROM sqlite_temp_master
|
98
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
|
99
|
+
|
100
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
101
|
+
FROM sqlite_master
|
102
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
103
|
+
UNION ALL
|
104
|
+
SELECT sql
|
105
|
+
FROM sqlite_temp_master
|
106
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
107
|
+
[0m
|
108
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
109
|
+
FROM sqlite_master
|
110
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
111
|
+
UNION ALL
|
112
|
+
SELECT sql
|
113
|
+
FROM sqlite_temp_master
|
114
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
115
|
+
|
116
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")[0m
|
117
|
+
[1m[35m (1.0ms)[0m 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)
|
118
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" text, "phone" varchar, "fax" varchar, "www" text, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "european_union_vat_number" varchar) [0m
|
119
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" text, "title" varchar, "twitter" varchar, "www" text, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)
|
120
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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) [0m
|
121
|
+
[1m[35m (1.3ms)[0m CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")
|
122
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
123
|
+
FROM sqlite_master
|
124
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
125
|
+
UNION ALL
|
126
|
+
SELECT sql
|
127
|
+
FROM sqlite_temp_master
|
128
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
129
|
+
[0m
|
130
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")
|
131
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
132
|
+
FROM sqlite_master
|
133
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
134
|
+
UNION ALL
|
135
|
+
SELECT sql
|
136
|
+
FROM sqlite_temp_master
|
137
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
138
|
+
[0m
|
139
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
140
|
+
FROM sqlite_master
|
141
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
142
|
+
UNION ALL
|
143
|
+
SELECT sql
|
144
|
+
FROM sqlite_temp_master
|
145
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
146
|
+
|
147
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")[0m
|
148
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
149
|
+
FROM sqlite_master
|
150
|
+
WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
|
151
|
+
UNION ALL
|
152
|
+
SELECT sql
|
153
|
+
FROM sqlite_temp_master
|
154
|
+
WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
|
155
|
+
|
156
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
157
|
+
FROM sqlite_master
|
158
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
159
|
+
UNION ALL
|
160
|
+
SELECT sql
|
161
|
+
FROM sqlite_temp_master
|
162
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
163
|
+
[0m
|
164
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
165
|
+
FROM sqlite_master
|
166
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
167
|
+
UNION ALL
|
168
|
+
SELECT sql
|
169
|
+
FROM sqlite_temp_master
|
170
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
171
|
+
|
172
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")[0m
|
173
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "dorsale_expense_gun_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "vat_deductible" boolean)
|
174
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "dorsale_expense_gun_expense_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "expense_id" integer, "category_id" integer, "name" varchar, "date" date, "total_all_taxes" float, "vat" float, "company_part" float, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
175
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_category_id" ON "dorsale_expense_gun_expense_lines" ("category_id")
|
176
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
177
|
+
FROM sqlite_master
|
178
|
+
WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'
|
179
|
+
UNION ALL
|
180
|
+
SELECT sql
|
181
|
+
FROM sqlite_temp_master
|
182
|
+
WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'
|
183
|
+
[0m
|
184
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_expense_id" ON "dorsale_expense_gun_expense_lines" ("expense_id")
|
185
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "dorsale_expense_gun_expenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" varchar, "date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
186
|
+
[1m[35m (1.1ms)[0m 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)
|
187
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")[0m
|
188
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
189
|
+
FROM sqlite_master
|
190
|
+
WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
|
191
|
+
UNION ALL
|
192
|
+
SELECT sql
|
193
|
+
FROM sqlite_temp_master
|
194
|
+
WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
|
195
|
+
|
196
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")[0m
|
197
|
+
[1m[35m (1.1ms)[0m 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)
|
198
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")[0m
|
199
|
+
[1m[35m (1.1ms)[0m 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)
|
200
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")[0m
|
201
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
202
|
+
FROM sqlite_master
|
203
|
+
WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
|
204
|
+
UNION ALL
|
205
|
+
SELECT sql
|
206
|
+
FROM sqlite_temp_master
|
207
|
+
WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
|
208
|
+
|
209
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")[0m
|
210
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
211
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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) [0m
|
212
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")
|
213
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
214
|
+
FROM sqlite_master
|
215
|
+
WHERE name='taggings_idx' AND type='index'
|
216
|
+
UNION ALL
|
217
|
+
SELECT sql
|
218
|
+
FROM sqlite_temp_master
|
219
|
+
WHERE name='taggings_idx' AND type='index'
|
220
|
+
[0m
|
221
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
|
222
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0) [0m
|
223
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")
|
224
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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, "avatar" varchar) [0m
|
225
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
226
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
227
|
+
FROM sqlite_master
|
228
|
+
WHERE name='index_users_on_email' AND type='index'
|
229
|
+
UNION ALL
|
230
|
+
SELECT sql
|
231
|
+
FROM sqlite_temp_master
|
232
|
+
WHERE name='index_users_on_email' AND type='index'
|
233
|
+
[0m
|
234
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
235
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
236
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
237
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
238
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160125201025')
|
239
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150616082916')[0m
|
240
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')
|
241
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150624081205')[0m
|
242
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')
|
243
|
+
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150624081207')[0m
|
244
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')
|
245
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150803160334')[0m
|
246
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
247
|
+
[1m[36m (2.7ms)[0m [1mDROP TABLE "dorsale_addresses"[0m
|
248
|
+
[1m[35m (1.1ms)[0m 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)
|
249
|
+
[1m[36m (1.2ms)[0m [1mDROP TABLE "dorsale_alexandrie_attachments"[0m
|
250
|
+
[1m[35m (1.0ms)[0m 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)
|
251
|
+
[1m[36m (1.1ms)[0m [1mDROP TABLE "dorsale_billing_machine_id_cards"[0m
|
252
|
+
[1m[35m (1.5ms)[0m 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)
|
253
|
+
[1m[36m (1.2ms)[0m [1mDROP TABLE "dorsale_billing_machine_invoice_lines"[0m
|
254
|
+
[1m[35m (1.1ms)[0m 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)
|
255
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
256
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")
|
257
|
+
[1m[36m (2.4ms)[0m [1mDROP TABLE "dorsale_billing_machine_invoices"[0m
|
258
|
+
[1m[35m (1.3ms)[0m 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, "comments" text)
|
259
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")[0m
|
260
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
261
|
+
FROM sqlite_master
|
262
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
263
|
+
UNION ALL
|
264
|
+
SELECT sql
|
265
|
+
FROM sqlite_temp_master
|
266
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
267
|
+
|
268
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")[0m
|
269
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
270
|
+
FROM sqlite_master
|
271
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
272
|
+
UNION ALL
|
273
|
+
SELECT sql
|
274
|
+
FROM sqlite_temp_master
|
275
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
276
|
+
|
277
|
+
[1m[36m (0.3ms)[0m [1m SELECT sql
|
278
|
+
FROM sqlite_master
|
279
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
280
|
+
UNION ALL
|
281
|
+
SELECT sql
|
282
|
+
FROM sqlite_temp_master
|
283
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
284
|
+
[0m
|
285
|
+
[1m[35m (1.5ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")
|
286
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
287
|
+
FROM sqlite_master
|
288
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
|
289
|
+
UNION ALL
|
290
|
+
SELECT sql
|
291
|
+
FROM sqlite_temp_master
|
292
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
|
293
|
+
[0m
|
294
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
295
|
+
FROM sqlite_master
|
296
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
297
|
+
UNION ALL
|
298
|
+
SELECT sql
|
299
|
+
FROM sqlite_temp_master
|
300
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
301
|
+
|
302
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
303
|
+
FROM sqlite_master
|
304
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
305
|
+
UNION ALL
|
306
|
+
SELECT sql
|
307
|
+
FROM sqlite_temp_master
|
308
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
309
|
+
[0m
|
310
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")
|
311
|
+
[1m[36m (0.9ms)[0m [1mDROP TABLE "dorsale_billing_machine_payment_terms"[0m
|
312
|
+
[1m[35m (0.9ms)[0m 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)
|
313
|
+
[1m[36m (1.0ms)[0m [1mDROP TABLE "dorsale_billing_machine_quotation_lines"[0m
|
314
|
+
[1m[35m (1.0ms)[0m 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)
|
315
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")[0m
|
316
|
+
[1m[35m (1.3ms)[0m DROP TABLE "dorsale_billing_machine_quotations"
|
317
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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) [0m
|
318
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")
|
319
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
320
|
+
FROM sqlite_master
|
321
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
322
|
+
UNION ALL
|
323
|
+
SELECT sql
|
324
|
+
FROM sqlite_temp_master
|
325
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
326
|
+
[0m
|
327
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")
|
328
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
329
|
+
FROM sqlite_master
|
330
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
331
|
+
UNION ALL
|
332
|
+
SELECT sql
|
333
|
+
FROM sqlite_temp_master
|
334
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
335
|
+
[0m
|
336
|
+
[1m[35m (0.3ms)[0m SELECT sql
|
337
|
+
FROM sqlite_master
|
338
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
339
|
+
UNION ALL
|
340
|
+
SELECT sql
|
341
|
+
FROM sqlite_temp_master
|
342
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
343
|
+
|
344
|
+
[1m[36m (1.3ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")[0m
|
345
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
346
|
+
FROM sqlite_master
|
347
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
|
348
|
+
UNION ALL
|
349
|
+
SELECT sql
|
350
|
+
FROM sqlite_temp_master
|
351
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
|
352
|
+
|
353
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
354
|
+
FROM sqlite_master
|
355
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
356
|
+
UNION ALL
|
357
|
+
SELECT sql
|
358
|
+
FROM sqlite_temp_master
|
359
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
360
|
+
[0m
|
361
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
362
|
+
FROM sqlite_master
|
363
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
364
|
+
UNION ALL
|
365
|
+
SELECT sql
|
366
|
+
FROM sqlite_temp_master
|
367
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
368
|
+
|
369
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")[0m
|
370
|
+
[1m[35m (1.5ms)[0m DROP TABLE "dorsale_comments"
|
371
|
+
[1m[36m (1.3ms)[0m [1mCREATE 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) [0m
|
372
|
+
[1m[35m (1.1ms)[0m DROP TABLE "dorsale_customer_vault_corporations"
|
373
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" text, "phone" varchar, "fax" varchar, "www" text, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "european_union_vat_number" varchar) [0m
|
374
|
+
[1m[35m (1.0ms)[0m DROP TABLE "dorsale_customer_vault_individuals"
|
375
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" text, "title" varchar, "twitter" varchar, "www" text, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar) [0m
|
376
|
+
[1m[35m (1.3ms)[0m DROP TABLE "dorsale_customer_vault_links"
|
377
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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) [0m
|
378
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")
|
379
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
380
|
+
FROM sqlite_master
|
381
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
382
|
+
UNION ALL
|
383
|
+
SELECT sql
|
384
|
+
FROM sqlite_temp_master
|
385
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
386
|
+
[0m
|
387
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")
|
388
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
389
|
+
FROM sqlite_master
|
390
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
391
|
+
UNION ALL
|
392
|
+
SELECT sql
|
393
|
+
FROM sqlite_temp_master
|
394
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
395
|
+
[0m
|
396
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
397
|
+
FROM sqlite_master
|
398
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
399
|
+
UNION ALL
|
400
|
+
SELECT sql
|
401
|
+
FROM sqlite_temp_master
|
402
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
403
|
+
|
404
|
+
[1m[36m (1.3ms)[0m [1mCREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")[0m
|
405
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
406
|
+
FROM sqlite_master
|
407
|
+
WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
|
408
|
+
UNION ALL
|
409
|
+
SELECT sql
|
410
|
+
FROM sqlite_temp_master
|
411
|
+
WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
|
412
|
+
|
413
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
414
|
+
FROM sqlite_master
|
415
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
416
|
+
UNION ALL
|
417
|
+
SELECT sql
|
418
|
+
FROM sqlite_temp_master
|
419
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
420
|
+
[0m
|
421
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
422
|
+
FROM sqlite_master
|
423
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
424
|
+
UNION ALL
|
425
|
+
SELECT sql
|
426
|
+
FROM sqlite_temp_master
|
427
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
428
|
+
|
429
|
+
[1m[36m (1.9ms)[0m [1mCREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")[0m
|
430
|
+
[1m[35m (1.4ms)[0m DROP TABLE "dorsale_expense_gun_categories"
|
431
|
+
[1m[36m (1.8ms)[0m [1mCREATE TABLE "dorsale_expense_gun_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "vat_deductible" boolean) [0m
|
432
|
+
[1m[35m (1.7ms)[0m DROP TABLE "dorsale_expense_gun_expense_lines"
|
433
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "dorsale_expense_gun_expense_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "expense_id" integer, "category_id" integer, "name" varchar, "date" date, "total_all_taxes" float, "vat" float, "company_part" float, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
434
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_category_id" ON "dorsale_expense_gun_expense_lines" ("category_id")
|
435
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
436
|
+
FROM sqlite_master
|
437
|
+
WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'
|
438
|
+
UNION ALL
|
439
|
+
SELECT sql
|
440
|
+
FROM sqlite_temp_master
|
441
|
+
WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'
|
442
|
+
[0m
|
443
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_expense_id" ON "dorsale_expense_gun_expense_lines" ("expense_id")
|
444
|
+
[1m[36m (1.1ms)[0m [1mDROP TABLE "dorsale_expense_gun_expenses"[0m
|
445
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "dorsale_expense_gun_expenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" varchar, "date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
446
|
+
[1m[36m (1.3ms)[0m [1mDROP TABLE "dorsale_flyboy_folders"[0m
|
447
|
+
[1m[35m (1.1ms)[0m 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)
|
448
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")[0m
|
449
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
450
|
+
FROM sqlite_master
|
451
|
+
WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
|
452
|
+
UNION ALL
|
453
|
+
SELECT sql
|
454
|
+
FROM sqlite_temp_master
|
455
|
+
WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
|
456
|
+
|
457
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")[0m
|
458
|
+
[1m[35m (1.1ms)[0m DROP TABLE "dorsale_flyboy_task_comments"
|
459
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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) [0m
|
460
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")
|
461
|
+
[1m[36m (1.6ms)[0m [1mDROP TABLE "dorsale_flyboy_tasks"[0m
|
462
|
+
[1m[35m (1.7ms)[0m 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)
|
463
|
+
[1m[36m (1.5ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")[0m
|
464
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
465
|
+
FROM sqlite_master
|
466
|
+
WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
|
467
|
+
UNION ALL
|
468
|
+
SELECT sql
|
469
|
+
FROM sqlite_temp_master
|
470
|
+
WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
|
471
|
+
|
472
|
+
[1m[36m (1.4ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")[0m
|
473
|
+
[1m[35m (1.0ms)[0m DROP TABLE "dummy_models"
|
474
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
475
|
+
[1m[35m (1.4ms)[0m DROP TABLE "taggings"
|
476
|
+
[1m[36m (1.6ms)[0m [1mCREATE 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) [0m
|
477
|
+
[1m[35m (1.7ms)[0m CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")
|
478
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
479
|
+
FROM sqlite_master
|
480
|
+
WHERE name='taggings_idx' AND type='index'
|
481
|
+
UNION ALL
|
482
|
+
SELECT sql
|
483
|
+
FROM sqlite_temp_master
|
484
|
+
WHERE name='taggings_idx' AND type='index'
|
485
|
+
[0m
|
486
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
|
487
|
+
[1m[36m (2.3ms)[0m [1mDROP TABLE "tags"[0m
|
488
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)
|
489
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")[0m
|
490
|
+
[1m[35m (1.3ms)[0m DROP TABLE "users"
|
491
|
+
[1m[36m (1.4ms)[0m [1mCREATE 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, "avatar" varchar) [0m
|
492
|
+
[1m[35m (1.7ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
493
|
+
[1m[36m (0.3ms)[0m [1m SELECT sql
|
494
|
+
FROM sqlite_master
|
495
|
+
WHERE name='index_users_on_email' AND type='index'
|
496
|
+
UNION ALL
|
497
|
+
SELECT sql
|
498
|
+
FROM sqlite_temp_master
|
499
|
+
WHERE name='index_users_on_email' AND type='index'
|
500
|
+
[0m
|
501
|
+
[1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
502
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
503
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
504
|
+
[1m[36m (2.6ms)[0m [1mCREATE 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) [0m
|
505
|
+
[1m[35m (1.0ms)[0m 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)
|
506
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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) [0m
|
507
|
+
[1m[35m (0.9ms)[0m 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)
|
508
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
509
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")
|
510
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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, "comments" text) [0m
|
511
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")
|
512
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
513
|
+
FROM sqlite_master
|
514
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
515
|
+
UNION ALL
|
516
|
+
SELECT sql
|
517
|
+
FROM sqlite_temp_master
|
518
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
519
|
+
[0m
|
520
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")
|
521
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
522
|
+
FROM sqlite_master
|
523
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
524
|
+
UNION ALL
|
525
|
+
SELECT sql
|
526
|
+
FROM sqlite_temp_master
|
527
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
528
|
+
[0m
|
529
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
530
|
+
FROM sqlite_master
|
531
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
532
|
+
UNION ALL
|
533
|
+
SELECT sql
|
534
|
+
FROM sqlite_temp_master
|
535
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
536
|
+
|
537
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")[0m
|
538
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
539
|
+
FROM sqlite_master
|
540
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
|
541
|
+
UNION ALL
|
542
|
+
SELECT sql
|
543
|
+
FROM sqlite_temp_master
|
544
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
|
545
|
+
|
546
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
547
|
+
FROM sqlite_master
|
548
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
549
|
+
UNION ALL
|
550
|
+
SELECT sql
|
551
|
+
FROM sqlite_temp_master
|
552
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
553
|
+
[0m
|
554
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
555
|
+
FROM sqlite_master
|
556
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
557
|
+
UNION ALL
|
558
|
+
SELECT sql
|
559
|
+
FROM sqlite_temp_master
|
560
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
561
|
+
|
562
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")[0m
|
563
|
+
[1m[35m (1.0ms)[0m 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)
|
564
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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) [0m
|
565
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")
|
566
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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) [0m
|
567
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")
|
568
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
569
|
+
FROM sqlite_master
|
570
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
571
|
+
UNION ALL
|
572
|
+
SELECT sql
|
573
|
+
FROM sqlite_temp_master
|
574
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
575
|
+
[0m
|
576
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")
|
577
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
578
|
+
FROM sqlite_master
|
579
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
580
|
+
UNION ALL
|
581
|
+
SELECT sql
|
582
|
+
FROM sqlite_temp_master
|
583
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
584
|
+
[0m
|
585
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
586
|
+
FROM sqlite_master
|
587
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
588
|
+
UNION ALL
|
589
|
+
SELECT sql
|
590
|
+
FROM sqlite_temp_master
|
591
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
592
|
+
|
593
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")[0m
|
594
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
595
|
+
FROM sqlite_master
|
596
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
|
597
|
+
UNION ALL
|
598
|
+
SELECT sql
|
599
|
+
FROM sqlite_temp_master
|
600
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
|
601
|
+
|
602
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
603
|
+
FROM sqlite_master
|
604
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
605
|
+
UNION ALL
|
606
|
+
SELECT sql
|
607
|
+
FROM sqlite_temp_master
|
608
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
609
|
+
[0m
|
610
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
611
|
+
FROM sqlite_master
|
612
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
613
|
+
UNION ALL
|
614
|
+
SELECT sql
|
615
|
+
FROM sqlite_temp_master
|
616
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
617
|
+
|
618
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")[0m
|
619
|
+
[1m[35m (1.1ms)[0m 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)
|
620
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" text, "phone" varchar, "fax" varchar, "www" text, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "european_union_vat_number" varchar) [0m
|
621
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" text, "title" varchar, "twitter" varchar, "www" text, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)
|
622
|
+
[1m[36m (0.9ms)[0m [1mCREATE 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) [0m
|
623
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")
|
624
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
625
|
+
FROM sqlite_master
|
626
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
627
|
+
UNION ALL
|
628
|
+
SELECT sql
|
629
|
+
FROM sqlite_temp_master
|
630
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
631
|
+
[0m
|
632
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")
|
633
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
634
|
+
FROM sqlite_master
|
635
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
636
|
+
UNION ALL
|
637
|
+
SELECT sql
|
638
|
+
FROM sqlite_temp_master
|
639
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
640
|
+
[0m
|
641
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
642
|
+
FROM sqlite_master
|
643
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
644
|
+
UNION ALL
|
645
|
+
SELECT sql
|
646
|
+
FROM sqlite_temp_master
|
647
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
648
|
+
|
649
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")[0m
|
650
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
651
|
+
FROM sqlite_master
|
652
|
+
WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
|
653
|
+
UNION ALL
|
654
|
+
SELECT sql
|
655
|
+
FROM sqlite_temp_master
|
656
|
+
WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
|
657
|
+
|
658
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
659
|
+
FROM sqlite_master
|
660
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
661
|
+
UNION ALL
|
662
|
+
SELECT sql
|
663
|
+
FROM sqlite_temp_master
|
664
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
665
|
+
[0m
|
666
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
667
|
+
FROM sqlite_master
|
668
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
669
|
+
UNION ALL
|
670
|
+
SELECT sql
|
671
|
+
FROM sqlite_temp_master
|
672
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
673
|
+
|
674
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")[0m
|
675
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "dorsale_expense_gun_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "vat_deductible" boolean)
|
676
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "dorsale_expense_gun_expense_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "expense_id" integer, "category_id" integer, "name" varchar, "date" date, "total_all_taxes" float, "vat" float, "company_part" float, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
677
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_category_id" ON "dorsale_expense_gun_expense_lines" ("category_id")
|
678
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
679
|
+
FROM sqlite_master
|
680
|
+
WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'
|
681
|
+
UNION ALL
|
682
|
+
SELECT sql
|
683
|
+
FROM sqlite_temp_master
|
684
|
+
WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'
|
685
|
+
[0m
|
686
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_expense_id" ON "dorsale_expense_gun_expense_lines" ("expense_id")
|
687
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "dorsale_expense_gun_expenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" varchar, "date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
688
|
+
[1m[35m (1.1ms)[0m 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)
|
689
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")[0m
|
690
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
691
|
+
FROM sqlite_master
|
692
|
+
WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
|
693
|
+
UNION ALL
|
694
|
+
SELECT sql
|
695
|
+
FROM sqlite_temp_master
|
696
|
+
WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
|
697
|
+
|
698
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")[0m
|
699
|
+
[1m[35m (1.0ms)[0m 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)
|
700
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")[0m
|
701
|
+
[1m[35m (1.0ms)[0m 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)
|
702
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")[0m
|
703
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
704
|
+
FROM sqlite_master
|
705
|
+
WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
|
706
|
+
UNION ALL
|
707
|
+
SELECT sql
|
708
|
+
FROM sqlite_temp_master
|
709
|
+
WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
|
710
|
+
|
711
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")[0m
|
712
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
713
|
+
[1m[36m (0.9ms)[0m [1mCREATE 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) [0m
|
714
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")
|
715
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
716
|
+
FROM sqlite_master
|
717
|
+
WHERE name='taggings_idx' AND type='index'
|
718
|
+
UNION ALL
|
719
|
+
SELECT sql
|
720
|
+
FROM sqlite_temp_master
|
721
|
+
WHERE name='taggings_idx' AND type='index'
|
722
|
+
[0m
|
723
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
|
724
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0) [0m
|
725
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")
|
726
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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, "avatar" varchar) [0m
|
727
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
728
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
729
|
+
FROM sqlite_master
|
730
|
+
WHERE name='index_users_on_email' AND type='index'
|
731
|
+
UNION ALL
|
732
|
+
SELECT sql
|
733
|
+
FROM sqlite_temp_master
|
734
|
+
WHERE name='index_users_on_email' AND type='index'
|
735
|
+
[0m
|
736
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
737
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
738
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
739
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
740
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160125201025')
|
741
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150616082916')[0m
|
742
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')
|
743
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150624081205')[0m
|
744
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')
|
745
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150624081207')[0m
|
746
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')
|
747
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150803160334')[0m
|
748
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
749
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
750
|
+
[1m[36m (3.1ms)[0m [1mCREATE 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) [0m
|
751
|
+
[1m[35m (1.0ms)[0m 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)
|
752
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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) [0m
|
753
|
+
[1m[35m (1.0ms)[0m 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)
|
754
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
755
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")
|
756
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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, "comments" text) [0m
|
757
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")
|
758
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
759
|
+
FROM sqlite_master
|
760
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
761
|
+
UNION ALL
|
762
|
+
SELECT sql
|
763
|
+
FROM sqlite_temp_master
|
764
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
765
|
+
[0m
|
766
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")
|
767
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
768
|
+
FROM sqlite_master
|
769
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
770
|
+
UNION ALL
|
771
|
+
SELECT sql
|
772
|
+
FROM sqlite_temp_master
|
773
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
774
|
+
[0m
|
775
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
776
|
+
FROM sqlite_master
|
777
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
778
|
+
UNION ALL
|
779
|
+
SELECT sql
|
780
|
+
FROM sqlite_temp_master
|
781
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
782
|
+
|
783
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")[0m
|
784
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
785
|
+
FROM sqlite_master
|
786
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
|
787
|
+
UNION ALL
|
788
|
+
SELECT sql
|
789
|
+
FROM sqlite_temp_master
|
790
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
|
791
|
+
|
792
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
793
|
+
FROM sqlite_master
|
794
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
795
|
+
UNION ALL
|
796
|
+
SELECT sql
|
797
|
+
FROM sqlite_temp_master
|
798
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
799
|
+
[0m
|
800
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
801
|
+
FROM sqlite_master
|
802
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
803
|
+
UNION ALL
|
804
|
+
SELECT sql
|
805
|
+
FROM sqlite_temp_master
|
806
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
807
|
+
|
808
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")[0m
|
809
|
+
[1m[35m (0.9ms)[0m 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)
|
810
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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) [0m
|
811
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")
|
812
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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) [0m
|
813
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")
|
814
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
815
|
+
FROM sqlite_master
|
816
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
817
|
+
UNION ALL
|
818
|
+
SELECT sql
|
819
|
+
FROM sqlite_temp_master
|
820
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
821
|
+
[0m
|
822
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")
|
823
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
824
|
+
FROM sqlite_master
|
825
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
826
|
+
UNION ALL
|
827
|
+
SELECT sql
|
828
|
+
FROM sqlite_temp_master
|
829
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
830
|
+
[0m
|
831
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
832
|
+
FROM sqlite_master
|
833
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
834
|
+
UNION ALL
|
835
|
+
SELECT sql
|
836
|
+
FROM sqlite_temp_master
|
837
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
838
|
+
|
839
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")[0m
|
840
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
841
|
+
FROM sqlite_master
|
842
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
|
843
|
+
UNION ALL
|
844
|
+
SELECT sql
|
845
|
+
FROM sqlite_temp_master
|
846
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
|
847
|
+
|
848
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
849
|
+
FROM sqlite_master
|
850
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
851
|
+
UNION ALL
|
852
|
+
SELECT sql
|
853
|
+
FROM sqlite_temp_master
|
854
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
855
|
+
[0m
|
856
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
857
|
+
FROM sqlite_master
|
858
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
859
|
+
UNION ALL
|
860
|
+
SELECT sql
|
861
|
+
FROM sqlite_temp_master
|
862
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
863
|
+
|
864
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")[0m
|
865
|
+
[1m[35m (1.0ms)[0m 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)
|
866
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" text, "phone" varchar, "fax" varchar, "www" text, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "european_union_vat_number" varchar) [0m
|
867
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" text, "title" varchar, "twitter" varchar, "www" text, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)
|
868
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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) [0m
|
869
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")
|
870
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
871
|
+
FROM sqlite_master
|
872
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
873
|
+
UNION ALL
|
874
|
+
SELECT sql
|
875
|
+
FROM sqlite_temp_master
|
876
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
877
|
+
[0m
|
878
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")
|
879
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
880
|
+
FROM sqlite_master
|
881
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
882
|
+
UNION ALL
|
883
|
+
SELECT sql
|
884
|
+
FROM sqlite_temp_master
|
885
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
886
|
+
[0m
|
887
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
888
|
+
FROM sqlite_master
|
889
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
890
|
+
UNION ALL
|
891
|
+
SELECT sql
|
892
|
+
FROM sqlite_temp_master
|
893
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
894
|
+
|
895
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")[0m
|
896
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
897
|
+
FROM sqlite_master
|
898
|
+
WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
|
899
|
+
UNION ALL
|
900
|
+
SELECT sql
|
901
|
+
FROM sqlite_temp_master
|
902
|
+
WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
|
903
|
+
|
904
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
905
|
+
FROM sqlite_master
|
906
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
907
|
+
UNION ALL
|
908
|
+
SELECT sql
|
909
|
+
FROM sqlite_temp_master
|
910
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
911
|
+
[0m
|
912
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
913
|
+
FROM sqlite_master
|
914
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
915
|
+
UNION ALL
|
916
|
+
SELECT sql
|
917
|
+
FROM sqlite_temp_master
|
918
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
919
|
+
|
920
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")[0m
|
921
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "dorsale_expense_gun_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "vat_deductible" boolean)
|
922
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "dorsale_expense_gun_expense_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "expense_id" integer, "category_id" integer, "name" varchar, "date" date, "total_all_taxes" float, "vat" float, "company_part" float, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
923
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_category_id" ON "dorsale_expense_gun_expense_lines" ("category_id")
|
924
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
925
|
+
FROM sqlite_master
|
926
|
+
WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'
|
927
|
+
UNION ALL
|
928
|
+
SELECT sql
|
929
|
+
FROM sqlite_temp_master
|
930
|
+
WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'
|
931
|
+
[0m
|
932
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_expense_id" ON "dorsale_expense_gun_expense_lines" ("expense_id")
|
933
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "dorsale_expense_gun_expenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" varchar, "date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
934
|
+
[1m[35m (1.2ms)[0m 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)
|
935
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")[0m
|
936
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
937
|
+
FROM sqlite_master
|
938
|
+
WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
|
939
|
+
UNION ALL
|
940
|
+
SELECT sql
|
941
|
+
FROM sqlite_temp_master
|
942
|
+
WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
|
943
|
+
|
944
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")[0m
|
945
|
+
[1m[35m (1.0ms)[0m 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)
|
946
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")[0m
|
947
|
+
[1m[35m (1.2ms)[0m 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)
|
948
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")[0m
|
949
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
950
|
+
FROM sqlite_master
|
951
|
+
WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
|
952
|
+
UNION ALL
|
953
|
+
SELECT sql
|
954
|
+
FROM sqlite_temp_master
|
955
|
+
WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
|
956
|
+
|
957
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")[0m
|
958
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
959
|
+
[1m[36m (0.9ms)[0m [1mCREATE 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) [0m
|
960
|
+
[1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")
|
961
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
962
|
+
FROM sqlite_master
|
963
|
+
WHERE name='taggings_idx' AND type='index'
|
964
|
+
UNION ALL
|
965
|
+
SELECT sql
|
966
|
+
FROM sqlite_temp_master
|
967
|
+
WHERE name='taggings_idx' AND type='index'
|
968
|
+
[0m
|
969
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
|
970
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0) [0m
|
971
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")
|
972
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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, "avatar" varchar) [0m
|
973
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
974
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
975
|
+
FROM sqlite_master
|
976
|
+
WHERE name='index_users_on_email' AND type='index'
|
977
|
+
UNION ALL
|
978
|
+
SELECT sql
|
979
|
+
FROM sqlite_temp_master
|
980
|
+
WHERE name='index_users_on_email' AND type='index'
|
981
|
+
[0m
|
982
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
983
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
984
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
985
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
986
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160125201025')
|
987
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150616082916')[0m
|
988
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')
|
989
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150624081205')[0m
|
990
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')
|
991
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150624081207')[0m
|
992
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')
|
993
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150803160334')[0m
|
994
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
995
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
996
|
+
[1m[36m (2.4ms)[0m [1mCREATE 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) [0m
|
997
|
+
[1m[35m (1.0ms)[0m 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)
|
998
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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) [0m
|
999
|
+
[1m[35m (1.0ms)[0m 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)
|
1000
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
1001
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")
|
1002
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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, "comments" text) [0m
|
1003
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")
|
1004
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1005
|
+
FROM sqlite_master
|
1006
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1007
|
+
UNION ALL
|
1008
|
+
SELECT sql
|
1009
|
+
FROM sqlite_temp_master
|
1010
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1011
|
+
[0m
|
1012
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")
|
1013
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1014
|
+
FROM sqlite_master
|
1015
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
1016
|
+
UNION ALL
|
1017
|
+
SELECT sql
|
1018
|
+
FROM sqlite_temp_master
|
1019
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
1020
|
+
[0m
|
1021
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1022
|
+
FROM sqlite_master
|
1023
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1024
|
+
UNION ALL
|
1025
|
+
SELECT sql
|
1026
|
+
FROM sqlite_temp_master
|
1027
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1028
|
+
|
1029
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")[0m
|
1030
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1031
|
+
FROM sqlite_master
|
1032
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
|
1033
|
+
UNION ALL
|
1034
|
+
SELECT sql
|
1035
|
+
FROM sqlite_temp_master
|
1036
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
|
1037
|
+
|
1038
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1039
|
+
FROM sqlite_master
|
1040
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
1041
|
+
UNION ALL
|
1042
|
+
SELECT sql
|
1043
|
+
FROM sqlite_temp_master
|
1044
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
1045
|
+
[0m
|
1046
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1047
|
+
FROM sqlite_master
|
1048
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1049
|
+
UNION ALL
|
1050
|
+
SELECT sql
|
1051
|
+
FROM sqlite_temp_master
|
1052
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1053
|
+
|
1054
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")[0m
|
1055
|
+
[1m[35m (0.9ms)[0m 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)
|
1056
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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) [0m
|
1057
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")
|
1058
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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) [0m
|
1059
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")
|
1060
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1061
|
+
FROM sqlite_master
|
1062
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1063
|
+
UNION ALL
|
1064
|
+
SELECT sql
|
1065
|
+
FROM sqlite_temp_master
|
1066
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1067
|
+
[0m
|
1068
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")
|
1069
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1070
|
+
FROM sqlite_master
|
1071
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
1072
|
+
UNION ALL
|
1073
|
+
SELECT sql
|
1074
|
+
FROM sqlite_temp_master
|
1075
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
1076
|
+
[0m
|
1077
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1078
|
+
FROM sqlite_master
|
1079
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1080
|
+
UNION ALL
|
1081
|
+
SELECT sql
|
1082
|
+
FROM sqlite_temp_master
|
1083
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1084
|
+
|
1085
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")[0m
|
1086
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1087
|
+
FROM sqlite_master
|
1088
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
|
1089
|
+
UNION ALL
|
1090
|
+
SELECT sql
|
1091
|
+
FROM sqlite_temp_master
|
1092
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
|
1093
|
+
|
1094
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1095
|
+
FROM sqlite_master
|
1096
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
1097
|
+
UNION ALL
|
1098
|
+
SELECT sql
|
1099
|
+
FROM sqlite_temp_master
|
1100
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
1101
|
+
[0m
|
1102
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1103
|
+
FROM sqlite_master
|
1104
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1105
|
+
UNION ALL
|
1106
|
+
SELECT sql
|
1107
|
+
FROM sqlite_temp_master
|
1108
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1109
|
+
|
1110
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")[0m
|
1111
|
+
[1m[35m (1.2ms)[0m 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)
|
1112
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" text, "phone" varchar, "fax" varchar, "www" text, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "european_union_vat_number" varchar) [0m
|
1113
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" text, "title" varchar, "twitter" varchar, "www" text, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)
|
1114
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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) [0m
|
1115
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")
|
1116
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1117
|
+
FROM sqlite_master
|
1118
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1119
|
+
UNION ALL
|
1120
|
+
SELECT sql
|
1121
|
+
FROM sqlite_temp_master
|
1122
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1123
|
+
[0m
|
1124
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")
|
1125
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1126
|
+
FROM sqlite_master
|
1127
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
1128
|
+
UNION ALL
|
1129
|
+
SELECT sql
|
1130
|
+
FROM sqlite_temp_master
|
1131
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
1132
|
+
[0m
|
1133
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1134
|
+
FROM sqlite_master
|
1135
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1136
|
+
UNION ALL
|
1137
|
+
SELECT sql
|
1138
|
+
FROM sqlite_temp_master
|
1139
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1140
|
+
|
1141
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")[0m
|
1142
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1143
|
+
FROM sqlite_master
|
1144
|
+
WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
|
1145
|
+
UNION ALL
|
1146
|
+
SELECT sql
|
1147
|
+
FROM sqlite_temp_master
|
1148
|
+
WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
|
1149
|
+
|
1150
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1151
|
+
FROM sqlite_master
|
1152
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
1153
|
+
UNION ALL
|
1154
|
+
SELECT sql
|
1155
|
+
FROM sqlite_temp_master
|
1156
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
1157
|
+
[0m
|
1158
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1159
|
+
FROM sqlite_master
|
1160
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1161
|
+
UNION ALL
|
1162
|
+
SELECT sql
|
1163
|
+
FROM sqlite_temp_master
|
1164
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1165
|
+
|
1166
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")[0m
|
1167
|
+
[1m[35m (1.1ms)[0m 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)
|
1168
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")[0m
|
1169
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1170
|
+
FROM sqlite_master
|
1171
|
+
WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
|
1172
|
+
UNION ALL
|
1173
|
+
SELECT sql
|
1174
|
+
FROM sqlite_temp_master
|
1175
|
+
WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
|
1176
|
+
|
1177
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")[0m
|
1178
|
+
[1m[35m (1.0ms)[0m 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)
|
1179
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")[0m
|
1180
|
+
[1m[35m (1.1ms)[0m 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)
|
1181
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")[0m
|
1182
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1183
|
+
FROM sqlite_master
|
1184
|
+
WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
|
1185
|
+
UNION ALL
|
1186
|
+
SELECT sql
|
1187
|
+
FROM sqlite_temp_master
|
1188
|
+
WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
|
1189
|
+
|
1190
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")[0m
|
1191
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1192
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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) [0m
|
1193
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")
|
1194
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
1195
|
+
FROM sqlite_master
|
1196
|
+
WHERE name='taggings_idx' AND type='index'
|
1197
|
+
UNION ALL
|
1198
|
+
SELECT sql
|
1199
|
+
FROM sqlite_temp_master
|
1200
|
+
WHERE name='taggings_idx' AND type='index'
|
1201
|
+
[0m
|
1202
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
|
1203
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0) [0m
|
1204
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")
|
1205
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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, "avatar" varchar) [0m
|
1206
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
1207
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1208
|
+
FROM sqlite_master
|
1209
|
+
WHERE name='index_users_on_email' AND type='index'
|
1210
|
+
UNION ALL
|
1211
|
+
SELECT sql
|
1212
|
+
FROM sqlite_temp_master
|
1213
|
+
WHERE name='index_users_on_email' AND type='index'
|
1214
|
+
[0m
|
1215
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
1216
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1217
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1218
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1219
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160104105725')
|
1220
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150616082916')[0m
|
1221
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')
|
1222
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150624081205')[0m
|
1223
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')
|
1224
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150624081207')[0m
|
1225
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')
|
1226
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150803160334')[0m
|
1227
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1228
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1229
|
+
[1m[36m (3.3ms)[0m [1mCREATE 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) [0m
|
1230
|
+
[1m[35m (2.1ms)[0m 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)
|
1231
|
+
[1m[36m (1.8ms)[0m [1mCREATE 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) [0m
|
1232
|
+
[1m[35m (2.2ms)[0m 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)
|
1233
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
1234
|
+
[1m[35m (3.3ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")
|
1235
|
+
[1m[36m (1.4ms)[0m [1mCREATE 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, "comments" text) [0m
|
1236
|
+
[1m[35m (1.4ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")
|
1237
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
1238
|
+
FROM sqlite_master
|
1239
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1240
|
+
UNION ALL
|
1241
|
+
SELECT sql
|
1242
|
+
FROM sqlite_temp_master
|
1243
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1244
|
+
[0m
|
1245
|
+
[1m[35m (1.8ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")
|
1246
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1247
|
+
FROM sqlite_master
|
1248
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
1249
|
+
UNION ALL
|
1250
|
+
SELECT sql
|
1251
|
+
FROM sqlite_temp_master
|
1252
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
1253
|
+
[0m
|
1254
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1255
|
+
FROM sqlite_master
|
1256
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1257
|
+
UNION ALL
|
1258
|
+
SELECT sql
|
1259
|
+
FROM sqlite_temp_master
|
1260
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1261
|
+
|
1262
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")[0m
|
1263
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1264
|
+
FROM sqlite_master
|
1265
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
|
1266
|
+
UNION ALL
|
1267
|
+
SELECT sql
|
1268
|
+
FROM sqlite_temp_master
|
1269
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
|
1270
|
+
|
1271
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1272
|
+
FROM sqlite_master
|
1273
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
1274
|
+
UNION ALL
|
1275
|
+
SELECT sql
|
1276
|
+
FROM sqlite_temp_master
|
1277
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
1278
|
+
[0m
|
1279
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1280
|
+
FROM sqlite_master
|
1281
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1282
|
+
UNION ALL
|
1283
|
+
SELECT sql
|
1284
|
+
FROM sqlite_temp_master
|
1285
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1286
|
+
|
1287
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")[0m
|
1288
|
+
[1m[35m (1.1ms)[0m 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)
|
1289
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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) [0m
|
1290
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")
|
1291
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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) [0m
|
1292
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")
|
1293
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1294
|
+
FROM sqlite_master
|
1295
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1296
|
+
UNION ALL
|
1297
|
+
SELECT sql
|
1298
|
+
FROM sqlite_temp_master
|
1299
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1300
|
+
[0m
|
1301
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")
|
1302
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1303
|
+
FROM sqlite_master
|
1304
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
1305
|
+
UNION ALL
|
1306
|
+
SELECT sql
|
1307
|
+
FROM sqlite_temp_master
|
1308
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
1309
|
+
[0m
|
1310
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1311
|
+
FROM sqlite_master
|
1312
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1313
|
+
UNION ALL
|
1314
|
+
SELECT sql
|
1315
|
+
FROM sqlite_temp_master
|
1316
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1317
|
+
|
1318
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")[0m
|
1319
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1320
|
+
FROM sqlite_master
|
1321
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
|
1322
|
+
UNION ALL
|
1323
|
+
SELECT sql
|
1324
|
+
FROM sqlite_temp_master
|
1325
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
|
1326
|
+
|
1327
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1328
|
+
FROM sqlite_master
|
1329
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
1330
|
+
UNION ALL
|
1331
|
+
SELECT sql
|
1332
|
+
FROM sqlite_temp_master
|
1333
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
1334
|
+
[0m
|
1335
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1336
|
+
FROM sqlite_master
|
1337
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1338
|
+
UNION ALL
|
1339
|
+
SELECT sql
|
1340
|
+
FROM sqlite_temp_master
|
1341
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1342
|
+
|
1343
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")[0m
|
1344
|
+
[1m[35m (1.0ms)[0m 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)
|
1345
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" text, "phone" varchar, "fax" varchar, "www" text, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "european_union_vat_number" varchar) [0m
|
1346
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" text, "title" varchar, "twitter" varchar, "www" text, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)
|
1347
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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) [0m
|
1348
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")
|
1349
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1350
|
+
FROM sqlite_master
|
1351
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1352
|
+
UNION ALL
|
1353
|
+
SELECT sql
|
1354
|
+
FROM sqlite_temp_master
|
1355
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1356
|
+
[0m
|
1357
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")
|
1358
|
+
[1m[36m (0.3ms)[0m [1m SELECT sql
|
1359
|
+
FROM sqlite_master
|
1360
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
1361
|
+
UNION ALL
|
1362
|
+
SELECT sql
|
1363
|
+
FROM sqlite_temp_master
|
1364
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
1365
|
+
[0m
|
1366
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1367
|
+
FROM sqlite_master
|
1368
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1369
|
+
UNION ALL
|
1370
|
+
SELECT sql
|
1371
|
+
FROM sqlite_temp_master
|
1372
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1373
|
+
|
1374
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")[0m
|
1375
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1376
|
+
FROM sqlite_master
|
1377
|
+
WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
|
1378
|
+
UNION ALL
|
1379
|
+
SELECT sql
|
1380
|
+
FROM sqlite_temp_master
|
1381
|
+
WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
|
1382
|
+
|
1383
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1384
|
+
FROM sqlite_master
|
1385
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
1386
|
+
UNION ALL
|
1387
|
+
SELECT sql
|
1388
|
+
FROM sqlite_temp_master
|
1389
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
1390
|
+
[0m
|
1391
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1392
|
+
FROM sqlite_master
|
1393
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1394
|
+
UNION ALL
|
1395
|
+
SELECT sql
|
1396
|
+
FROM sqlite_temp_master
|
1397
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1398
|
+
|
1399
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")[0m
|
1400
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "dorsale_expense_gun_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "vat_deductible" boolean)
|
1401
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "dorsale_expense_gun_expense_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "expense_id" integer, "category_id" integer, "name" varchar, "date" date, "total_all_taxes" float, "vat" float, "company_part" float, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1402
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_category_id" ON "dorsale_expense_gun_expense_lines" ("category_id")
|
1403
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1404
|
+
FROM sqlite_master
|
1405
|
+
WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'
|
1406
|
+
UNION ALL
|
1407
|
+
SELECT sql
|
1408
|
+
FROM sqlite_temp_master
|
1409
|
+
WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'
|
1410
|
+
[0m
|
1411
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_expense_id" ON "dorsale_expense_gun_expense_lines" ("expense_id")
|
1412
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "dorsale_expense_gun_expenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" varchar, "date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1413
|
+
[1m[35m (1.9ms)[0m 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)
|
1414
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")[0m
|
1415
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1416
|
+
FROM sqlite_master
|
1417
|
+
WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
|
1418
|
+
UNION ALL
|
1419
|
+
SELECT sql
|
1420
|
+
FROM sqlite_temp_master
|
1421
|
+
WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
|
1422
|
+
|
1423
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")[0m
|
1424
|
+
[1m[35m (1.3ms)[0m 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)
|
1425
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")[0m
|
1426
|
+
[1m[35m (1.2ms)[0m 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)
|
1427
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")[0m
|
1428
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1429
|
+
FROM sqlite_master
|
1430
|
+
WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
|
1431
|
+
UNION ALL
|
1432
|
+
SELECT sql
|
1433
|
+
FROM sqlite_temp_master
|
1434
|
+
WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
|
1435
|
+
|
1436
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")[0m
|
1437
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1438
|
+
[1m[36m (1.3ms)[0m [1mCREATE 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) [0m
|
1439
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")
|
1440
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
1441
|
+
FROM sqlite_master
|
1442
|
+
WHERE name='taggings_idx' AND type='index'
|
1443
|
+
UNION ALL
|
1444
|
+
SELECT sql
|
1445
|
+
FROM sqlite_temp_master
|
1446
|
+
WHERE name='taggings_idx' AND type='index'
|
1447
|
+
[0m
|
1448
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
|
1449
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0) [0m
|
1450
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")
|
1451
|
+
[1m[36m (1.2ms)[0m [1mCREATE 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, "avatar" varchar) [0m
|
1452
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
1453
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1454
|
+
FROM sqlite_master
|
1455
|
+
WHERE name='index_users_on_email' AND type='index'
|
1456
|
+
UNION ALL
|
1457
|
+
SELECT sql
|
1458
|
+
FROM sqlite_temp_master
|
1459
|
+
WHERE name='index_users_on_email' AND type='index'
|
1460
|
+
[0m
|
1461
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
1462
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1463
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1464
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1465
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160125201025')
|
1466
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150616082916')[0m
|
1467
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')
|
1468
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150624081205')[0m
|
1469
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')
|
1470
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150624081207')[0m
|
1471
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')
|
1472
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150803160334')[0m
|
1473
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1474
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1475
|
+
[1m[36m (2.8ms)[0m [1mCREATE 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) [0m
|
1476
|
+
[1m[35m (1.0ms)[0m 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)
|
1477
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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) [0m
|
1478
|
+
[1m[35m (0.9ms)[0m 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)
|
1479
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
1480
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")
|
1481
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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, "comments" text) [0m
|
1482
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")
|
1483
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1484
|
+
FROM sqlite_master
|
1485
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1486
|
+
UNION ALL
|
1487
|
+
SELECT sql
|
1488
|
+
FROM sqlite_temp_master
|
1489
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1490
|
+
[0m
|
1491
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")
|
1492
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
1493
|
+
FROM sqlite_master
|
1494
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
1495
|
+
UNION ALL
|
1496
|
+
SELECT sql
|
1497
|
+
FROM sqlite_temp_master
|
1498
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
1499
|
+
[0m
|
1500
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1501
|
+
FROM sqlite_master
|
1502
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1503
|
+
UNION ALL
|
1504
|
+
SELECT sql
|
1505
|
+
FROM sqlite_temp_master
|
1506
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1507
|
+
|
1508
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")[0m
|
1509
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1510
|
+
FROM sqlite_master
|
1511
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
|
1512
|
+
UNION ALL
|
1513
|
+
SELECT sql
|
1514
|
+
FROM sqlite_temp_master
|
1515
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
|
1516
|
+
|
1517
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1518
|
+
FROM sqlite_master
|
1519
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
1520
|
+
UNION ALL
|
1521
|
+
SELECT sql
|
1522
|
+
FROM sqlite_temp_master
|
1523
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
1524
|
+
[0m
|
1525
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1526
|
+
FROM sqlite_master
|
1527
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1528
|
+
UNION ALL
|
1529
|
+
SELECT sql
|
1530
|
+
FROM sqlite_temp_master
|
1531
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1532
|
+
|
1533
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")[0m
|
1534
|
+
[1m[35m (1.2ms)[0m 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)
|
1535
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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) [0m
|
1536
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")
|
1537
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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) [0m
|
1538
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")
|
1539
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1540
|
+
FROM sqlite_master
|
1541
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1542
|
+
UNION ALL
|
1543
|
+
SELECT sql
|
1544
|
+
FROM sqlite_temp_master
|
1545
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1546
|
+
[0m
|
1547
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")
|
1548
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1549
|
+
FROM sqlite_master
|
1550
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
1551
|
+
UNION ALL
|
1552
|
+
SELECT sql
|
1553
|
+
FROM sqlite_temp_master
|
1554
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
1555
|
+
[0m
|
1556
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1557
|
+
FROM sqlite_master
|
1558
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1559
|
+
UNION ALL
|
1560
|
+
SELECT sql
|
1561
|
+
FROM sqlite_temp_master
|
1562
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1563
|
+
|
1564
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")[0m
|
1565
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1566
|
+
FROM sqlite_master
|
1567
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
|
1568
|
+
UNION ALL
|
1569
|
+
SELECT sql
|
1570
|
+
FROM sqlite_temp_master
|
1571
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
|
1572
|
+
|
1573
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1574
|
+
FROM sqlite_master
|
1575
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
1576
|
+
UNION ALL
|
1577
|
+
SELECT sql
|
1578
|
+
FROM sqlite_temp_master
|
1579
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
1580
|
+
[0m
|
1581
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1582
|
+
FROM sqlite_master
|
1583
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1584
|
+
UNION ALL
|
1585
|
+
SELECT sql
|
1586
|
+
FROM sqlite_temp_master
|
1587
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1588
|
+
|
1589
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")[0m
|
1590
|
+
[1m[35m (1.1ms)[0m 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)
|
1591
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" text, "phone" varchar, "fax" varchar, "www" text, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "european_union_vat_number" varchar) [0m
|
1592
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" text, "title" varchar, "twitter" varchar, "www" text, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)
|
1593
|
+
[1m[36m (1.4ms)[0m [1mCREATE 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) [0m
|
1594
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")
|
1595
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1596
|
+
FROM sqlite_master
|
1597
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1598
|
+
UNION ALL
|
1599
|
+
SELECT sql
|
1600
|
+
FROM sqlite_temp_master
|
1601
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1602
|
+
[0m
|
1603
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")
|
1604
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1605
|
+
FROM sqlite_master
|
1606
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
1607
|
+
UNION ALL
|
1608
|
+
SELECT sql
|
1609
|
+
FROM sqlite_temp_master
|
1610
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
1611
|
+
[0m
|
1612
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1613
|
+
FROM sqlite_master
|
1614
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1615
|
+
UNION ALL
|
1616
|
+
SELECT sql
|
1617
|
+
FROM sqlite_temp_master
|
1618
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1619
|
+
|
1620
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")[0m
|
1621
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1622
|
+
FROM sqlite_master
|
1623
|
+
WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
|
1624
|
+
UNION ALL
|
1625
|
+
SELECT sql
|
1626
|
+
FROM sqlite_temp_master
|
1627
|
+
WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
|
1628
|
+
|
1629
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1630
|
+
FROM sqlite_master
|
1631
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
1632
|
+
UNION ALL
|
1633
|
+
SELECT sql
|
1634
|
+
FROM sqlite_temp_master
|
1635
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
1636
|
+
[0m
|
1637
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1638
|
+
FROM sqlite_master
|
1639
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1640
|
+
UNION ALL
|
1641
|
+
SELECT sql
|
1642
|
+
FROM sqlite_temp_master
|
1643
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1644
|
+
|
1645
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")[0m
|
1646
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "dorsale_expense_gun_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "vat_deductible" boolean)
|
1647
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "dorsale_expense_gun_expense_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "expense_id" integer, "category_id" integer, "name" varchar, "date" date, "total_all_taxes" float, "vat" float, "company_part" float, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1648
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_category_id" ON "dorsale_expense_gun_expense_lines" ("category_id")
|
1649
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1650
|
+
FROM sqlite_master
|
1651
|
+
WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'
|
1652
|
+
UNION ALL
|
1653
|
+
SELECT sql
|
1654
|
+
FROM sqlite_temp_master
|
1655
|
+
WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'
|
1656
|
+
[0m
|
1657
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_expense_id" ON "dorsale_expense_gun_expense_lines" ("expense_id")
|
1658
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "dorsale_expense_gun_expenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" varchar, "date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1659
|
+
[1m[35m (1.1ms)[0m 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)
|
1660
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")[0m
|
1661
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1662
|
+
FROM sqlite_master
|
1663
|
+
WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
|
1664
|
+
UNION ALL
|
1665
|
+
SELECT sql
|
1666
|
+
FROM sqlite_temp_master
|
1667
|
+
WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
|
1668
|
+
|
1669
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")[0m
|
1670
|
+
[1m[35m (1.0ms)[0m 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)
|
1671
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")[0m
|
1672
|
+
[1m[35m (1.1ms)[0m 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)
|
1673
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")[0m
|
1674
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1675
|
+
FROM sqlite_master
|
1676
|
+
WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
|
1677
|
+
UNION ALL
|
1678
|
+
SELECT sql
|
1679
|
+
FROM sqlite_temp_master
|
1680
|
+
WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
|
1681
|
+
|
1682
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")[0m
|
1683
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1684
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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) [0m
|
1685
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")
|
1686
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1687
|
+
FROM sqlite_master
|
1688
|
+
WHERE name='taggings_idx' AND type='index'
|
1689
|
+
UNION ALL
|
1690
|
+
SELECT sql
|
1691
|
+
FROM sqlite_temp_master
|
1692
|
+
WHERE name='taggings_idx' AND type='index'
|
1693
|
+
[0m
|
1694
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
|
1695
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0) [0m
|
1696
|
+
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")
|
1697
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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, "avatar" varchar) [0m
|
1698
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
1699
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1700
|
+
FROM sqlite_master
|
1701
|
+
WHERE name='index_users_on_email' AND type='index'
|
1702
|
+
UNION ALL
|
1703
|
+
SELECT sql
|
1704
|
+
FROM sqlite_temp_master
|
1705
|
+
WHERE name='index_users_on_email' AND type='index'
|
1706
|
+
[0m
|
1707
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
1708
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1709
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1710
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1711
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160125201025')
|
1712
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150616082916')[0m
|
1713
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')
|
1714
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150624081205')[0m
|
1715
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')
|
1716
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150624081207')[0m
|
1717
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')
|
1718
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150803160334')[0m
|
1719
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1720
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1721
|
+
[1m[36m (2.5ms)[0m [1mCREATE 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) [0m
|
1722
|
+
[1m[35m (1.0ms)[0m 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)
|
1723
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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) [0m
|
1724
|
+
[1m[35m (1.0ms)[0m 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)
|
1725
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
1726
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")
|
1727
|
+
[1m[36m (0.9ms)[0m [1mCREATE 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, "comments" text) [0m
|
1728
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")
|
1729
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1730
|
+
FROM sqlite_master
|
1731
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1732
|
+
UNION ALL
|
1733
|
+
SELECT sql
|
1734
|
+
FROM sqlite_temp_master
|
1735
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1736
|
+
[0m
|
1737
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")
|
1738
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1739
|
+
FROM sqlite_master
|
1740
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
1741
|
+
UNION ALL
|
1742
|
+
SELECT sql
|
1743
|
+
FROM sqlite_temp_master
|
1744
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
1745
|
+
[0m
|
1746
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1747
|
+
FROM sqlite_master
|
1748
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1749
|
+
UNION ALL
|
1750
|
+
SELECT sql
|
1751
|
+
FROM sqlite_temp_master
|
1752
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1753
|
+
|
1754
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")[0m
|
1755
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1756
|
+
FROM sqlite_master
|
1757
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
|
1758
|
+
UNION ALL
|
1759
|
+
SELECT sql
|
1760
|
+
FROM sqlite_temp_master
|
1761
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
|
1762
|
+
|
1763
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1764
|
+
FROM sqlite_master
|
1765
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
1766
|
+
UNION ALL
|
1767
|
+
SELECT sql
|
1768
|
+
FROM sqlite_temp_master
|
1769
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
1770
|
+
[0m
|
1771
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
1772
|
+
FROM sqlite_master
|
1773
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1774
|
+
UNION ALL
|
1775
|
+
SELECT sql
|
1776
|
+
FROM sqlite_temp_master
|
1777
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1778
|
+
|
1779
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")[0m
|
1780
|
+
[1m[35m (1.0ms)[0m 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)
|
1781
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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) [0m
|
1782
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")
|
1783
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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) [0m
|
1784
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")
|
1785
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1786
|
+
FROM sqlite_master
|
1787
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1788
|
+
UNION ALL
|
1789
|
+
SELECT sql
|
1790
|
+
FROM sqlite_temp_master
|
1791
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1792
|
+
[0m
|
1793
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")
|
1794
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1795
|
+
FROM sqlite_master
|
1796
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
1797
|
+
UNION ALL
|
1798
|
+
SELECT sql
|
1799
|
+
FROM sqlite_temp_master
|
1800
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
1801
|
+
[0m
|
1802
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1803
|
+
FROM sqlite_master
|
1804
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1805
|
+
UNION ALL
|
1806
|
+
SELECT sql
|
1807
|
+
FROM sqlite_temp_master
|
1808
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1809
|
+
|
1810
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")[0m
|
1811
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1812
|
+
FROM sqlite_master
|
1813
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
|
1814
|
+
UNION ALL
|
1815
|
+
SELECT sql
|
1816
|
+
FROM sqlite_temp_master
|
1817
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
|
1818
|
+
|
1819
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1820
|
+
FROM sqlite_master
|
1821
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
1822
|
+
UNION ALL
|
1823
|
+
SELECT sql
|
1824
|
+
FROM sqlite_temp_master
|
1825
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
1826
|
+
[0m
|
1827
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1828
|
+
FROM sqlite_master
|
1829
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1830
|
+
UNION ALL
|
1831
|
+
SELECT sql
|
1832
|
+
FROM sqlite_temp_master
|
1833
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
1834
|
+
|
1835
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")[0m
|
1836
|
+
[1m[35m (1.0ms)[0m 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)
|
1837
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" text, "phone" varchar, "fax" varchar, "www" text, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "european_union_vat_number" varchar) [0m
|
1838
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" text, "title" varchar, "twitter" varchar, "www" text, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar)
|
1839
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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) [0m
|
1840
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")
|
1841
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1842
|
+
FROM sqlite_master
|
1843
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1844
|
+
UNION ALL
|
1845
|
+
SELECT sql
|
1846
|
+
FROM sqlite_temp_master
|
1847
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1848
|
+
[0m
|
1849
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")
|
1850
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1851
|
+
FROM sqlite_master
|
1852
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
1853
|
+
UNION ALL
|
1854
|
+
SELECT sql
|
1855
|
+
FROM sqlite_temp_master
|
1856
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
1857
|
+
[0m
|
1858
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1859
|
+
FROM sqlite_master
|
1860
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1861
|
+
UNION ALL
|
1862
|
+
SELECT sql
|
1863
|
+
FROM sqlite_temp_master
|
1864
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1865
|
+
|
1866
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")[0m
|
1867
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1868
|
+
FROM sqlite_master
|
1869
|
+
WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
|
1870
|
+
UNION ALL
|
1871
|
+
SELECT sql
|
1872
|
+
FROM sqlite_temp_master
|
1873
|
+
WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
|
1874
|
+
|
1875
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1876
|
+
FROM sqlite_master
|
1877
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
1878
|
+
UNION ALL
|
1879
|
+
SELECT sql
|
1880
|
+
FROM sqlite_temp_master
|
1881
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
1882
|
+
[0m
|
1883
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1884
|
+
FROM sqlite_master
|
1885
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1886
|
+
UNION ALL
|
1887
|
+
SELECT sql
|
1888
|
+
FROM sqlite_temp_master
|
1889
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
1890
|
+
|
1891
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")[0m
|
1892
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "dorsale_expense_gun_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "vat_deductible" boolean)
|
1893
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "dorsale_expense_gun_expense_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "expense_id" integer, "category_id" integer, "name" varchar, "date" date, "total_all_taxes" float, "vat" float, "company_part" float, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1894
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_category_id" ON "dorsale_expense_gun_expense_lines" ("category_id")
|
1895
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1896
|
+
FROM sqlite_master
|
1897
|
+
WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'
|
1898
|
+
UNION ALL
|
1899
|
+
SELECT sql
|
1900
|
+
FROM sqlite_temp_master
|
1901
|
+
WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'
|
1902
|
+
[0m
|
1903
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_expense_id" ON "dorsale_expense_gun_expense_lines" ("expense_id")
|
1904
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "dorsale_expense_gun_expenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" varchar, "date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1905
|
+
[1m[35m (1.1ms)[0m 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)
|
1906
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")[0m
|
1907
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1908
|
+
FROM sqlite_master
|
1909
|
+
WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
|
1910
|
+
UNION ALL
|
1911
|
+
SELECT sql
|
1912
|
+
FROM sqlite_temp_master
|
1913
|
+
WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
|
1914
|
+
|
1915
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")[0m
|
1916
|
+
[1m[35m (1.1ms)[0m 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)
|
1917
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")[0m
|
1918
|
+
[1m[35m (1.1ms)[0m 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)
|
1919
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")[0m
|
1920
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1921
|
+
FROM sqlite_master
|
1922
|
+
WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
|
1923
|
+
UNION ALL
|
1924
|
+
SELECT sql
|
1925
|
+
FROM sqlite_temp_master
|
1926
|
+
WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
|
1927
|
+
|
1928
|
+
[1m[36m (1.1ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")[0m
|
1929
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
1930
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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) [0m
|
1931
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")
|
1932
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1933
|
+
FROM sqlite_master
|
1934
|
+
WHERE name='taggings_idx' AND type='index'
|
1935
|
+
UNION ALL
|
1936
|
+
SELECT sql
|
1937
|
+
FROM sqlite_temp_master
|
1938
|
+
WHERE name='taggings_idx' AND type='index'
|
1939
|
+
[0m
|
1940
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
|
1941
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0) [0m
|
1942
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")
|
1943
|
+
[1m[36m (1.2ms)[0m [1mCREATE 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, "avatar" varchar) [0m
|
1944
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
1945
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
1946
|
+
FROM sqlite_master
|
1947
|
+
WHERE name='index_users_on_email' AND type='index'
|
1948
|
+
UNION ALL
|
1949
|
+
SELECT sql
|
1950
|
+
FROM sqlite_temp_master
|
1951
|
+
WHERE name='index_users_on_email' AND type='index'
|
1952
|
+
[0m
|
1953
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
1954
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
1955
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1956
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1957
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160125201025')
|
1958
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150616082916')[0m
|
1959
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081204')
|
1960
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150624081205')[0m
|
1961
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081206')
|
1962
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150624081207')[0m
|
1963
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150624081208')
|
1964
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150803160334')[0m
|
1965
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1966
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1967
|
+
Migrating to CreateDorsaleAddresses (20141010140200)
|
1968
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1969
|
+
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
1970
|
+
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)
|
1971
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1972
|
+
[1m[36m (2.6ms)[0m [1mDROP TABLE "dorsale_addresses"[0m
|
1973
|
+
[1m[35m (1.1ms)[0m 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)
|
1974
|
+
[1m[36m (1.0ms)[0m [1mDROP TABLE "dorsale_alexandrie_attachments"[0m
|
1975
|
+
[1m[35m (1.0ms)[0m 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)
|
1976
|
+
[1m[36m (1.0ms)[0m [1mDROP TABLE "dorsale_billing_machine_id_cards"[0m
|
1977
|
+
[1m[35m (1.5ms)[0m 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)
|
1978
|
+
[1m[36m (1.1ms)[0m [1mDROP TABLE "dorsale_billing_machine_invoice_lines"[0m
|
1979
|
+
[1m[35m (1.1ms)[0m 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)
|
1980
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
1981
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoice_lines_on_invoice_id" ON "dorsale_billing_machine_invoice_lines" ("invoice_id")
|
1982
|
+
[1m[36m (1.5ms)[0m [1mDROP TABLE "dorsale_billing_machine_invoices"[0m
|
1983
|
+
[1m[35m (1.4ms)[0m 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, "comments" text)
|
1984
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_id" ON "dorsale_billing_machine_invoices" ("customer_id")[0m
|
1985
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1986
|
+
FROM sqlite_master
|
1987
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1988
|
+
UNION ALL
|
1989
|
+
SELECT sql
|
1990
|
+
FROM sqlite_temp_master
|
1991
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
1992
|
+
|
1993
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_invoices_on_customer_type" ON "dorsale_billing_machine_invoices" ("customer_type")[0m
|
1994
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
1995
|
+
FROM sqlite_master
|
1996
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
1997
|
+
UNION ALL
|
1998
|
+
SELECT sql
|
1999
|
+
FROM sqlite_temp_master
|
2000
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
2001
|
+
|
2002
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
2003
|
+
FROM sqlite_master
|
2004
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
2005
|
+
UNION ALL
|
2006
|
+
SELECT sql
|
2007
|
+
FROM sqlite_temp_master
|
2008
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
2009
|
+
[0m
|
2010
|
+
[1m[35m (1.7ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoices_on_id_card_id" ON "dorsale_billing_machine_invoices" ("id_card_id")
|
2011
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
2012
|
+
FROM sqlite_master
|
2013
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
|
2014
|
+
UNION ALL
|
2015
|
+
SELECT sql
|
2016
|
+
FROM sqlite_temp_master
|
2017
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_id_card_id' AND type='index'
|
2018
|
+
[0m
|
2019
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
2020
|
+
FROM sqlite_master
|
2021
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
2022
|
+
UNION ALL
|
2023
|
+
SELECT sql
|
2024
|
+
FROM sqlite_temp_master
|
2025
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_type' AND type='index'
|
2026
|
+
|
2027
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
2028
|
+
FROM sqlite_master
|
2029
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
2030
|
+
UNION ALL
|
2031
|
+
SELECT sql
|
2032
|
+
FROM sqlite_temp_master
|
2033
|
+
WHERE name='index_dorsale_billing_machine_invoices_on_customer_id' AND type='index'
|
2034
|
+
[0m
|
2035
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "index_dorsale_billing_machine_invoices_on_payment_term_id" ON "dorsale_billing_machine_invoices" ("payment_term_id")
|
2036
|
+
[1m[36m (1.0ms)[0m [1mDROP TABLE "dorsale_billing_machine_payment_terms"[0m
|
2037
|
+
[1m[35m (0.9ms)[0m 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)
|
2038
|
+
[1m[36m (1.0ms)[0m [1mDROP TABLE "dorsale_billing_machine_quotation_lines"[0m
|
2039
|
+
[1m[35m (1.0ms)[0m 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)
|
2040
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_quotation_lines_on_quotation_id" ON "dorsale_billing_machine_quotation_lines" ("quotation_id")[0m
|
2041
|
+
[1m[35m (1.2ms)[0m DROP TABLE "dorsale_billing_machine_quotations"
|
2042
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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) [0m
|
2043
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_id" ON "dorsale_billing_machine_quotations" ("customer_id")
|
2044
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
2045
|
+
FROM sqlite_master
|
2046
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
2047
|
+
UNION ALL
|
2048
|
+
SELECT sql
|
2049
|
+
FROM sqlite_temp_master
|
2050
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
2051
|
+
[0m
|
2052
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_dorsale_billing_machine_quotations_on_customer_type" ON "dorsale_billing_machine_quotations" ("customer_type")
|
2053
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
2054
|
+
FROM sqlite_master
|
2055
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
2056
|
+
UNION ALL
|
2057
|
+
SELECT sql
|
2058
|
+
FROM sqlite_temp_master
|
2059
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
2060
|
+
[0m
|
2061
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
2062
|
+
FROM sqlite_master
|
2063
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
2064
|
+
UNION ALL
|
2065
|
+
SELECT sql
|
2066
|
+
FROM sqlite_temp_master
|
2067
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
2068
|
+
|
2069
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_quotations_on_id_card_id" ON "dorsale_billing_machine_quotations" ("id_card_id")[0m
|
2070
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
2071
|
+
FROM sqlite_master
|
2072
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
|
2073
|
+
UNION ALL
|
2074
|
+
SELECT sql
|
2075
|
+
FROM sqlite_temp_master
|
2076
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_id_card_id' AND type='index'
|
2077
|
+
|
2078
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
2079
|
+
FROM sqlite_master
|
2080
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
2081
|
+
UNION ALL
|
2082
|
+
SELECT sql
|
2083
|
+
FROM sqlite_temp_master
|
2084
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_type' AND type='index'
|
2085
|
+
[0m
|
2086
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
2087
|
+
FROM sqlite_master
|
2088
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
2089
|
+
UNION ALL
|
2090
|
+
SELECT sql
|
2091
|
+
FROM sqlite_temp_master
|
2092
|
+
WHERE name='index_dorsale_billing_machine_quotations_on_customer_id' AND type='index'
|
2093
|
+
|
2094
|
+
[1m[36m (1.4ms)[0m [1mCREATE INDEX "index_dorsale_billing_machine_quotations_on_payment_term_id" ON "dorsale_billing_machine_quotations" ("payment_term_id")[0m
|
2095
|
+
[1m[35m (1.2ms)[0m DROP TABLE "dorsale_comments"
|
2096
|
+
[1m[36m (1.2ms)[0m [1mCREATE 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) [0m
|
2097
|
+
[1m[35m (1.4ms)[0m DROP TABLE "dorsale_customer_vault_corporations"
|
2098
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "dorsale_customer_vault_corporations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "short_name" varchar, "email" text, "phone" varchar, "fax" varchar, "www" text, "legal_form" varchar, "capital" integer, "immatriculation_number_1" varchar, "immatriculation_number_2" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "european_union_vat_number" varchar) [0m
|
2099
|
+
[1m[35m (2.4ms)[0m DROP TABLE "dorsale_customer_vault_individuals"
|
2100
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "dorsale_customer_vault_individuals" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "short_name" varchar, "email" text, "title" varchar, "twitter" varchar, "www" text, "context" text, "phone" varchar, "fax" varchar, "mobile" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "skype" varchar) [0m
|
2101
|
+
[1m[35m (1.3ms)[0m DROP TABLE "dorsale_customer_vault_links"
|
2102
|
+
[1m[36m (0.9ms)[0m [1mCREATE 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) [0m
|
2103
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_dorsale_customer_vault_links_on_alice_id" ON "dorsale_customer_vault_links" ("alice_id")
|
2104
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
2105
|
+
FROM sqlite_master
|
2106
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
2107
|
+
UNION ALL
|
2108
|
+
SELECT sql
|
2109
|
+
FROM sqlite_temp_master
|
2110
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
2111
|
+
[0m
|
2112
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_dorsale_customer_vault_links_on_alice_type" ON "dorsale_customer_vault_links" ("alice_type")
|
2113
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
2114
|
+
FROM sqlite_master
|
2115
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
2116
|
+
UNION ALL
|
2117
|
+
SELECT sql
|
2118
|
+
FROM sqlite_temp_master
|
2119
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
2120
|
+
[0m
|
2121
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
2122
|
+
FROM sqlite_master
|
2123
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
2124
|
+
UNION ALL
|
2125
|
+
SELECT sql
|
2126
|
+
FROM sqlite_temp_master
|
2127
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
2128
|
+
|
2129
|
+
[1m[36m (1.2ms)[0m [1mCREATE INDEX "index_dorsale_customer_vault_links_on_bob_id" ON "dorsale_customer_vault_links" ("bob_id")[0m
|
2130
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
2131
|
+
FROM sqlite_master
|
2132
|
+
WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
|
2133
|
+
UNION ALL
|
2134
|
+
SELECT sql
|
2135
|
+
FROM sqlite_temp_master
|
2136
|
+
WHERE name='index_dorsale_customer_vault_links_on_bob_id' AND type='index'
|
2137
|
+
|
2138
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
2139
|
+
FROM sqlite_master
|
2140
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
2141
|
+
UNION ALL
|
2142
|
+
SELECT sql
|
2143
|
+
FROM sqlite_temp_master
|
2144
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_type' AND type='index'
|
2145
|
+
[0m
|
2146
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
2147
|
+
FROM sqlite_master
|
2148
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
2149
|
+
UNION ALL
|
2150
|
+
SELECT sql
|
2151
|
+
FROM sqlite_temp_master
|
2152
|
+
WHERE name='index_dorsale_customer_vault_links_on_alice_id' AND type='index'
|
2153
|
+
|
2154
|
+
[1m[36m (1.4ms)[0m [1mCREATE INDEX "index_dorsale_customer_vault_links_on_bob_type" ON "dorsale_customer_vault_links" ("bob_type")[0m
|
2155
|
+
[1m[35m (1.3ms)[0m DROP TABLE "dorsale_expense_gun_categories"
|
2156
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "dorsale_expense_gun_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "vat_deductible" boolean) [0m
|
2157
|
+
[1m[35m (1.6ms)[0m DROP TABLE "dorsale_expense_gun_expense_lines"
|
2158
|
+
[1m[36m (1.7ms)[0m [1mCREATE TABLE "dorsale_expense_gun_expense_lines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "expense_id" integer, "category_id" integer, "name" varchar, "date" date, "total_all_taxes" float, "vat" float, "company_part" float, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2159
|
+
[1m[35m (1.8ms)[0m CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_category_id" ON "dorsale_expense_gun_expense_lines" ("category_id")
|
2160
|
+
[1m[36m (0.3ms)[0m [1m SELECT sql
|
2161
|
+
FROM sqlite_master
|
2162
|
+
WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'
|
2163
|
+
UNION ALL
|
2164
|
+
SELECT sql
|
2165
|
+
FROM sqlite_temp_master
|
2166
|
+
WHERE name='index_dorsale_expense_gun_expense_lines_on_category_id' AND type='index'
|
2167
|
+
[0m
|
2168
|
+
[1m[35m (2.6ms)[0m CREATE INDEX "index_dorsale_expense_gun_expense_lines_on_expense_id" ON "dorsale_expense_gun_expense_lines" ("expense_id")
|
2169
|
+
[1m[36m (1.2ms)[0m [1mDROP TABLE "dorsale_expense_gun_expenses"[0m
|
2170
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "dorsale_expense_gun_expenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" varchar, "date" date, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
2171
|
+
[1m[36m (1.2ms)[0m [1mDROP TABLE "dorsale_flyboy_folders"[0m
|
2172
|
+
[1m[35m (2.6ms)[0m 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)
|
2173
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_folders_on_folderable_id" ON "dorsale_flyboy_folders" ("folderable_id")[0m
|
2174
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
2175
|
+
FROM sqlite_master
|
2176
|
+
WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
|
2177
|
+
UNION ALL
|
2178
|
+
SELECT sql
|
2179
|
+
FROM sqlite_temp_master
|
2180
|
+
WHERE name='index_dorsale_flyboy_folders_on_folderable_id' AND type='index'
|
2181
|
+
|
2182
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_folders_on_folderable_type" ON "dorsale_flyboy_folders" ("folderable_type")[0m
|
2183
|
+
[1m[35m (1.1ms)[0m DROP TABLE "dorsale_flyboy_task_comments"
|
2184
|
+
[1m[36m (1.1ms)[0m [1mCREATE 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) [0m
|
2185
|
+
[1m[35m (2.3ms)[0m CREATE INDEX "index_dorsale_flyboy_task_comments_on_task_id" ON "dorsale_flyboy_task_comments" ("task_id")
|
2186
|
+
[1m[36m (1.4ms)[0m [1mDROP TABLE "dorsale_flyboy_tasks"[0m
|
2187
|
+
[1m[35m (1.9ms)[0m 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)
|
2188
|
+
[1m[36m (1.5ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_id" ON "dorsale_flyboy_tasks" ("taskable_id")[0m
|
2189
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
2190
|
+
FROM sqlite_master
|
2191
|
+
WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
|
2192
|
+
UNION ALL
|
2193
|
+
SELECT sql
|
2194
|
+
FROM sqlite_temp_master
|
2195
|
+
WHERE name='index_dorsale_flyboy_tasks_on_taskable_id' AND type='index'
|
2196
|
+
|
2197
|
+
[1m[36m (1.5ms)[0m [1mCREATE INDEX "index_dorsale_flyboy_tasks_on_taskable_type" ON "dorsale_flyboy_tasks" ("taskable_type")[0m
|
2198
|
+
[1m[35m (2.0ms)[0m DROP TABLE "dummy_models"
|
2199
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "dummy_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
2200
|
+
[1m[35m (1.4ms)[0m DROP TABLE "taggings"
|
2201
|
+
[1m[36m (1.2ms)[0m [1mCREATE 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) [0m
|
2202
|
+
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "taggings_idx" ON "taggings" ("tag_id", "taggable_id", "taggable_type", "context", "tagger_id", "tagger_type")
|
2203
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
2204
|
+
FROM sqlite_master
|
2205
|
+
WHERE name='taggings_idx' AND type='index'
|
2206
|
+
UNION ALL
|
2207
|
+
SELECT sql
|
2208
|
+
FROM sqlite_temp_master
|
2209
|
+
WHERE name='taggings_idx' AND type='index'
|
2210
|
+
[0m
|
2211
|
+
[1m[35m (2.6ms)[0m CREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")
|
2212
|
+
[1m[36m (1.1ms)[0m [1mDROP TABLE "tags"[0m
|
2213
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "taggings_count" integer DEFAULT 0)
|
2214
|
+
[1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "index_tags_on_name" ON "tags" ("name")[0m
|
2215
|
+
[1m[35m (1.6ms)[0m DROP TABLE "users"
|
2216
|
+
[1m[36m (1.6ms)[0m [1mCREATE 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, "avatar" varchar) [0m
|
2217
|
+
[1m[35m (1.9ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
2218
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
2219
|
+
FROM sqlite_master
|
2220
|
+
WHERE name='index_users_on_email' AND type='index'
|
2221
|
+
UNION ALL
|
2222
|
+
SELECT sql
|
2223
|
+
FROM sqlite_temp_master
|
2224
|
+
WHERE name='index_users_on_email' AND type='index'
|
2225
|
+
[0m
|
2226
|
+
[1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
2227
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
2228
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20141010140200')
|
2229
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20141014072756')[0m
|
2230
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150312083147')
|
2231
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150616074852')[0m
|
2232
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150622075000')
|
2233
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150622075038')[0m
|
2234
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150622105217')
|
2235
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150623093218')[0m
|
2236
|
+
[1m[35m (2.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150625093326')
|
2237
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150625131155')[0m
|
2238
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150803152643')
|
2239
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150805133509')[0m
|
2240
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150805134318')
|
2241
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151012181412')[0m
|
2242
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151019100134')
|
2243
|
+
[1m[36m (1.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151023135421')[0m
|
2244
|
+
[1m[35m (1.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151103110115')
|
2245
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151116143024')[0m
|
2246
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151120122613')
|
2247
|
+
[1m[36m (1.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151126132304')[0m
|
2248
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151126142254')
|
2249
|
+
[1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151216104428')[0m
|
2250
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20151216124705')
|
2251
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20151230104012')[0m
|
2252
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160104105725')
|
2253
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2254
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2255
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2256
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2257
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2258
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2259
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2260
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2261
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2262
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2263
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2264
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2265
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2266
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2267
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2268
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2269
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2270
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Guerin SAS SARL"], ["short_name", "SN"], ["email", "alice@giraud.net"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://schmitt.info/alexis.guerin"], ["created_at", "2016-03-09 09:07:54.206211"], ["updated_at", "2016-03-09 09:07:54.206211"]]
|
2271
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2272
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2273
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:07:54.236151"], ["updated_at", "2016-03-09 09:07:54.236151"]]
|
2274
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2275
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2276
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term harum voluptate fuga"], ["created_at", "2016-03-09 09:07:54.241528"], ["updated_at", "2016-03-09 09:07:54.241528"]]
|
2277
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2278
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2279
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:07:54.269158"], ["updated_at", "2016-03-09 09:07:54.269158"]]
|
2280
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2281
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2282
|
+
[1m[35m (0.1ms)[0m SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
|
2283
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-04-09"], ["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", "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", "2016-03-09 09:07:54.289915"], ["updated_at", "2016-03-09 09:07:54.289915"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2284
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2285
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2286
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation linenihil quia ipsa"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:07:54.295270"], ["updated_at", "2016-03-09 09:07:54.295270"]]
|
2287
|
+
[1m[36mDorsale::BillingMachine::Quotation Load (0.2ms)[0m [1mSELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1[0m [["id", 1]]
|
2288
|
+
[1m[35mDorsale::BillingMachine::QuotationLine Load (0.2ms)[0m 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]]
|
2289
|
+
[1m[36mDorsale::BillingMachine::IdCard Load (0.3ms)[0m [1mSELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1[0m [["id", 1]]
|
2290
|
+
[1m[35mSQL (0.2ms)[0m 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", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:07:54.314223"], ["id", 1]]
|
2291
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2292
|
+
[1m[35m (1.3ms)[0m rollback transaction
|
2293
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2294
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2295
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Perrot SAS SARL"], ["short_name", "SN"], ["email", "benjamin_philippe@lefebvre.eu"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://durand.net/thomas_laurent"], ["created_at", "2016-03-09 09:07:54.327665"], ["updated_at", "2016-03-09 09:07:54.327665"]]
|
2296
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2297
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2298
|
+
[1m[35mSQL (0.4ms)[0m 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", "2016-03-09 09:07:54.330715"], ["updated_at", "2016-03-09 09:07:54.330715"]]
|
2299
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2300
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2301
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["label", "Payment term at ea sed"], ["created_at", "2016-03-09 09:07:54.332872"], ["updated_at", "2016-03-09 09:07:54.332872"]]
|
2302
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2303
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2304
|
+
[1m[35mSQL (0.1ms)[0m 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", "2016-03-09 09:07:54.336108"], ["updated_at", "2016-03-09 09:07:54.336108"]]
|
2305
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2306
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2307
|
+
[1m[36m (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"[0m
|
2308
|
+
[1m[35mSQL (0.2ms)[0m 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-04-09"], ["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", "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", "2016-03-09 09:07:54.339886"], ["updated_at", "2016-03-09 09:07:54.339886"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2309
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2310
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2311
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation linevero quia voluptates"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:07:54.343978"], ["updated_at", "2016-03-09 09:07:54.343978"]]
|
2312
|
+
[1m[35mDorsale::BillingMachine::Quotation Load (0.1ms)[0m SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
|
2313
|
+
[1m[36mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m [1mSELECT "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[0m [["quotation_id", 1]]
|
2314
|
+
[1m[35mDorsale::BillingMachine::IdCard Load (0.1ms)[0m SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
|
2315
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ?[0m [["total_excluding_taxes", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:07:54.350271"], ["id", 1]]
|
2316
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2317
|
+
[1m[36m (1.3ms)[0m [1mrollback transaction[0m
|
2318
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2319
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2320
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Colin SEM SA"], ["short_name", "SN"], ["email", "clia_lucas@colin.com"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://guyot.com/alexandre"], ["created_at", "2016-03-09 09:07:54.359742"], ["updated_at", "2016-03-09 09:07:54.359742"]]
|
2321
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2322
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2323
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:07:54.363679"], ["updated_at", "2016-03-09 09:07:54.363679"]]
|
2324
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2325
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2326
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term blanditiis voluptates suscipit"], ["created_at", "2016-03-09 09:07:54.367039"], ["updated_at", "2016-03-09 09:07:54.367039"]]
|
2327
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2328
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2329
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:07:54.371185"], ["updated_at", "2016-03-09 09:07:54.371185"]]
|
2330
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2331
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2332
|
+
[1m[35m (0.1ms)[0m SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
|
2333
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-04-09"], ["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", "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", "2016-03-09 09:07:54.374996"], ["updated_at", "2016-03-09 09:07:54.374996"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2334
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2335
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2336
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation linesunt dignissimos consequatur"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:07:54.378697"], ["updated_at", "2016-03-09 09:07:54.378697"]]
|
2337
|
+
[1m[36mDorsale::BillingMachine::Quotation Load (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1[0m [["id", 1]]
|
2338
|
+
[1m[35mDorsale::BillingMachine::QuotationLine Load (0.2ms)[0m 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]]
|
2339
|
+
[1m[36mDorsale::BillingMachine::IdCard Load (0.1ms)[0m [1mSELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1[0m [["id", 1]]
|
2340
|
+
[1m[35mSQL (0.1ms)[0m 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", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:07:54.384438"], ["id", 1]]
|
2341
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2342
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
2343
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2344
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2345
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Marie EI EURL"], ["short_name", "SN"], ["email", "charlotte@pons.org"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://boyer.eu/anas"], ["created_at", "2016-03-09 09:07:54.393092"], ["updated_at", "2016-03-09 09:07:54.393092"]]
|
2346
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2347
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2348
|
+
[1m[35mSQL (0.4ms)[0m 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", "2016-03-09 09:07:54.396166"], ["updated_at", "2016-03-09 09:07:54.396166"]]
|
2349
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2350
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2351
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["label", "Payment term aut nam cum"], ["created_at", "2016-03-09 09:07:54.398660"], ["updated_at", "2016-03-09 09:07:54.398660"]]
|
2352
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2353
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2354
|
+
[1m[35mSQL (0.2ms)[0m 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", "2016-03-09 09:07:54.402277"], ["updated_at", "2016-03-09 09:07:54.402277"]]
|
2355
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2356
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2357
|
+
[1m[36m (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"[0m
|
2358
|
+
[1m[35mSQL (0.2ms)[0m 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-04-09"], ["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", "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", "2016-03-09 09:07:54.407758"], ["updated_at", "2016-03-09 09:07:54.407758"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2359
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2360
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2361
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation linequi vel nesciunt"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:07:54.410728"], ["updated_at", "2016-03-09 09:07:54.410728"]]
|
2362
|
+
[1m[35mDorsale::BillingMachine::Quotation Load (0.0ms)[0m SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
|
2363
|
+
[1m[36mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m [1mSELECT "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[0m [["quotation_id", 1]]
|
2364
|
+
[1m[35mDorsale::BillingMachine::IdCard Load (0.1ms)[0m SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
|
2365
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ?[0m [["total_excluding_taxes", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:07:54.415321"], ["id", 1]]
|
2366
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2367
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
2368
|
+
[1m[35m (0.3ms)[0m begin transaction
|
2369
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2370
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Carre et Dumont GIE"], ["short_name", "SN"], ["email", "laura.marchal@brunet.name"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://joly.net/charlotte.robert"], ["created_at", "2016-03-09 09:07:54.425676"], ["updated_at", "2016-03-09 09:07:54.425676"]]
|
2371
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2372
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2373
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:07:54.428854"], ["updated_at", "2016-03-09 09:07:54.428854"]]
|
2374
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2375
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2376
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term est itaque dignissimos"], ["created_at", "2016-03-09 09:07:54.431510"], ["updated_at", "2016-03-09 09:07:54.431510"]]
|
2377
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2378
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2379
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:07:54.434118"], ["updated_at", "2016-03-09 09:07:54.434118"]]
|
2380
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2381
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2382
|
+
[1m[35m (0.1ms)[0m SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
|
2383
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-04-09"], ["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", "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", "2016-03-09 09:07:54.440300"], ["updated_at", "2016-03-09 09:07:54.440300"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2384
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2385
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2386
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation linecorrupti dolorem culpa"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:07:54.443821"], ["updated_at", "2016-03-09 09:07:54.443821"]]
|
2387
|
+
[1m[36mDorsale::BillingMachine::Quotation Load (0.0ms)[0m [1mSELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1[0m [["id", 1]]
|
2388
|
+
[1m[35mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m 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]]
|
2389
|
+
[1m[36mDorsale::BillingMachine::IdCard Load (0.0ms)[0m [1mSELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1[0m [["id", 1]]
|
2390
|
+
[1m[35mSQL (0.1ms)[0m 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", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:07:54.448094"], ["id", 1]]
|
2391
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2392
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
2393
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2394
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2395
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Leclercq SAS EURL"], ["short_name", "SN"], ["email", "ocane@leroy.org"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://le.eu/maeva.riviere"], ["created_at", "2016-03-09 09:07:54.459998"], ["updated_at", "2016-03-09 09:07:54.459998"]]
|
2396
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2397
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2398
|
+
[1m[35mSQL (0.3ms)[0m 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", "2016-03-09 09:07:54.463113"], ["updated_at", "2016-03-09 09:07:54.463113"]]
|
2399
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2400
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2401
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["label", "Payment term repellat dicta quis"], ["created_at", "2016-03-09 09:07:54.465886"], ["updated_at", "2016-03-09 09:07:54.465886"]]
|
2402
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2403
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2404
|
+
[1m[35mSQL (0.2ms)[0m 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", "2016-03-09 09:07:54.468637"], ["updated_at", "2016-03-09 09:07:54.468637"]]
|
2405
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2406
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2407
|
+
[1m[36m (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"[0m
|
2408
|
+
[1m[35mSQL (0.2ms)[0m 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-04-09"], ["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", "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", "2016-03-09 09:07:54.474555"], ["updated_at", "2016-03-09 09:07:54.474555"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2409
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2410
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2411
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation lineipsam quisquam qui"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:07:54.477789"], ["updated_at", "2016-03-09 09:07:54.477789"]]
|
2412
|
+
[1m[35mDorsale::BillingMachine::Quotation Load (0.0ms)[0m SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
|
2413
|
+
[1m[36mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m [1mSELECT "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[0m [["quotation_id", 1]]
|
2414
|
+
[1m[35mDorsale::BillingMachine::IdCard Load (0.0ms)[0m SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
|
2415
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ?[0m [["total_excluding_taxes", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:07:54.483612"], ["id", 1]]
|
2416
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2417
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
2418
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2419
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2420
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Henry SCOP SCOP"], ["short_name", "SN"], ["email", "maeva.leroux@guerin.fr"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://vaeur.name/ocane_dupuis"], ["created_at", "2016-03-09 09:07:54.494265"], ["updated_at", "2016-03-09 09:07:54.494265"]]
|
2421
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2422
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2423
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:07:54.497482"], ["updated_at", "2016-03-09 09:07:54.497482"]]
|
2424
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2425
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2426
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term illo molestiae laudantium"], ["created_at", "2016-03-09 09:07:54.500291"], ["updated_at", "2016-03-09 09:07:54.500291"]]
|
2427
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2428
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2429
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:07:54.503807"], ["updated_at", "2016-03-09 09:07:54.503807"]]
|
2430
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2431
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2432
|
+
[1m[35m (0.1ms)[0m SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
|
2433
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-04-09"], ["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", "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", "2016-03-09 09:07:54.508879"], ["updated_at", "2016-03-09 09:07:54.508879"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2434
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2435
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2436
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation linelibero quia aut"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:07:54.512155"], ["updated_at", "2016-03-09 09:07:54.512155"]]
|
2437
|
+
[1m[36mDorsale::BillingMachine::Quotation Load (0.0ms)[0m [1mSELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1[0m [["id", 1]]
|
2438
|
+
[1m[35mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m 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]]
|
2439
|
+
[1m[36mDorsale::BillingMachine::IdCard Load (0.0ms)[0m [1mSELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1[0m [["id", 1]]
|
2440
|
+
[1m[35mSQL (0.1ms)[0m 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", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:07:54.516460"], ["id", 1]]
|
2441
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2442
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
2443
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2444
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2445
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Pons et Arnaud EURL"], ["short_name", "SN"], ["email", "juliette@lecomte.info"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://prevost.eu/noah"], ["created_at", "2016-03-09 09:07:54.526906"], ["updated_at", "2016-03-09 09:07:54.526906"]]
|
2446
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2447
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2448
|
+
[1m[35mSQL (0.3ms)[0m 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", "2016-03-09 09:07:54.531735"], ["updated_at", "2016-03-09 09:07:54.531735"]]
|
2449
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2450
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2451
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["label", "Payment term esse aperiam laboriosam"], ["created_at", "2016-03-09 09:07:54.534147"], ["updated_at", "2016-03-09 09:07:54.534147"]]
|
2452
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2453
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2454
|
+
[1m[35mSQL (0.2ms)[0m 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", "2016-03-09 09:07:54.537523"], ["updated_at", "2016-03-09 09:07:54.537523"]]
|
2455
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2456
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2457
|
+
[1m[36m (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"[0m
|
2458
|
+
[1m[35mSQL (0.4ms)[0m 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-04-09"], ["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", "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", "2016-03-09 09:07:54.542586"], ["updated_at", "2016-03-09 09:07:54.542586"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2459
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2460
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2461
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation lineconsequatur ullam vero"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:07:54.546435"], ["updated_at", "2016-03-09 09:07:54.546435"]]
|
2462
|
+
[1m[35mDorsale::BillingMachine::Quotation Load (0.0ms)[0m SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
|
2463
|
+
[1m[36mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m [1mSELECT "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[0m [["quotation_id", 1]]
|
2464
|
+
[1m[35mDorsale::BillingMachine::IdCard Load (0.1ms)[0m SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
|
2465
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ?[0m [["total_excluding_taxes", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:07:54.551200"], ["id", 1]]
|
2466
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2467
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
2468
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2469
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2470
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Carpentier et Renard SEM"], ["short_name", "SN"], ["email", "justine@brunet.name"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://gerard.com/enzo_richard"], ["created_at", "2016-03-09 09:07:54.561196"], ["updated_at", "2016-03-09 09:07:54.561196"]]
|
2471
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2472
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2473
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:07:54.565428"], ["updated_at", "2016-03-09 09:07:54.565428"]]
|
2474
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2475
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2476
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term qui quia quae"], ["created_at", "2016-03-09 09:07:54.568141"], ["updated_at", "2016-03-09 09:07:54.568141"]]
|
2477
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2478
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_1
|
2479
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:07:54.571721"], ["updated_at", "2016-03-09 09:07:54.571721"]]
|
2480
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2481
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2482
|
+
[1m[35m (0.1ms)[0m SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
|
2483
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-04-09"], ["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", "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", "2016-03-09 09:07:54.576111"], ["updated_at", "2016-03-09 09:07:54.576111"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2484
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2485
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2486
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation lineveniam voluptatem blanditiis"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:07:54.579843"], ["updated_at", "2016-03-09 09:07:54.579843"]]
|
2487
|
+
[1m[36mDorsale::BillingMachine::Quotation Load (0.0ms)[0m [1mSELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1[0m [["id", 1]]
|
2488
|
+
[1m[35mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m 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]]
|
2489
|
+
[1m[36mDorsale::BillingMachine::IdCard Load (0.0ms)[0m [1mSELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1[0m [["id", 1]]
|
2490
|
+
[1m[35mSQL (0.1ms)[0m 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", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:07:54.583945"], ["id", 1]]
|
2491
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2492
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
2493
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2494
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2495
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Martinez et Girard SA"], ["short_name", "SN"], ["email", "emilie@robert.com"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://rodriguez.name/lucas_schmitt"], ["created_at", "2016-03-09 09:07:54.592274"], ["updated_at", "2016-03-09 09:07:54.592274"]]
|
2496
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2497
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2498
|
+
[1m[35mSQL (0.4ms)[0m 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", "2016-03-09 09:07:54.596708"], ["updated_at", "2016-03-09 09:07:54.596708"]]
|
2499
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2500
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2501
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["label", "Payment term neque ut voluptas"], ["created_at", "2016-03-09 09:07:54.600318"], ["updated_at", "2016-03-09 09:07:54.600318"]]
|
2502
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2503
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2504
|
+
[1m[35mSQL (0.2ms)[0m 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", "2016-03-09 09:07:54.603304"], ["updated_at", "2016-03-09 09:07:54.603304"]]
|
2505
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2506
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2507
|
+
[1m[36m (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"[0m
|
2508
|
+
[1m[35mSQL (0.2ms)[0m 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-04-09"], ["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", "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", "2016-03-09 09:07:54.608644"], ["updated_at", "2016-03-09 09:07:54.608644"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2509
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2510
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2511
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation linerem nisi et"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:07:54.611694"], ["updated_at", "2016-03-09 09:07:54.611694"]]
|
2512
|
+
[1m[35mDorsale::BillingMachine::Quotation Load (0.0ms)[0m SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
|
2513
|
+
[1m[36mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m [1mSELECT "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[0m [["quotation_id", 1]]
|
2514
|
+
[1m[35mDorsale::BillingMachine::IdCard Load (0.0ms)[0m SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
|
2515
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ?[0m [["total_excluding_taxes", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:07:54.616395"], ["id", 1]]
|
2516
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2517
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
2518
|
+
[1m[35m (0.2ms)[0m begin transaction
|
2519
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2520
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2521
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2522
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2523
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2524
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2525
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2526
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2527
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2528
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2529
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2530
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2531
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2532
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2533
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2534
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2535
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2536
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2537
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Bourgeois et Gerard SARL"], ["short_name", "SN"], ["email", "lina_schmitt@olivier.org"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://philippe.org/louis"], ["created_at", "2016-03-09 09:08:08.573510"], ["updated_at", "2016-03-09 09:08:08.573510"]]
|
2538
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2539
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2540
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:08:08.603665"], ["updated_at", "2016-03-09 09:08:08.603665"]]
|
2541
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2542
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2543
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term pariatur natus nisi"], ["created_at", "2016-03-09 09:08:08.609168"], ["updated_at", "2016-03-09 09:08:08.609168"]]
|
2544
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2545
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2546
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:08:08.637008"], ["updated_at", "2016-03-09 09:08:08.637008"]]
|
2547
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2548
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2549
|
+
[1m[35m (0.1ms)[0m SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
|
2550
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-04-09"], ["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", "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", "2016-03-09 09:08:08.658054"], ["updated_at", "2016-03-09 09:08:08.658054"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2551
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2552
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2553
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation linefuga voluptatem ut"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:08:08.662707"], ["updated_at", "2016-03-09 09:08:08.662707"]]
|
2554
|
+
[1m[36mDorsale::BillingMachine::Quotation Load (0.3ms)[0m [1mSELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1[0m [["id", 1]]
|
2555
|
+
[1m[35mDorsale::BillingMachine::QuotationLine Load (0.3ms)[0m 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]]
|
2556
|
+
[1m[36mDorsale::BillingMachine::IdCard Load (0.2ms)[0m [1mSELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1[0m [["id", 1]]
|
2557
|
+
[1m[35mSQL (0.2ms)[0m 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", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:08:08.677880"], ["id", 1]]
|
2558
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2559
|
+
[1m[35m (2.3ms)[0m rollback transaction
|
2560
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2561
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2562
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Fontaine SEM EI"], ["short_name", "SN"], ["email", "laura@blanc.info"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://duval.name/lucie"], ["created_at", "2016-03-09 09:08:08.692302"], ["updated_at", "2016-03-09 09:08:08.692302"]]
|
2563
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2564
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2565
|
+
[1m[35mSQL (0.4ms)[0m 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", "2016-03-09 09:08:08.695602"], ["updated_at", "2016-03-09 09:08:08.695602"]]
|
2566
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2567
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2568
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["label", "Payment term quia quibusdam vel"], ["created_at", "2016-03-09 09:08:08.699413"], ["updated_at", "2016-03-09 09:08:08.699413"]]
|
2569
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2570
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2571
|
+
[1m[35mSQL (0.2ms)[0m 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", "2016-03-09 09:08:08.702007"], ["updated_at", "2016-03-09 09:08:08.702007"]]
|
2572
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2573
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2574
|
+
[1m[36m (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"[0m
|
2575
|
+
[1m[35mSQL (0.4ms)[0m 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-04-09"], ["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", "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", "2016-03-09 09:08:08.706597"], ["updated_at", "2016-03-09 09:08:08.706597"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2576
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2577
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2578
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation lineex est fugit"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:08:08.710574"], ["updated_at", "2016-03-09 09:08:08.710574"]]
|
2579
|
+
[1m[35mDorsale::BillingMachine::Quotation Load (0.1ms)[0m SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
|
2580
|
+
[1m[36mDorsale::BillingMachine::QuotationLine Load (0.2ms)[0m [1mSELECT "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[0m [["quotation_id", 1]]
|
2581
|
+
[1m[35mDorsale::BillingMachine::IdCard Load (0.2ms)[0m SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
|
2582
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ?[0m [["total_excluding_taxes", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:08:08.719018"], ["id", 1]]
|
2583
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2584
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
2585
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2586
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2587
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Dupuis EURL GIE"], ["short_name", "SN"], ["email", "elisa.riviere@vaeur.name"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://pons.fr/axel.julien"], ["created_at", "2016-03-09 09:08:08.726995"], ["updated_at", "2016-03-09 09:08:08.726995"]]
|
2588
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2589
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2590
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:08:08.730441"], ["updated_at", "2016-03-09 09:08:08.730441"]]
|
2591
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2592
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2593
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term eos ut veniam"], ["created_at", "2016-03-09 09:08:08.733712"], ["updated_at", "2016-03-09 09:08:08.733712"]]
|
2594
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2595
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2596
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:08:08.736603"], ["updated_at", "2016-03-09 09:08:08.736603"]]
|
2597
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2598
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2599
|
+
[1m[35m (0.1ms)[0m SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
|
2600
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-04-09"], ["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", "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", "2016-03-09 09:08:08.740394"], ["updated_at", "2016-03-09 09:08:08.740394"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2601
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2602
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2603
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation lineassumenda esse suscipit"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:08:08.745396"], ["updated_at", "2016-03-09 09:08:08.745396"]]
|
2604
|
+
[1m[36mDorsale::BillingMachine::Quotation Load (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1[0m [["id", 1]]
|
2605
|
+
[1m[35mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m 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]]
|
2606
|
+
[1m[36mDorsale::BillingMachine::IdCard Load (0.2ms)[0m [1mSELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1[0m [["id", 1]]
|
2607
|
+
[1m[35mSQL (0.1ms)[0m 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", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:08:08.751827"], ["id", 1]]
|
2608
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2609
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
2610
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2611
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2612
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Barre SA SCOP"], ["short_name", "SN"], ["email", "ines_marchal@le.eu"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://petit.org/benjamin_fernandez"], ["created_at", "2016-03-09 09:08:08.759654"], ["updated_at", "2016-03-09 09:08:08.759654"]]
|
2613
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2614
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2615
|
+
[1m[35mSQL (0.4ms)[0m 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", "2016-03-09 09:08:08.762702"], ["updated_at", "2016-03-09 09:08:08.762702"]]
|
2616
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2617
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2618
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["label", "Payment term beatae dolorem quidem"], ["created_at", "2016-03-09 09:08:08.765409"], ["updated_at", "2016-03-09 09:08:08.765409"]]
|
2619
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2620
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2621
|
+
[1m[35mSQL (0.1ms)[0m 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", "2016-03-09 09:08:08.769788"], ["updated_at", "2016-03-09 09:08:08.769788"]]
|
2622
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2623
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2624
|
+
[1m[36m (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"[0m
|
2625
|
+
[1m[35mSQL (0.3ms)[0m 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-04-09"], ["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", "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", "2016-03-09 09:08:08.773441"], ["updated_at", "2016-03-09 09:08:08.773441"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2626
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2627
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2628
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation linefacere quasi esse"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:08:08.777371"], ["updated_at", "2016-03-09 09:08:08.777371"]]
|
2629
|
+
[1m[35mDorsale::BillingMachine::Quotation Load (0.1ms)[0m SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
|
2630
|
+
[1m[36mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m [1mSELECT "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[0m [["quotation_id", 1]]
|
2631
|
+
[1m[35mDorsale::BillingMachine::IdCard Load (0.2ms)[0m SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
|
2632
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ?[0m [["total_excluding_taxes", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:08:08.784045"], ["id", 1]]
|
2633
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2634
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
2635
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2636
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2637
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Guillot EI SCOP"], ["short_name", "SN"], ["email", "raphal@leclerc.eu"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://rolland.name/nathan"], ["created_at", "2016-03-09 09:08:08.793853"], ["updated_at", "2016-03-09 09:08:08.793853"]]
|
2638
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2639
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2640
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:08:08.797322"], ["updated_at", "2016-03-09 09:08:08.797322"]]
|
2641
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2642
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2643
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term molestiae facilis facere"], ["created_at", "2016-03-09 09:08:08.802115"], ["updated_at", "2016-03-09 09:08:08.802115"]]
|
2644
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2645
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2646
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:08:08.804731"], ["updated_at", "2016-03-09 09:08:08.804731"]]
|
2647
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2648
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2649
|
+
[1m[35m (0.1ms)[0m SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
|
2650
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-04-09"], ["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", "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", "2016-03-09 09:08:08.808927"], ["updated_at", "2016-03-09 09:08:08.808927"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2651
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2652
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2653
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation lineexpedita beatae corporis"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:08:08.812853"], ["updated_at", "2016-03-09 09:08:08.812853"]]
|
2654
|
+
[1m[36mDorsale::BillingMachine::Quotation Load (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1[0m [["id", 1]]
|
2655
|
+
[1m[35mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m 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]]
|
2656
|
+
[1m[36mDorsale::BillingMachine::IdCard Load (0.1ms)[0m [1mSELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1[0m [["id", 1]]
|
2657
|
+
[1m[35mSQL (0.1ms)[0m 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", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:08:08.819941"], ["id", 1]]
|
2658
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2659
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
2660
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2661
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2662
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Paris et Leclerc EURL"], ["short_name", "SN"], ["email", "pauline@fernandez.org"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://sanchez.fr/manon.marie"], ["created_at", "2016-03-09 09:08:08.831092"], ["updated_at", "2016-03-09 09:08:08.831092"]]
|
2663
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
2664
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2665
|
+
[1m[35mSQL (0.4ms)[0m 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", "2016-03-09 09:08:08.836883"], ["updated_at", "2016-03-09 09:08:08.836883"]]
|
2666
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2667
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2668
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["label", "Payment term distinctio ex soluta"], ["created_at", "2016-03-09 09:08:08.839749"], ["updated_at", "2016-03-09 09:08:08.839749"]]
|
2669
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2670
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2671
|
+
[1m[35mSQL (0.2ms)[0m 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", "2016-03-09 09:08:08.842362"], ["updated_at", "2016-03-09 09:08:08.842362"]]
|
2672
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2673
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2674
|
+
[1m[36m (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"[0m
|
2675
|
+
[1m[35mSQL (0.2ms)[0m 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-04-09"], ["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", "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", "2016-03-09 09:08:08.846128"], ["updated_at", "2016-03-09 09:08:08.846128"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2676
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2677
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2678
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation linequia odit ea"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:08:08.850753"], ["updated_at", "2016-03-09 09:08:08.850753"]]
|
2679
|
+
[1m[35mDorsale::BillingMachine::Quotation Load (0.1ms)[0m SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
|
2680
|
+
[1m[36mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m [1mSELECT "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[0m [["quotation_id", 1]]
|
2681
|
+
[1m[35mDorsale::BillingMachine::IdCard Load (0.1ms)[0m SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
|
2682
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ?[0m [["total_excluding_taxes", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:08:08.857101"], ["id", 1]]
|
2683
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2684
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
2685
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2686
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2687
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Leroux EI SEM"], ["short_name", "SN"], ["email", "mathilde@berger.org"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://nicolas.info/nathan.marty"], ["created_at", "2016-03-09 09:08:08.870103"], ["updated_at", "2016-03-09 09:08:08.870103"]]
|
2688
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2689
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2690
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:08:08.873694"], ["updated_at", "2016-03-09 09:08:08.873694"]]
|
2691
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2692
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2693
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term doloribus quia aut"], ["created_at", "2016-03-09 09:08:08.876034"], ["updated_at", "2016-03-09 09:08:08.876034"]]
|
2694
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2695
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2696
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:08:08.878495"], ["updated_at", "2016-03-09 09:08:08.878495"]]
|
2697
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2698
|
+
[1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
|
2699
|
+
[1m[35m (0.1ms)[0m SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
|
2700
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-04-09"], ["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", "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", "2016-03-09 09:08:08.884054"], ["updated_at", "2016-03-09 09:08:08.884054"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2701
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2702
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2703
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation lineest error temporibus"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:08:08.888241"], ["updated_at", "2016-03-09 09:08:08.888241"]]
|
2704
|
+
[1m[36mDorsale::BillingMachine::Quotation Load (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1[0m [["id", 1]]
|
2705
|
+
[1m[35mDorsale::BillingMachine::QuotationLine Load (0.2ms)[0m 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]]
|
2706
|
+
[1m[36mDorsale::BillingMachine::IdCard Load (0.1ms)[0m [1mSELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1[0m [["id", 1]]
|
2707
|
+
[1m[35mSQL (0.1ms)[0m 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", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:08:08.894635"], ["id", 1]]
|
2708
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2709
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
2710
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2711
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2712
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Masson EURL SA"], ["short_name", "SN"], ["email", "maeva_durand@baron.name"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://richard.info/charlotte"], ["created_at", "2016-03-09 09:08:08.904861"], ["updated_at", "2016-03-09 09:08:08.904861"]]
|
2713
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2714
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2715
|
+
[1m[35mSQL (0.5ms)[0m 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", "2016-03-09 09:08:08.907987"], ["updated_at", "2016-03-09 09:08:08.907987"]]
|
2716
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2717
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2718
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["label", "Payment term ipsum quis et"], ["created_at", "2016-03-09 09:08:08.911562"], ["updated_at", "2016-03-09 09:08:08.911562"]]
|
2719
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2720
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
2721
|
+
[1m[35mSQL (0.1ms)[0m 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", "2016-03-09 09:08:08.914652"], ["updated_at", "2016-03-09 09:08:08.914652"]]
|
2722
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2723
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2724
|
+
[1m[36m (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"[0m
|
2725
|
+
[1m[35mSQL (0.2ms)[0m 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-04-09"], ["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", "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", "2016-03-09 09:08:08.919155"], ["updated_at", "2016-03-09 09:08:08.919155"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2726
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2727
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2728
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation linedolores alias et"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:08:08.922575"], ["updated_at", "2016-03-09 09:08:08.922575"]]
|
2729
|
+
[1m[35mDorsale::BillingMachine::Quotation Load (0.1ms)[0m SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
|
2730
|
+
[1m[36mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m [1mSELECT "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[0m [["quotation_id", 1]]
|
2731
|
+
[1m[35mDorsale::BillingMachine::IdCard Load (0.1ms)[0m SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
|
2732
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ?[0m [["total_excluding_taxes", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:08:08.928495"], ["id", 1]]
|
2733
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2734
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
2735
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2736
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2737
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Mercier SA SARL"], ["short_name", "SN"], ["email", "lilou_roger@colin.fr"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://hubert.org/jules"], ["created_at", "2016-03-09 09:08:08.939483"], ["updated_at", "2016-03-09 09:08:08.939483"]]
|
2738
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2739
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2740
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:08:08.943550"], ["updated_at", "2016-03-09 09:08:08.943550"]]
|
2741
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2742
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2743
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term quos molestias sint"], ["created_at", "2016-03-09 09:08:08.946037"], ["updated_at", "2016-03-09 09:08:08.946037"]]
|
2744
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2745
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2746
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:08:08.948547"], ["updated_at", "2016-03-09 09:08:08.948547"]]
|
2747
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2748
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2749
|
+
[1m[35m (0.1ms)[0m SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
|
2750
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-04-09"], ["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", "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", "2016-03-09 09:08:08.953293"], ["updated_at", "2016-03-09 09:08:08.953293"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2751
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2752
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2753
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation linequi aut et"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:08:08.956945"], ["updated_at", "2016-03-09 09:08:08.956945"]]
|
2754
|
+
[1m[36mDorsale::BillingMachine::Quotation Load (0.0ms)[0m [1mSELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1[0m [["id", 1]]
|
2755
|
+
[1m[35mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m 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]]
|
2756
|
+
[1m[36mDorsale::BillingMachine::IdCard Load (0.1ms)[0m [1mSELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1[0m [["id", 1]]
|
2757
|
+
[1m[35mSQL (0.2ms)[0m 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", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:08:08.963890"], ["id", 1]]
|
2758
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2759
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
2760
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2761
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2762
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Riviere et Perrot EI"], ["short_name", "SN"], ["email", "mlia.rey@aubert.com"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://lemoine.com/clia"], ["created_at", "2016-03-09 09:08:08.973234"], ["updated_at", "2016-03-09 09:08:08.973234"]]
|
2763
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2764
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2765
|
+
[1m[35mSQL (0.4ms)[0m 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", "2016-03-09 09:08:08.976579"], ["updated_at", "2016-03-09 09:08:08.976579"]]
|
2766
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2767
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2768
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["label", "Payment term ut et optio"], ["created_at", "2016-03-09 09:08:08.979093"], ["updated_at", "2016-03-09 09:08:08.979093"]]
|
2769
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2770
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2771
|
+
[1m[35mSQL (0.2ms)[0m 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", "2016-03-09 09:08:08.982626"], ["updated_at", "2016-03-09 09:08:08.982626"]]
|
2772
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2773
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2774
|
+
[1m[36m (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"[0m
|
2775
|
+
[1m[35mSQL (0.2ms)[0m 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-04-09"], ["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", "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", "2016-03-09 09:08:08.988012"], ["updated_at", "2016-03-09 09:08:08.988012"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2776
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2777
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2778
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation linedeleniti est minima"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:08:08.991330"], ["updated_at", "2016-03-09 09:08:08.991330"]]
|
2779
|
+
[1m[35mDorsale::BillingMachine::Quotation Load (0.0ms)[0m SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
|
2780
|
+
[1m[36mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m [1mSELECT "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[0m [["quotation_id", 1]]
|
2781
|
+
[1m[35mDorsale::BillingMachine::IdCard Load (0.0ms)[0m SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
|
2782
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ?[0m [["total_excluding_taxes", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:08:08.995959"], ["id", 1]]
|
2783
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2784
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
2785
|
+
[1m[35m (0.2ms)[0m begin transaction
|
2786
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2787
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2788
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2789
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2790
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2791
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2792
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2793
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2794
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2795
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2796
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2797
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2798
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2799
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2800
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2801
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2802
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2803
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2804
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Hubert et Mathieu SARL"], ["short_name", "SN"], ["email", "tho@mathieu.net"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://schneider.org/paul_lambert"], ["created_at", "2016-03-09 09:08:49.482515"], ["updated_at", "2016-03-09 09:08:49.482515"]]
|
2805
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2806
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2807
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:08:49.515184"], ["updated_at", "2016-03-09 09:08:49.515184"]]
|
2808
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2809
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2810
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term voluptatem tempore modi"], ["created_at", "2016-03-09 09:08:49.523050"], ["updated_at", "2016-03-09 09:08:49.523050"]]
|
2811
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2812
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2813
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:08:49.557540"], ["updated_at", "2016-03-09 09:08:49.557540"]]
|
2814
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2815
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2816
|
+
[1m[35m (0.1ms)[0m SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
|
2817
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-04-09"], ["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", "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", "2016-03-09 09:08:49.580806"], ["updated_at", "2016-03-09 09:08:49.580806"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2818
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2819
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2820
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation linepraesentium reiciendis ea"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:08:49.585406"], ["updated_at", "2016-03-09 09:08:49.585406"]]
|
2821
|
+
[1m[36mDorsale::BillingMachine::Quotation Load (0.2ms)[0m [1mSELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1[0m [["id", 1]]
|
2822
|
+
[1m[35mDorsale::BillingMachine::QuotationLine Load (0.2ms)[0m 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]]
|
2823
|
+
[1m[36mDorsale::BillingMachine::IdCard Load (0.2ms)[0m [1mSELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1[0m [["id", 1]]
|
2824
|
+
[1m[35mSQL (0.2ms)[0m 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", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:08:49.600594"], ["id", 1]]
|
2825
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2826
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
2827
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2828
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2829
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Dumont et Fleury EI"], ["short_name", "SN"], ["email", "paul_lacroix@chevalier.org"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://colin.org/yanis_dufour"], ["created_at", "2016-03-09 09:08:49.613653"], ["updated_at", "2016-03-09 09:08:49.613653"]]
|
2830
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2831
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2832
|
+
[1m[35mSQL (0.4ms)[0m 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", "2016-03-09 09:08:49.617196"], ["updated_at", "2016-03-09 09:08:49.617196"]]
|
2833
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2834
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2835
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["label", "Payment term inventore dolores blanditiis"], ["created_at", "2016-03-09 09:08:49.620221"], ["updated_at", "2016-03-09 09:08:49.620221"]]
|
2836
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2837
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2838
|
+
[1m[35mSQL (0.2ms)[0m 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", "2016-03-09 09:08:49.622908"], ["updated_at", "2016-03-09 09:08:49.622908"]]
|
2839
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2840
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2841
|
+
[1m[36m (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"[0m
|
2842
|
+
[1m[35mSQL (0.2ms)[0m 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-04-09"], ["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", "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", "2016-03-09 09:08:49.628237"], ["updated_at", "2016-03-09 09:08:49.628237"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2843
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2844
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2845
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation linenon earum ducimus"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:08:49.632897"], ["updated_at", "2016-03-09 09:08:49.632897"]]
|
2846
|
+
[1m[35mDorsale::BillingMachine::Quotation Load (0.0ms)[0m SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
|
2847
|
+
[1m[36mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m [1mSELECT "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[0m [["quotation_id", 1]]
|
2848
|
+
[1m[35mDorsale::BillingMachine::IdCard Load (0.0ms)[0m SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
|
2849
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ?[0m [["total_excluding_taxes", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:08:49.638496"], ["id", 1]]
|
2850
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2851
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
2852
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2853
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2854
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Jean SARL SEM"], ["short_name", "SN"], ["email", "camille_paul@poirier.com"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://bonnet.com/alicia"], ["created_at", "2016-03-09 09:08:49.646452"], ["updated_at", "2016-03-09 09:08:49.646452"]]
|
2855
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2856
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2857
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:08:49.651662"], ["updated_at", "2016-03-09 09:08:49.651662"]]
|
2858
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2859
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2860
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term quis debitis corporis"], ["created_at", "2016-03-09 09:08:49.654137"], ["updated_at", "2016-03-09 09:08:49.654137"]]
|
2861
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2862
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2863
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:08:49.656560"], ["updated_at", "2016-03-09 09:08:49.656560"]]
|
2864
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2865
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2866
|
+
[1m[35m (0.1ms)[0m SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
|
2867
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-04-09"], ["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", "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", "2016-03-09 09:08:49.660398"], ["updated_at", "2016-03-09 09:08:49.660398"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2868
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2869
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2870
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation lineea debitis maiores"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:08:49.664325"], ["updated_at", "2016-03-09 09:08:49.664325"]]
|
2871
|
+
[1m[36mDorsale::BillingMachine::Quotation Load (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1[0m [["id", 1]]
|
2872
|
+
[1m[35mDorsale::BillingMachine::QuotationLine Load (0.2ms)[0m 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]]
|
2873
|
+
[1m[36mDorsale::BillingMachine::IdCard Load (0.1ms)[0m [1mSELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1[0m [["id", 1]]
|
2874
|
+
[1m[35mSQL (0.1ms)[0m 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", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:08:49.670981"], ["id", 1]]
|
2875
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2876
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
2877
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2878
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2879
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Jacquet SA EI"], ["short_name", "SN"], ["email", "jeanne@blanchard.fr"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://pierre.fr/axel.collet"], ["created_at", "2016-03-09 09:08:49.679546"], ["updated_at", "2016-03-09 09:08:49.679546"]]
|
2880
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2881
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2882
|
+
[1m[35mSQL (0.3ms)[0m 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", "2016-03-09 09:08:49.684999"], ["updated_at", "2016-03-09 09:08:49.684999"]]
|
2883
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2884
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2885
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["label", "Payment term aut odio nostrum"], ["created_at", "2016-03-09 09:08:49.688614"], ["updated_at", "2016-03-09 09:08:49.688614"]]
|
2886
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2887
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2888
|
+
[1m[35mSQL (0.2ms)[0m 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", "2016-03-09 09:08:49.691003"], ["updated_at", "2016-03-09 09:08:49.691003"]]
|
2889
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2890
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2891
|
+
[1m[36m (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"[0m
|
2892
|
+
[1m[35mSQL (0.3ms)[0m 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-04-09"], ["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", "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", "2016-03-09 09:08:49.696025"], ["updated_at", "2016-03-09 09:08:49.696025"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2893
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2894
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2895
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation linesimilique repellendus et"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:08:49.700594"], ["updated_at", "2016-03-09 09:08:49.700594"]]
|
2896
|
+
[1m[35mDorsale::BillingMachine::Quotation Load (0.2ms)[0m SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
|
2897
|
+
[1m[36mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m [1mSELECT "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[0m [["quotation_id", 1]]
|
2898
|
+
[1m[35mDorsale::BillingMachine::IdCard Load (0.1ms)[0m SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
|
2899
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ?[0m [["total_excluding_taxes", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:08:49.706811"], ["id", 1]]
|
2900
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2901
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
2902
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2903
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2904
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Garnier et Lacroix EURL"], ["short_name", "SN"], ["email", "clia.fernandez@dumas.info"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://dubois.net/emilie"], ["created_at", "2016-03-09 09:08:49.717364"], ["updated_at", "2016-03-09 09:08:49.717364"]]
|
2905
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2906
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2907
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:08:49.720576"], ["updated_at", "2016-03-09 09:08:49.720576"]]
|
2908
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2909
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2910
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term aut ab sed"], ["created_at", "2016-03-09 09:08:49.724221"], ["updated_at", "2016-03-09 09:08:49.724221"]]
|
2911
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2912
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2913
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:08:49.726907"], ["updated_at", "2016-03-09 09:08:49.726907"]]
|
2914
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2915
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2916
|
+
[1m[35m (0.2ms)[0m SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
|
2917
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-04-09"], ["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", "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", "2016-03-09 09:08:49.730654"], ["updated_at", "2016-03-09 09:08:49.730654"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2918
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2919
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2920
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation linequas voluptas ipsam"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:08:49.735000"], ["updated_at", "2016-03-09 09:08:49.735000"]]
|
2921
|
+
[1m[36mDorsale::BillingMachine::Quotation Load (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1[0m [["id", 1]]
|
2922
|
+
[1m[35mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m 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]]
|
2923
|
+
[1m[36mDorsale::BillingMachine::IdCard Load (0.1ms)[0m [1mSELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1[0m [["id", 1]]
|
2924
|
+
[1m[35mSQL (0.1ms)[0m 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", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:08:49.741288"], ["id", 1]]
|
2925
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2926
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
2927
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2928
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2929
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Carpentier EURL SAS"], ["short_name", "SN"], ["email", "marie.schmitt@henry.name"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://michel.eu/julie"], ["created_at", "2016-03-09 09:08:49.753077"], ["updated_at", "2016-03-09 09:08:49.753077"]]
|
2930
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2931
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2932
|
+
[1m[35mSQL (0.4ms)[0m 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", "2016-03-09 09:08:49.756533"], ["updated_at", "2016-03-09 09:08:49.756533"]]
|
2933
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2934
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2935
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["label", "Payment term sed enim facere"], ["created_at", "2016-03-09 09:08:49.760077"], ["updated_at", "2016-03-09 09:08:49.760077"]]
|
2936
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2937
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2938
|
+
[1m[35mSQL (0.2ms)[0m 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", "2016-03-09 09:08:49.763657"], ["updated_at", "2016-03-09 09:08:49.763657"]]
|
2939
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2940
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2941
|
+
[1m[36m (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"[0m
|
2942
|
+
[1m[35mSQL (0.2ms)[0m 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-04-09"], ["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", "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", "2016-03-09 09:08:49.768281"], ["updated_at", "2016-03-09 09:08:49.768281"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2943
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2944
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2945
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation linequo et eaque"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:08:49.772553"], ["updated_at", "2016-03-09 09:08:49.772553"]]
|
2946
|
+
[1m[35mDorsale::BillingMachine::Quotation Load (0.1ms)[0m SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
|
2947
|
+
[1m[36mDorsale::BillingMachine::QuotationLine Load (0.2ms)[0m [1mSELECT "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[0m [["quotation_id", 1]]
|
2948
|
+
[1m[35mDorsale::BillingMachine::IdCard Load (0.2ms)[0m SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
|
2949
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ?[0m [["total_excluding_taxes", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:08:49.778820"], ["id", 1]]
|
2950
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2951
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
2952
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2953
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2954
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Roche SEM EURL"], ["short_name", "SN"], ["email", "valentin.durand@leroux.com"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://louis.com/paul"], ["created_at", "2016-03-09 09:08:49.789740"], ["updated_at", "2016-03-09 09:08:49.789740"]]
|
2955
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2956
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2957
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:08:49.793023"], ["updated_at", "2016-03-09 09:08:49.793023"]]
|
2958
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2959
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2960
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term incidunt molestiae quia"], ["created_at", "2016-03-09 09:08:49.795841"], ["updated_at", "2016-03-09 09:08:49.795841"]]
|
2961
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2962
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2963
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:08:49.799426"], ["updated_at", "2016-03-09 09:08:49.799426"]]
|
2964
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2965
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2966
|
+
[1m[35m (0.1ms)[0m SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
|
2967
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-04-09"], ["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", "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", "2016-03-09 09:08:49.804000"], ["updated_at", "2016-03-09 09:08:49.804000"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2968
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2969
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2970
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation lineiusto sit odio"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:08:49.809010"], ["updated_at", "2016-03-09 09:08:49.809010"]]
|
2971
|
+
[1m[36mDorsale::BillingMachine::Quotation Load (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1[0m [["id", 1]]
|
2972
|
+
[1m[35mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m 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]]
|
2973
|
+
[1m[36mDorsale::BillingMachine::IdCard Load (0.0ms)[0m [1mSELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1[0m [["id", 1]]
|
2974
|
+
[1m[35mSQL (0.1ms)[0m 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", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:08:49.817265"], ["id", 1]]
|
2975
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2976
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
2977
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2978
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2979
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Royer et Nguyen EI"], ["short_name", "SN"], ["email", "alexis@berger.com"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://adam.net/pauline_lucas"], ["created_at", "2016-03-09 09:08:49.825583"], ["updated_at", "2016-03-09 09:08:49.825583"]]
|
2980
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2981
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2982
|
+
[1m[35mSQL (1.5ms)[0m 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", "2016-03-09 09:08:49.829608"], ["updated_at", "2016-03-09 09:08:49.829608"]]
|
2983
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2984
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2985
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["label", "Payment term consequatur ex neque"], ["created_at", "2016-03-09 09:08:49.834764"], ["updated_at", "2016-03-09 09:08:49.834764"]]
|
2986
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2987
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2988
|
+
[1m[35mSQL (0.1ms)[0m 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", "2016-03-09 09:08:49.838070"], ["updated_at", "2016-03-09 09:08:49.838070"]]
|
2989
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2990
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2991
|
+
[1m[36m (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"[0m
|
2992
|
+
[1m[35mSQL (0.3ms)[0m 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-04-09"], ["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", "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", "2016-03-09 09:08:49.842004"], ["updated_at", "2016-03-09 09:08:49.842004"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
2993
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2994
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2995
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation lineid doloribus occaecati"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:08:49.846608"], ["updated_at", "2016-03-09 09:08:49.846608"]]
|
2996
|
+
[1m[35mDorsale::BillingMachine::Quotation Load (0.1ms)[0m SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
|
2997
|
+
[1m[36mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m [1mSELECT "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[0m [["quotation_id", 1]]
|
2998
|
+
[1m[35mDorsale::BillingMachine::IdCard Load (0.0ms)[0m SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
|
2999
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ?[0m [["total_excluding_taxes", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:08:49.853493"], ["id", 1]]
|
3000
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3001
|
+
[1m[36m (1.1ms)[0m [1mrollback transaction[0m
|
3002
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3003
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3004
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Robert et Vidal EURL"], ["short_name", "SN"], ["email", "adam@schmitt.fr"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://leroux.name/laura"], ["created_at", "2016-03-09 09:08:49.862454"], ["updated_at", "2016-03-09 09:08:49.862454"]]
|
3005
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3006
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3007
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "dorsale_addresses" ("street", "street_bis", "city", "zip", "country", "addressable_id", "addressable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:08:49.868010"], ["updated_at", "2016-03-09 09:08:49.868010"]]
|
3008
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3009
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3010
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?) [["label", "Payment term alias rerum labore"], ["created_at", "2016-03-09 09:08:49.870458"], ["updated_at", "2016-03-09 09:08:49.870458"]]
|
3011
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3012
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3013
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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", "2016-03-09 09:08:49.872795"], ["updated_at", "2016-03-09 09:08:49.872795"]]
|
3014
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3015
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3016
|
+
[1m[35m (0.1ms)[0m SELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"
|
3017
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["state", "pending"], ["date", "2014-02-19"], ["expires_at", "2016-04-09"], ["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", "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", "2016-03-09 09:08:49.876959"], ["updated_at", "2016-03-09 09:08:49.876959"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
3018
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3019
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3020
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation lineconsequuntur delectus quae"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:08:49.881586"], ["updated_at", "2016-03-09 09:08:49.881586"]]
|
3021
|
+
[1m[36mDorsale::BillingMachine::Quotation Load (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1[0m [["id", 1]]
|
3022
|
+
[1m[35mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m 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]]
|
3023
|
+
[1m[36mDorsale::BillingMachine::IdCard Load (0.1ms)[0m [1mSELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1[0m [["id", 1]]
|
3024
|
+
[1m[35mSQL (0.1ms)[0m 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", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:08:49.888185"], ["id", 1]]
|
3025
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3026
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
3027
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3028
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3029
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "dorsale_customer_vault_corporations" ("name", "short_name", "email", "phone", "fax", "www", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "David SCOP EI"], ["short_name", "SN"], ["email", "manon@lemaire.info"], ["phone", "06 xx xx xx xx"], ["fax", "09 xx xx xx xx"], ["www", "http://paris.net/paul_vincent"], ["created_at", "2016-03-09 09:08:49.896848"], ["updated_at", "2016-03-09 09:08:49.896848"]]
|
3030
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3031
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3032
|
+
[1m[35mSQL (0.3ms)[0m 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", "2016-03-09 09:08:49.901757"], ["updated_at", "2016-03-09 09:08:49.901757"]]
|
3033
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3034
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3035
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "dorsale_billing_machine_payment_terms" ("label", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["label", "Payment term quaerat maxime laudantium"], ["created_at", "2016-03-09 09:08:49.904462"], ["updated_at", "2016-03-09 09:08:49.904462"]]
|
3036
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3037
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3038
|
+
[1m[35mSQL (0.2ms)[0m 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", "2016-03-09 09:08:49.906774"], ["updated_at", "2016-03-09 09:08:49.906774"]]
|
3039
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3040
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3041
|
+
[1m[36m (0.1ms)[0m [1mSELECT "dorsale_billing_machine_quotations"."unique_index" FROM "dorsale_billing_machine_quotations"[0m
|
3042
|
+
[1m[35mSQL (0.3ms)[0m 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-04-09"], ["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", "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", "2016-03-09 09:08:49.911950"], ["updated_at", "2016-03-09 09:08:49.911950"], ["unique_index", 1], ["tracking_id", "2014-01"]]
|
3043
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3044
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3045
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "dorsale_billing_machine_quotation_lines" ("quantity", "unit_price", "vat_rate", "quotation_id", "label", "unit", "total", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["quantity", 1000.17], ["unit_price", 20.0], ["vat_rate", 20.0], ["quotation_id", 1], ["label", "Quotation lineet saepe ut"], ["unit", "abc"], ["total", 20003.4], ["created_at", "2016-03-09 09:08:49.915959"], ["updated_at", "2016-03-09 09:08:49.915959"]]
|
3046
|
+
[1m[35mDorsale::BillingMachine::Quotation Load (0.1ms)[0m SELECT "dorsale_billing_machine_quotations".* FROM "dorsale_billing_machine_quotations" WHERE "dorsale_billing_machine_quotations"."id" = ? LIMIT 1 [["id", 1]]
|
3047
|
+
[1m[36mDorsale::BillingMachine::QuotationLine Load (0.1ms)[0m [1mSELECT "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[0m [["quotation_id", 1]]
|
3048
|
+
[1m[35mDorsale::BillingMachine::IdCard Load (0.1ms)[0m SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]]
|
3049
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "dorsale_billing_machine_quotations" SET "total_excluding_taxes" = ?, "vat_amount" = ?, "total_including_taxes" = ?, "updated_at" = ? WHERE "dorsale_billing_machine_quotations"."id" = ?[0m [["total_excluding_taxes", 20003.4], ["vat_amount", 4000.68], ["total_including_taxes", 24004.08], ["updated_at", "2016-03-09 09:08:49.921861"], ["id", 1]]
|
3050
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3051
|
+
[1m[36m (0.9ms)[0m [1mrollback transaction[0m
|
3052
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3053
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3054
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3055
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3056
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3057
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3058
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3059
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3060
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3061
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3062
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3063
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3064
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3065
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3066
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3067
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3068
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3069
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3070
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3071
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3072
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|