forceps 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/Rakefile +32 -0
  3. data/lib/forceps/acts_as_copyable_model.rb +245 -0
  4. data/lib/forceps/client.rb +126 -0
  5. data/lib/forceps/version.rb +3 -0
  6. data/lib/forceps.rb +30 -0
  7. data/lib/tasks/forceps_tasks.rake +4 -0
  8. data/test/callbacks_test.rb +21 -0
  9. data/test/clone_structures_test.rb +73 -0
  10. data/test/dummy/README.rdoc +28 -0
  11. data/test/dummy/Rakefile +6 -0
  12. data/test/dummy/app/assets/javascripts/application.js +13 -0
  13. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  14. data/test/dummy/app/controllers/application_controller.rb +5 -0
  15. data/test/dummy/app/helpers/application_helper.rb +2 -0
  16. data/test/dummy/app/models/address.rb +3 -0
  17. data/test/dummy/app/models/car.rb +5 -0
  18. data/test/dummy/app/models/invoice.rb +7 -0
  19. data/test/dummy/app/models/line_item.rb +4 -0
  20. data/test/dummy/app/models/product.rb +4 -0
  21. data/test/dummy/app/models/tag.rb +3 -0
  22. data/test/dummy/app/models/user.rb +4 -0
  23. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  24. data/test/dummy/bin/bundle +3 -0
  25. data/test/dummy/bin/rails +4 -0
  26. data/test/dummy/bin/rake +4 -0
  27. data/test/dummy/config/application.rb +23 -0
  28. data/test/dummy/config/boot.rb +5 -0
  29. data/test/dummy/config/database.yml +31 -0
  30. data/test/dummy/config/environment.rb +5 -0
  31. data/test/dummy/config/environments/development.rb +29 -0
  32. data/test/dummy/config/environments/production.rb +80 -0
  33. data/test/dummy/config/environments/test.rb +36 -0
  34. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  35. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  36. data/test/dummy/config/initializers/inflections.rb +16 -0
  37. data/test/dummy/config/initializers/mime_types.rb +5 -0
  38. data/test/dummy/config/initializers/secret_token.rb +12 -0
  39. data/test/dummy/config/initializers/session_store.rb +3 -0
  40. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  41. data/test/dummy/config/locales/en.yml +23 -0
  42. data/test/dummy/config/routes.rb +56 -0
  43. data/test/dummy/config.ru +4 -0
  44. data/test/dummy/db/development.sqlite3 +0 -0
  45. data/test/dummy/db/migrate/20140101112114_create_invoices.rb +9 -0
  46. data/test/dummy/db/migrate/20140102125046_add_number_to_invoices.rb +5 -0
  47. data/test/dummy/db/migrate/20140103172515_create_users.rb +8 -0
  48. data/test/dummy/db/migrate/20140103172643_add_user_id_to_invoices.rb +5 -0
  49. data/test/dummy/db/migrate/20140104145204_create_line_items.rb +11 -0
  50. data/test/dummy/db/migrate/20140104145227_create_products.rb +10 -0
  51. data/test/dummy/db/migrate/20140104150906_create_addresses.rb +12 -0
  52. data/test/dummy/db/migrate/20140114111137_create_products_tags_join_table.rb +8 -0
  53. data/test/dummy/db/migrate/20140114111219_create_tags.rb +7 -0
  54. data/test/dummy/db/migrate/20140117112556_add_type_to_products.rb +5 -0
  55. data/test/dummy/db/remote.sqlite3 +0 -0
  56. data/test/dummy/db/schema.rb +64 -0
  57. data/test/dummy/db/test.sqlite3 +0 -0
  58. data/test/dummy/log/RAILS_ENV=test.log +0 -0
  59. data/test/dummy/log/development.log +608 -0
  60. data/test/dummy/log/remote.log +182 -0
  61. data/test/dummy/log/target.log +30 -0
  62. data/test/dummy/log/test.log +132555 -0
  63. data/test/dummy/public/404.html +58 -0
  64. data/test/dummy/public/422.html +58 -0
  65. data/test/dummy/public/500.html +57 -0
  66. data/test/dummy/public/favicon.ico +0 -0
  67. data/test/exclude_records_test.rb +43 -0
  68. data/test/fixtures/invoices.yml +11 -0
  69. data/test/fixtures/users.yml +8 -0
  70. data/test/reuse_existing_records_test.rb +41 -0
  71. data/test/support/minitest_ext.rb +13 -0
  72. data/test/support/remote_address.rb +7 -0
  73. data/test/support/remote_invoice.rb +8 -0
  74. data/test/support/remote_line_item.rb +8 -0
  75. data/test/support/remote_product.rb +8 -0
  76. data/test/support/remote_tag.rb +7 -0
  77. data/test/support/remote_user.rb +8 -0
  78. data/test/test_helper.rb +37 -0
  79. metadata +296 -0
@@ -0,0 +1,182 @@
1
+ ActiveRecord::SchemaMigration Load (1.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
2
+ Migrating to AddNumberToInvoices (20140102125046)
3
+  (0.1ms) begin transaction
4
+  (0.4ms) ALTER TABLE "invoices" ADD "number" integer
5
+ SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140102125046"]]
6
+  (2.4ms) commit transaction
7
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
8
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
10
+  (2.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
11
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
12
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
13
+ Migrating to CreateInvoices (20140101112114)
14
+  (0.1ms) begin transaction
15
+  (0.5ms) CREATE TABLE "invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "date" date, "created_at" datetime, "updated_at" datetime) 
16
+ SQL (1.6ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140101112114"]]
17
+  (0.9ms) commit transaction
18
+ Migrating to AddNumberToInvoices (20140102125046)
19
+  (0.1ms) begin transaction
20
+  (0.3ms) ALTER TABLE "invoices" ADD "number" integer
21
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140102125046"]]
22
+  (0.7ms) commit transaction
23
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
24
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
25
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
27
+ Migrating to CreateUsers (20140103172515)
28
+  (0.1ms) begin transaction
29
+  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) 
30
+ SQL (1.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140103172515"]]
31
+  (2.3ms) commit transaction
32
+ Migrating to AddUserIdToInvoices (20140103172643)
33
+  (0.1ms) begin transaction
34
+  (0.3ms) ALTER TABLE "invoices" ADD "user_id" integer
35
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140103172643"]]
36
+  (0.7ms) commit transaction
37
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
38
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
39
+ Migrating to CreateLineItems (20140104145204)
40
+  (0.1ms) begin transaction
41
+  (0.4ms) CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quantity" varchar(255), "product_id" integer, "created_at" datetime, "updated_at" datetime) 
42
+ SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140104145204"]]
43
+  (0.8ms) commit transaction
44
+ Migrating to CreateProducts (20140104145227)
45
+  (0.0ms) begin transaction
46
+  (0.2ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "price" varchar(255), "created_at" datetime, "updated_at" datetime) 
47
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140104145227"]]
48
+  (0.7ms) commit transaction
49
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
50
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
51
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
52
+ Migrating to CreateProducts (20140104145227)
53
+  (0.0ms) begin transaction
54
+  (1.0ms) DROP TABLE "products"
55
+ SQL (1.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140104145227'
56
+  (0.7ms) commit transaction
57
+ Migrating to CreateLineItems (20140104145204)
58
+  (0.0ms) begin transaction
59
+  (0.2ms) DROP TABLE "line_items"
60
+ SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140104145204'
61
+  (0.8ms) commit transaction
62
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
63
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
64
+ Migrating to CreateLineItems (20140104145204)
65
+  (0.0ms) begin transaction
66
+  (0.8ms) CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quantity" integer, "product_id" integer, "created_at" datetime, "updated_at" datetime) 
67
+ SQL (1.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140104145204"]]
68
+  (0.9ms) commit transaction
69
+ Migrating to CreateProducts (20140104145227)
70
+  (0.1ms) begin transaction
71
+  (0.3ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "price" integer, "created_at" datetime, "updated_at" datetime) 
72
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140104145227"]]
73
+  (0.8ms) commit transaction
74
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
75
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
76
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
77
+ Migrating to CreateProducts (20140104145227)
78
+  (0.1ms) begin transaction
79
+  (0.4ms) DROP TABLE "products"
80
+ SQL (0.8ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140104145227'
81
+  (2.0ms) commit transaction
82
+ Migrating to CreateLineItems (20140104145204)
83
+  (0.1ms) begin transaction
84
+  (0.3ms) DROP TABLE "line_items"
85
+ SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140104145204'
86
+  (0.7ms) commit transaction
87
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
88
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
89
+ Migrating to CreateLineItems (20140104145204)
90
+  (0.0ms) begin transaction
91
+  (0.4ms) CREATE TABLE "line_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "quantity" integer, "product_id" integer, "invoice_id" integer, "created_at" datetime, "updated_at" datetime) 
92
+ SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140104145204"]]
93
+  (2.1ms) commit transaction
94
+ Migrating to CreateProducts (20140104145227)
95
+  (0.1ms) begin transaction
96
+  (0.4ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "price" integer, "created_at" datetime, "updated_at" datetime) 
97
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140104145227"]]
98
+  (0.8ms) commit transaction
99
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
100
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
101
+ Migrating to CreateAddresses (20140104150906)
102
+  (0.1ms) begin transaction
103
+  (0.4ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "city" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime) 
104
+ SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140104150906"]]
105
+  (2.1ms) commit transaction
106
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
107
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
108
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
109
+ Migrating to CreateAddresses (20140104150906)
110
+  (0.1ms) begin transaction
111
+  (1.0ms) DROP TABLE "addresses"
112
+ SQL (2.0ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140104150906'
113
+  (0.8ms) commit transaction
114
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
115
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
116
+ Migrating to CreateAddresses (20140104150906)
117
+  (0.0ms) begin transaction
118
+  (0.4ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "street" varchar(255), "city" varchar(255), "country" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime) 
119
+ SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140104150906"]]
120
+  (2.3ms) commit transaction
121
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
122
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
123
+ Migrating to CreateProductsTagsJoinTable (20140114111137)
124
+  (0.1ms) begin transaction
125
+  (0.4ms) CREATE TABLE "products_tags_join_table" ("product_id" integer, "tag_id" integer) 
126
+ SQL (1.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140114111137"]]
127
+  (0.8ms) commit transaction
128
+ Migrating to CreateTags (20140114111219)
129
+  (0.1ms) begin transaction
130
+  (0.3ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
131
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140114111219"]]
132
+  (0.7ms) commit transaction
133
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
134
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
135
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
136
+ Migrating to CreateTags (20140114111219)
137
+  (0.0ms) begin transaction
138
+  (0.4ms) DROP TABLE "tags"
139
+ SQL (0.9ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140114111219'
140
+  (2.8ms) commit transaction
141
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
142
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
143
+ Migrating to CreateTags (20140114111219)
144
+  (0.0ms) begin transaction
145
+  (0.4ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
146
+ SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140114111219"]]
147
+  (2.9ms) commit transaction
148
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
149
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
150
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
151
+ Migrating to CreateTags (20140114111219)
152
+  (0.0ms) begin transaction
153
+  (0.4ms) DROP TABLE "tags"
154
+ SQL (0.9ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140114111219'
155
+  (2.1ms) commit transaction
156
+ Migrating to CreateProductsTagsJoinTable (20140114111137)
157
+  (0.1ms) begin transaction
158
+  (0.3ms) DROP TABLE "products_tags_join_table"
159
+ SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140114111137'
160
+  (0.8ms) commit transaction
161
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
162
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
163
+ Migrating to CreateProductsTagsJoinTable (20140114111137)
164
+  (0.0ms) begin transaction
165
+  (0.4ms) CREATE TABLE "products_tags" ("product_id" integer, "tag_id" integer) 
166
+ SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140114111137"]]
167
+  (2.4ms) commit transaction
168
+ Migrating to CreateTags (20140114111219)
169
+  (0.1ms) begin transaction
170
+  (0.4ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
171
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140114111219"]]
172
+  (0.7ms) commit transaction
173
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
174
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
175
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
176
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
177
+ Migrating to AddTypeToProducts (20140117112556)
178
+  (0.1ms) begin transaction
179
+  (0.5ms) ALTER TABLE "products" ADD "type" varchar(255)
180
+ SQL (1.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140117112556"]]
181
+  (0.7ms) commit transaction
182
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
@@ -0,0 +1,30 @@
1
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
+ Migrating to CreateInvoices (20140101112114)
5
+  (0.0ms) begin transaction
6
+  (0.3ms) CREATE TABLE "invoices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "date" date, "created_at" datetime, "updated_at" datetime) 
7
+ SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140101112114"]]
8
+  (0.8ms) commit transaction
9
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
10
+  (0.1ms) begin transaction
11
+ SQL (5.8ms) INSERT INTO "invoices" ("created_at", "date", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 01 Jan 2014 20:18:40 UTC +00:00], ["date", Wed, 01 Jan 2014], ["updated_at", Wed, 01 Jan 2014 20:18:40 UTC +00:00]]
12
+  (0.8ms) commit transaction
13
+  (0.2ms) SELECT COUNT(*) FROM "invoices"
14
+  (0.2ms) SELECT COUNT(*) FROM "invoices"
15
+  (0.2ms) SELECT COUNT(*) FROM "invoices"
16
+  (0.2ms) SELECT COUNT(*) FROM "invoices"
17
+ Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices"
18
+ Invoice Load (0.2ms) SELECT "invoices".* FROM "invoices"
19
+  (0.2ms) SELECT COUNT(*) FROM "invoices"
20
+  (0.2ms) SELECT COUNT(*) FROM "invoices"
21
+  (0.2ms) SELECT COUNT(*) FROM "invoices"
22
+  (0.2ms) SELECT COUNT(*) FROM "invoices"
23
+  (0.2ms) SELECT COUNT(*) FROM "invoices"
24
+  (0.1ms) SELECT COUNT(*) FROM "invoices"
25
+  (0.2ms) SELECT COUNT(*) FROM "invoices"
26
+  (0.4ms) SELECT COUNT(*) FROM "invoices"
27
+  (3.0ms) DELETE FROM "invoices";
28
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
29
+  (0.6ms) DELETE FROM sqlite_sequence where name = 'invoices';
30
+  (0.2ms) SELECT COUNT(*) FROM "invoices"