log_changes 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (94) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/.rspec +2 -0
  4. data/Gemfile +14 -0
  5. data/Gemfile.lock +149 -0
  6. data/MIT-LICENSE +20 -0
  7. data/README.md +28 -0
  8. data/Rakefile +36 -0
  9. data/app/assets/config/log_changes_manifest.js +0 -0
  10. data/app/assets/images/log_changes/.keep +0 -0
  11. data/app/assets/javascripts/log_changes/.keep +0 -0
  12. data/app/assets/stylesheets/log_changes/.keep +0 -0
  13. data/app/controllers/.keep +0 -0
  14. data/app/helpers/.keep +0 -0
  15. data/app/mailers/.keep +0 -0
  16. data/app/models/.keep +0 -0
  17. data/app/views/.keep +0 -0
  18. data/bin/rails +13 -0
  19. data/config/routes.rb +2 -0
  20. data/lib/log_changes/base.rb +60 -0
  21. data/lib/log_changes/engine.rb +4 -0
  22. data/lib/log_changes/version.rb +3 -0
  23. data/lib/log_changes.rb +6 -0
  24. data/lib/tasks/log_changes_tasks.rake +4 -0
  25. data/log_changes.gemspec +30 -0
  26. data/spec/dummy/Rakefile +6 -0
  27. data/spec/dummy/app/assets/config/manifest.js +4 -0
  28. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  29. data/spec/dummy/app/assets/javascripts/cable.js +13 -0
  30. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  31. data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
  32. data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
  33. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  34. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  35. data/spec/dummy/app/jobs/application_job.rb +2 -0
  36. data/spec/dummy/app/mailers/application_mailer.rb +4 -0
  37. data/spec/dummy/app/models/application_record.rb +4 -0
  38. data/spec/dummy/app/models/employee.rb +8 -0
  39. data/spec/dummy/app/models/picture.rb +3 -0
  40. data/spec/dummy/app/models/product.rb +4 -0
  41. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  42. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  43. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  44. data/spec/dummy/bin/bundle +3 -0
  45. data/spec/dummy/bin/rails +4 -0
  46. data/spec/dummy/bin/rake +4 -0
  47. data/spec/dummy/bin/setup +34 -0
  48. data/spec/dummy/bin/update +29 -0
  49. data/spec/dummy/config/application.rb +15 -0
  50. data/spec/dummy/config/boot.rb +5 -0
  51. data/spec/dummy/config/cable.yml +9 -0
  52. data/spec/dummy/config/database.yml +25 -0
  53. data/spec/dummy/config/environment.rb +5 -0
  54. data/spec/dummy/config/environments/development.rb +54 -0
  55. data/spec/dummy/config/environments/production.rb +86 -0
  56. data/spec/dummy/config/environments/test.rb +42 -0
  57. data/spec/dummy/config/initializers/application_controller_renderer.rb +6 -0
  58. data/spec/dummy/config/initializers/assets.rb +11 -0
  59. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  60. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
  61. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  62. data/spec/dummy/config/initializers/inflections.rb +16 -0
  63. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  64. data/spec/dummy/config/initializers/new_framework_defaults.rb +24 -0
  65. data/spec/dummy/config/initializers/session_store.rb +3 -0
  66. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  67. data/spec/dummy/config/locales/en.yml +23 -0
  68. data/spec/dummy/config/puma.rb +47 -0
  69. data/spec/dummy/config/routes.rb +3 -0
  70. data/spec/dummy/config/secrets.yml +22 -0
  71. data/spec/dummy/config/spring.rb +6 -0
  72. data/spec/dummy/config.ru +5 -0
  73. data/spec/dummy/db/development.sqlite3 +0 -0
  74. data/spec/dummy/db/migrate/20161228194303_create_models.rb +21 -0
  75. data/spec/dummy/db/schema.rb +39 -0
  76. data/spec/dummy/db/test.sqlite3 +0 -0
  77. data/spec/dummy/log/development.log +93 -0
  78. data/spec/dummy/log/record_changes/2016.12_Employee.log +9 -0
  79. data/spec/dummy/log/record_changes/2016.12_Picture.log +0 -0
  80. data/spec/dummy/log/record_changes/2016.12_Product.log +0 -0
  81. data/spec/dummy/log/test.log +1802 -0
  82. data/spec/dummy/public/404.html +67 -0
  83. data/spec/dummy/public/422.html +67 -0
  84. data/spec/dummy/public/500.html +66 -0
  85. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  86. data/spec/dummy/public/apple-touch-icon.png +0 -0
  87. data/spec/dummy/public/favicon.ico +0 -0
  88. data/spec/factories/employee.rb +6 -0
  89. data/spec/factories/picture.rb +6 -0
  90. data/spec/factories/product.rb +6 -0
  91. data/spec/log_changes_spec.rb +58 -0
  92. data/spec/rails_helper.rb +76 -0
  93. data/spec/spec_helper.rb +99 -0
  94. metadata +302 -0
@@ -0,0 +1,1802 @@
1
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
2
+  (0.1ms) SELECT version FROM "schema_migrations"
3
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
4
+  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
6
+  (0.1ms) begin transaction
7
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 19:35:50 UTC], ["updated_at", 2016-12-28 19:35:50 UTC]]
8
+  (0.6ms) commit transaction
9
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
10
+  (0.0ms) begin transaction
11
+  (0.0ms) commit transaction
12
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
13
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
14
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
15
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
16
+  (1.8ms) CREATE TABLE "my_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "string_attr" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
17
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
18
+  (0.1ms) SELECT version FROM "schema_migrations"
19
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
20
+  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
21
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
22
+  (0.0ms) begin transaction
23
+ SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:24:28 UTC], ["updated_at", 2016-12-28 20:24:28 UTC]]
24
+  (0.6ms) commit transaction
25
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
26
+  (0.0ms) begin transaction
27
+  (0.0ms) commit transaction
28
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
29
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
30
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
31
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
32
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
33
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
34
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
35
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
36
+  (1.9ms) CREATE TABLE "my_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "string_attr" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
37
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
38
+  (0.1ms) SELECT version FROM "schema_migrations"
39
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
40
+  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
41
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
42
+  (0.0ms) begin transaction
43
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:25:26 UTC], ["updated_at", 2016-12-28 20:25:26 UTC]]
44
+  (0.6ms) commit transaction
45
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
46
+  (0.0ms) begin transaction
47
+  (0.0ms) commit transaction
48
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
49
+  (0.8ms) DELETE FROM "my_models";
50
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
51
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'my_models';
52
+  (0.7ms) DELETE FROM "ar_internal_metadata";
53
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
54
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
55
+  (0.1ms) begin transaction
56
+  (0.0ms) commit transaction
57
+  (0.0ms) begin transaction
58
+  (0.1ms) rollback transaction
59
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
60
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
61
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
62
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
63
+  (2.0ms) DELETE FROM "my_models";
64
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
65
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'my_models';
66
+  (0.5ms) DELETE FROM "ar_internal_metadata";
67
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
68
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
69
+  (0.0ms) begin transaction
70
+  (0.0ms) commit transaction
71
+  (0.0ms) begin transaction
72
+  (0.0ms) rollback transaction
73
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
74
+  (0.0ms) begin transaction
75
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:26:08 UTC], ["updated_at", 2016-12-28 20:26:08 UTC]]
76
+  (1.6ms) commit transaction
77
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
78
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
79
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
80
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
81
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
82
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
83
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
84
+  (1.8ms) CREATE TABLE "my_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "string_attr" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
85
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
86
+  (0.1ms) SELECT version FROM "schema_migrations"
87
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
88
+  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
89
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
90
+  (0.0ms) begin transaction
91
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:26:16 UTC], ["updated_at", 2016-12-28 20:26:16 UTC]]
92
+  (0.5ms) commit transaction
93
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
94
+  (0.0ms) begin transaction
95
+  (0.0ms) commit transaction
96
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
97
+  (1.8ms) DELETE FROM "my_models";
98
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
99
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'my_models';
100
+  (0.7ms) DELETE FROM "ar_internal_metadata";
101
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
103
+  (0.0ms) begin transaction
104
+  (0.0ms) commit transaction
105
+  (0.0ms) begin transaction
106
+  (0.1ms) rollback transaction
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
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
110
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
111
+  (1.7ms) DELETE FROM "my_models";
112
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
113
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'my_models';
114
+  (0.7ms) DELETE FROM "ar_internal_metadata";
115
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
116
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
117
+  (0.1ms) begin transaction
118
+  (0.1ms) commit transaction
119
+  (0.0ms) begin transaction
120
+  (0.0ms) SAVEPOINT active_record_1
121
+ SQL (0.3ms) INSERT INTO "my_models" ("string_attr", "created_at", "updated_at") VALUES (?, ?, ?) [["string_attr", "hello worldzzzzz!"], ["created_at", 2016-12-28 20:29:50 UTC], ["updated_at", 2016-12-28 20:29:50 UTC]]
122
+  (0.0ms) RELEASE SAVEPOINT active_record_1
123
+  (0.1ms) SELECT COUNT(*) FROM "my_models"
124
+  (0.4ms) rollback transaction
125
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
126
+  (0.0ms) begin transaction
127
+ SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:30:30 UTC], ["updated_at", 2016-12-28 20:30:30 UTC]]
128
+  (1.5ms) commit transaction
129
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
130
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
131
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
132
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
133
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
134
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
135
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
136
+  (2.2ms) CREATE TABLE "my_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "string_attr" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
137
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
138
+  (0.1ms) SELECT version FROM "schema_migrations"
139
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
140
+  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
141
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
142
+  (0.1ms) begin transaction
143
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:30:37 UTC], ["updated_at", 2016-12-28 20:30:37 UTC]]
144
+  (0.6ms) commit transaction
145
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
146
+  (0.0ms) begin transaction
147
+  (0.0ms) commit transaction
148
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
149
+  (1.8ms) DELETE FROM "my_models";
150
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
151
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'my_models';
152
+  (0.7ms) DELETE FROM "ar_internal_metadata";
153
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
154
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
155
+  (0.0ms) begin transaction
156
+  (0.0ms) commit transaction
157
+  (0.1ms) begin transaction
158
+  (0.0ms) SAVEPOINT active_record_1
159
+ SQL (0.3ms) INSERT INTO "my_models" ("string_attr", "created_at", "updated_at") VALUES (?, ?, ?) [["string_attr", "hello worldzzzzz!"], ["created_at", 2016-12-28 20:30:37 UTC], ["updated_at", 2016-12-28 20:30:37 UTC]]
160
+  (0.0ms) RELEASE SAVEPOINT active_record_1
161
+  (0.1ms) SELECT COUNT(*) FROM "my_models"
162
+  (0.4ms) rollback transaction
163
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
164
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
165
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
166
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
167
+  (1.8ms) DELETE FROM "my_models";
168
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
169
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'my_models';
170
+  (0.7ms) DELETE FROM "ar_internal_metadata";
171
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
172
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
173
+  (0.0ms) begin transaction
174
+  (0.0ms) commit transaction
175
+  (0.0ms) begin transaction
176
+  (0.1ms) SAVEPOINT active_record_1
177
+ SQL (0.3ms) INSERT INTO "my_models" ("string_attr", "created_at", "updated_at") VALUES (?, ?, ?) [["string_attr", "hello worldzzzzz!"], ["created_at", 2016-12-28 20:30:42 UTC], ["updated_at", 2016-12-28 20:30:42 UTC]]
178
+  (0.1ms) RELEASE SAVEPOINT active_record_1
179
+  (0.1ms) SELECT COUNT(*) FROM "my_models"
180
+  (0.4ms) rollback transaction
181
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
182
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
183
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
184
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
185
+  (1.8ms) DELETE FROM "my_models";
186
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
187
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'my_models';
188
+  (0.6ms) DELETE FROM "ar_internal_metadata";
189
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
190
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
191
+  (0.0ms) begin transaction
192
+  (0.0ms) commit transaction
193
+  (0.0ms) begin transaction
194
+  (0.1ms) SAVEPOINT active_record_1
195
+ SQL (0.5ms) INSERT INTO "my_models" ("string_attr", "created_at", "updated_at") VALUES (?, ?, ?) [["string_attr", "hello worldzzzzz!"], ["created_at", 2016-12-28 20:34:54 UTC], ["updated_at", 2016-12-28 20:34:54 UTC]]
196
+  (0.1ms) RELEASE SAVEPOINT active_record_1
197
+  (0.1ms) SELECT COUNT(*) FROM "my_models"
198
+  (1.0ms) rollback transaction
199
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
200
+  (0.0ms) begin transaction
201
+ SQL (0.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:35:01 UTC], ["updated_at", 2016-12-28 20:35:01 UTC]]
202
+  (1.8ms) commit transaction
203
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
204
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
205
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
206
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
207
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
208
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
209
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
210
+  (1.0ms) CREATE TABLE "my_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "string_attr" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
211
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
212
+  (0.1ms) SELECT version FROM "schema_migrations"
213
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
214
+  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
215
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
216
+  (0.1ms) begin transaction
217
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:35:06 UTC], ["updated_at", 2016-12-28 20:35:06 UTC]]
218
+  (0.5ms) commit transaction
219
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
220
+  (0.0ms) begin transaction
221
+  (0.0ms) commit transaction
222
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
223
+  (1.9ms) DELETE FROM "my_models";
224
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
225
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'my_models';
226
+  (0.7ms) DELETE FROM "ar_internal_metadata";
227
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
228
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
229
+  (0.0ms) begin transaction
230
+  (0.0ms) commit transaction
231
+  (0.0ms) begin transaction
232
+  (0.1ms) SAVEPOINT active_record_1
233
+ SQL (0.6ms) INSERT INTO "my_models" ("string_attr", "created_at", "updated_at") VALUES (?, ?, ?) [["string_attr", "hello worldzzzzz!"], ["created_at", 2016-12-28 20:35:06 UTC], ["updated_at", 2016-12-28 20:35:06 UTC]]
234
+  (0.1ms) RELEASE SAVEPOINT active_record_1
235
+  (0.1ms) SELECT COUNT(*) FROM "my_models"
236
+  (0.4ms) rollback transaction
237
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
238
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
239
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
240
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
241
+  (1.9ms) DELETE FROM "my_models";
242
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
243
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'my_models';
244
+  (0.7ms) DELETE FROM "ar_internal_metadata";
245
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
246
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
247
+  (0.1ms) begin transaction
248
+  (0.0ms) commit transaction
249
+  (0.0ms) begin transaction
250
+  (0.1ms) SAVEPOINT active_record_1
251
+ SQL (0.6ms) INSERT INTO "my_models" ("string_attr", "created_at", "updated_at") VALUES (?, ?, ?) [["string_attr", "hello worldzzzzz!"], ["created_at", 2016-12-28 20:36:05 UTC], ["updated_at", 2016-12-28 20:36:05 UTC]]
252
+  (0.1ms) RELEASE SAVEPOINT active_record_1
253
+  (0.1ms) SELECT COUNT(*) FROM "my_models"
254
+  (0.6ms) rollback transaction
255
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
256
+  (0.0ms) begin transaction
257
+ SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:36:09 UTC], ["updated_at", 2016-12-28 20:36:09 UTC]]
258
+  (0.6ms) commit transaction
259
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
260
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
261
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
262
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
263
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
264
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
265
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
266
+  (1.8ms) CREATE TABLE "my_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "string_attr" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
267
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
268
+  (0.1ms) SELECT version FROM "schema_migrations"
269
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
270
+  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
271
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
272
+  (0.1ms) begin transaction
273
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:36:17 UTC], ["updated_at", 2016-12-28 20:36:17 UTC]]
274
+  (0.7ms) commit transaction
275
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
276
+  (0.1ms) begin transaction
277
+  (0.1ms) commit transaction
278
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
279
+  (1.8ms) DELETE FROM "my_models";
280
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
281
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'my_models';
282
+  (0.7ms) DELETE FROM "ar_internal_metadata";
283
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
284
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
285
+  (0.1ms) begin transaction
286
+  (0.0ms) commit transaction
287
+  (0.0ms) begin transaction
288
+  (0.1ms) SAVEPOINT active_record_1
289
+ SQL (0.5ms) INSERT INTO "my_models" ("string_attr", "created_at", "updated_at") VALUES (?, ?, ?) [["string_attr", "hello worldzzzzz!"], ["created_at", 2016-12-28 20:36:17 UTC], ["updated_at", 2016-12-28 20:36:17 UTC]]
290
+  (0.1ms) RELEASE SAVEPOINT active_record_1
291
+  (0.1ms) SELECT COUNT(*) FROM "my_models"
292
+  (0.6ms) rollback transaction
293
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
294
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
295
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
296
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
297
+  (1.7ms) DELETE FROM "my_models";
298
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
299
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'my_models';
300
+  (0.7ms) DELETE FROM "ar_internal_metadata";
301
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
302
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
303
+  (0.0ms) begin transaction
304
+  (0.0ms) commit transaction
305
+  (0.0ms) begin transaction
306
+  (0.1ms) SAVEPOINT active_record_1
307
+ SQL (0.6ms) INSERT INTO "my_models" ("string_attr", "created_at", "updated_at") VALUES (?, ?, ?) [["string_attr", "hello worldzzzzz!"], ["created_at", 2016-12-28 20:36:21 UTC], ["updated_at", 2016-12-28 20:36:21 UTC]]
308
+  (0.1ms) RELEASE SAVEPOINT active_record_1
309
+  (0.2ms) SELECT COUNT(*) FROM "my_models"
310
+  (0.4ms) rollback transaction
311
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
312
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
313
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
314
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
315
+  (1.8ms) DELETE FROM "my_models";
316
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
317
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'my_models';
318
+  (0.6ms) DELETE FROM "ar_internal_metadata";
319
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
320
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
321
+  (0.0ms) begin transaction
322
+  (0.0ms) commit transaction
323
+  (0.0ms) begin transaction
324
+  (0.1ms) SAVEPOINT active_record_1
325
+ SQL (0.6ms) INSERT INTO "my_models" ("string_attr", "created_at", "updated_at") VALUES (?, ?, ?) [["string_attr", "hello worldzzzzz!"], ["created_at", 2016-12-28 20:36:33 UTC], ["updated_at", 2016-12-28 20:36:33 UTC]]
326
+  (0.1ms) RELEASE SAVEPOINT active_record_1
327
+  (0.1ms) SELECT COUNT(*) FROM "my_models"
328
+  (0.5ms) rollback transaction
329
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
330
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
331
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
332
+  (0.1ms) begin transaction
333
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:37:02 UTC], ["updated_at", 2016-12-28 20:37:02 UTC]]
334
+  (1.5ms) commit transaction
335
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
336
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
337
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
338
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
339
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
340
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
341
+  (1.9ms) DROP TABLE "my_models"
342
+  (0.8ms) CREATE TABLE "my_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "string_attr" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
343
+  (0.1ms) SELECT version FROM "schema_migrations"
344
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
345
+  (0.0ms) begin transaction
346
+  (0.0ms) commit transaction
347
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
348
+  (0.0ms) begin transaction
349
+  (0.0ms) commit transaction
350
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
351
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
352
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
353
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
354
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
355
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
356
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
357
+  (1.9ms) CREATE TABLE "my_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "string_attr" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
358
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
359
+  (0.1ms) SELECT version FROM "schema_migrations"
360
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
361
+  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
362
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
363
+  (0.1ms) begin transaction
364
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:37:12 UTC], ["updated_at", 2016-12-28 20:37:12 UTC]]
365
+  (0.9ms) commit transaction
366
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
367
+  (0.0ms) begin transaction
368
+  (0.0ms) commit transaction
369
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
370
+  (1.7ms) DELETE FROM "my_models";
371
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
372
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'my_models';
373
+  (0.7ms) DELETE FROM "ar_internal_metadata";
374
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
375
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
376
+  (0.0ms) begin transaction
377
+  (0.0ms) commit transaction
378
+  (0.0ms) begin transaction
379
+  (0.1ms) SAVEPOINT active_record_1
380
+ SQL (0.6ms) INSERT INTO "my_models" ("string_attr", "created_at", "updated_at") VALUES (?, ?, ?) [["string_attr", "hello worldzzzzz!"], ["created_at", 2016-12-28 20:37:12 UTC], ["updated_at", 2016-12-28 20:37:12 UTC]]
381
+  (0.1ms) RELEASE SAVEPOINT active_record_1
382
+  (0.1ms) SELECT COUNT(*) FROM "my_models"
383
+  (0.5ms) rollback transaction
384
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
385
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
386
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
387
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
388
+  (1.9ms) DELETE FROM "my_models";
389
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
390
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'my_models';
391
+  (0.6ms) DELETE FROM "ar_internal_metadata";
392
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
393
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
394
+  (0.0ms) begin transaction
395
+  (0.0ms) commit transaction
396
+  (0.0ms) begin transaction
397
+  (0.1ms) SAVEPOINT active_record_1
398
+ SQL (0.4ms) INSERT INTO "my_models" ("string_attr", "created_at", "updated_at") VALUES (?, ?, ?) [["string_attr", "hello worldzzzzz!"], ["created_at", 2016-12-28 20:37:16 UTC], ["updated_at", 2016-12-28 20:37:16 UTC]]
399
+  (0.1ms) RELEASE SAVEPOINT active_record_1
400
+  (0.1ms) SELECT COUNT(*) FROM "my_models"
401
+  (0.5ms) rollback transaction
402
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
403
+  (0.0ms) begin transaction
404
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:38:58 UTC], ["updated_at", 2016-12-28 20:38:58 UTC]]
405
+  (1.6ms) commit transaction
406
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
407
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
408
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
409
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
410
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
411
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
412
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
413
+  (1.9ms) CREATE TABLE "my_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "string_attr" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
414
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
415
+  (0.1ms) SELECT version FROM "schema_migrations"
416
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
417
+  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
418
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
419
+  (0.0ms) begin transaction
420
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:39:03 UTC], ["updated_at", 2016-12-28 20:39:03 UTC]]
421
+  (0.6ms) commit transaction
422
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
423
+  (0.0ms) begin transaction
424
+  (0.0ms) commit transaction
425
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
426
+  (1.8ms) DELETE FROM "my_models";
427
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
428
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'my_models';
429
+  (0.1ms) begin transaction
430
+  (0.0ms) commit transaction
431
+  (0.0ms) begin transaction
432
+  (0.1ms) SAVEPOINT active_record_1
433
+ SQL (0.6ms) INSERT INTO "my_models" ("string_attr", "created_at", "updated_at") VALUES (?, ?, ?) [["string_attr", "hello worldzzzzz!"], ["created_at", 2016-12-28 20:39:03 UTC], ["updated_at", 2016-12-28 20:39:03 UTC]]
434
+  (0.1ms) RELEASE SAVEPOINT active_record_1
435
+  (0.1ms) SELECT COUNT(*) FROM "my_models"
436
+  (0.4ms) rollback transaction
437
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
438
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
439
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
440
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
441
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
442
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
443
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
444
+  (2.0ms) CREATE TABLE "my_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "string_attr" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
445
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
446
+  (0.1ms) SELECT version FROM "schema_migrations"
447
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
448
+  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
449
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
450
+  (0.0ms) begin transaction
451
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:39:07 UTC], ["updated_at", 2016-12-28 20:39:07 UTC]]
452
+  (0.6ms) commit transaction
453
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
454
+  (0.0ms) begin transaction
455
+  (0.0ms) commit transaction
456
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
457
+  (1.7ms) DELETE FROM "my_models";
458
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
459
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'my_models';
460
+  (0.0ms) begin transaction
461
+  (0.0ms) commit transaction
462
+  (0.0ms) begin transaction
463
+  (0.1ms) SAVEPOINT active_record_1
464
+ SQL (0.6ms) INSERT INTO "my_models" ("string_attr", "created_at", "updated_at") VALUES (?, ?, ?) [["string_attr", "hello worldzzzzz!"], ["created_at", 2016-12-28 20:39:07 UTC], ["updated_at", 2016-12-28 20:39:07 UTC]]
465
+  (0.1ms) RELEASE SAVEPOINT active_record_1
466
+  (0.1ms) SELECT COUNT(*) FROM "my_models"
467
+  (0.5ms) rollback transaction
468
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
469
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
470
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
471
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
472
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
473
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
474
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
475
+  (1.9ms) CREATE TABLE "my_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "string_attr" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
476
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
477
+  (0.1ms) SELECT version FROM "schema_migrations"
478
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
479
+  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
480
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
481
+  (0.0ms) begin transaction
482
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:39:13 UTC], ["updated_at", 2016-12-28 20:39:13 UTC]]
483
+  (0.6ms) commit transaction
484
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
485
+  (0.0ms) begin transaction
486
+  (0.0ms) commit transaction
487
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
488
+  (1.7ms) DELETE FROM "my_models";
489
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
490
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'my_models';
491
+  (0.0ms) begin transaction
492
+  (0.0ms) commit transaction
493
+  (0.0ms) begin transaction
494
+  (0.1ms) SAVEPOINT active_record_1
495
+ SQL (0.5ms) INSERT INTO "my_models" ("string_attr", "created_at", "updated_at") VALUES (?, ?, ?) [["string_attr", "hello worldzzzzz!"], ["created_at", 2016-12-28 20:39:13 UTC], ["updated_at", 2016-12-28 20:39:13 UTC]]
496
+  (0.1ms) RELEASE SAVEPOINT active_record_1
497
+  (0.2ms) SELECT COUNT(*) FROM "my_models"
498
+  (1.6ms) rollback transaction
499
+  (1.9ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
500
+  (0.9ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
501
+  (0.1ms) select sqlite_version(*)
502
+  (1.2ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
503
+  (1.5ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
504
+  (1.1ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
505
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
506
+  (0.1ms) SELECT version FROM "schema_migrations"
507
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
508
+  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
509
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
510
+  (0.0ms) begin transaction
511
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:51:59 UTC], ["updated_at", 2016-12-28 20:51:59 UTC]]
512
+  (0.7ms) commit transaction
513
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
514
+  (0.1ms) begin transaction
515
+  (0.0ms) commit transaction
516
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
517
+  (1.8ms) DELETE FROM "employees";
518
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
519
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
520
+  (0.9ms) DELETE FROM "pictures";
521
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
522
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
523
+  (0.8ms) DELETE FROM "products";
524
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
525
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
526
+  (0.1ms) begin transaction
527
+  (0.0ms) commit transaction
528
+  (0.0ms) begin transaction
529
+  (0.1ms) SAVEPOINT active_record_1
530
+ SQL (0.5ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 20:51:59 UTC], ["updated_at", 2016-12-28 20:51:59 UTC]]
531
+  (0.1ms) RELEASE SAVEPOINT active_record_1
532
+  (0.1ms) SELECT COUNT(*) FROM "employees"
533
+  (0.5ms) rollback transaction
534
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
535
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
536
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
537
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
538
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
539
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
540
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
541
+  (2.1ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
542
+  (1.3ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
543
+  (0.1ms) select sqlite_version(*)
544
+  (1.4ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
545
+  (1.1ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
546
+  (1.0ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
547
+  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
548
+  (0.2ms) SELECT version FROM "schema_migrations"
549
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
550
+  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
551
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
552
+  (0.1ms) begin transaction
553
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:52:34 UTC], ["updated_at", 2016-12-28 20:52:34 UTC]]
554
+  (0.7ms) commit transaction
555
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
556
+  (0.0ms) begin transaction
557
+  (0.1ms) commit transaction
558
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
559
+  (1.7ms) DELETE FROM "employees";
560
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
561
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
562
+  (1.0ms) DELETE FROM "pictures";
563
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
564
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
565
+  (0.9ms) DELETE FROM "products";
566
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
567
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
568
+  (0.1ms) begin transaction
569
+  (0.0ms) commit transaction
570
+  (0.0ms) begin transaction
571
+  (0.1ms) SAVEPOINT active_record_1
572
+ SQL (0.6ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 20:52:34 UTC], ["updated_at", 2016-12-28 20:52:34 UTC]]
573
+  (0.1ms) RELEASE SAVEPOINT active_record_1
574
+  (0.1ms) SAVEPOINT active_record_1
575
+ SQL (0.1ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 20:52:34 UTC], ["updated_at", 2016-12-28 20:52:34 UTC]]
576
+  (0.0ms) RELEASE SAVEPOINT active_record_1
577
+  (0.1ms) SAVEPOINT active_record_1
578
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" IS NULL LIMIT ? [["LIMIT", 1]]
579
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
580
+ SQL (0.1ms) INSERT INTO "products" ("employee_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["employee_id", 2], ["name", "Unbreakable Glasses"], ["created_at", 2016-12-28 20:52:34 UTC], ["updated_at", 2016-12-28 20:52:34 UTC]]
581
+  (0.0ms) RELEASE SAVEPOINT active_record_1
582
+  (0.1ms) SELECT COUNT(*) FROM "employees"
583
+  (0.1ms) SELECT COUNT(*) FROM "products"
584
+  (0.4ms) rollback transaction
585
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
586
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
587
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
588
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
589
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
590
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
591
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
592
+  (2.1ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
593
+  (1.1ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
594
+  (0.1ms) select sqlite_version(*)
595
+  (1.3ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
596
+  (1.1ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
597
+  (0.7ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
598
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
599
+  (0.1ms) SELECT version FROM "schema_migrations"
600
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
601
+  (2.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
602
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
603
+  (0.1ms) begin transaction
604
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:53:31 UTC], ["updated_at", 2016-12-28 20:53:31 UTC]]
605
+  (0.6ms) commit transaction
606
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
607
+  (0.1ms) begin transaction
608
+  (0.0ms) commit transaction
609
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
610
+  (1.8ms) DELETE FROM "employees";
611
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
612
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
613
+  (0.9ms) DELETE FROM "pictures";
614
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
615
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
616
+  (0.8ms) DELETE FROM "products";
617
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
618
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
619
+  (0.0ms) begin transaction
620
+  (0.1ms) commit transaction
621
+  (0.0ms) begin transaction
622
+  (0.1ms) SAVEPOINT active_record_1
623
+ SQL (1.4ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 20:53:31 UTC], ["updated_at", 2016-12-28 20:53:31 UTC]]
624
+  (0.1ms) RELEASE SAVEPOINT active_record_1
625
+  (0.1ms) SAVEPOINT active_record_1
626
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" IS NULL LIMIT ? [["LIMIT", 1]]
627
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
628
+ SQL (0.1ms) INSERT INTO "products" ("employee_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["employee_id", 1], ["name", "Unbreakable Glasses"], ["created_at", 2016-12-28 20:53:31 UTC], ["updated_at", 2016-12-28 20:53:31 UTC]]
629
+  (0.0ms) RELEASE SAVEPOINT active_record_1
630
+  (0.1ms) SELECT COUNT(*) FROM "employees"
631
+  (0.0ms) SELECT COUNT(*) FROM "products"
632
+  (1.2ms) rollback transaction
633
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
634
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
635
+  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
636
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
637
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
638
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
639
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
640
+  (1.1ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
641
+  (0.9ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
642
+  (0.1ms) select sqlite_version(*)
643
+  (1.2ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
644
+  (0.8ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
645
+  (0.8ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
646
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
647
+  (0.1ms) SELECT version FROM "schema_migrations"
648
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
649
+  (1.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
650
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
651
+  (0.1ms) begin transaction
652
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:54:24 UTC], ["updated_at", 2016-12-28 20:54:24 UTC]]
653
+  (0.7ms) commit transaction
654
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
655
+  (0.1ms) begin transaction
656
+  (0.0ms) commit transaction
657
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
658
+  (1.7ms) DELETE FROM "employees";
659
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
660
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
661
+  (0.7ms) DELETE FROM "pictures";
662
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
663
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
664
+  (0.7ms) DELETE FROM "products";
665
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
666
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
667
+  (0.1ms) begin transaction
668
+  (0.0ms) commit transaction
669
+  (0.0ms) begin transaction
670
+  (0.1ms) SAVEPOINT active_record_1
671
+ SQL (0.4ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 20:54:24 UTC], ["updated_at", 2016-12-28 20:54:24 UTC]]
672
+  (0.1ms) RELEASE SAVEPOINT active_record_1
673
+  (0.1ms) SAVEPOINT active_record_1
674
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" IS NULL LIMIT ? [["LIMIT", 1]]
675
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
676
+ SQL (0.2ms) INSERT INTO "products" ("employee_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["employee_id", 1], ["name", "Unbreakable Glasses"], ["created_at", 2016-12-28 20:54:24 UTC], ["updated_at", 2016-12-28 20:54:24 UTC]]
677
+  (0.1ms) RELEASE SAVEPOINT active_record_1
678
+  (0.1ms) SELECT COUNT(*) FROM "employees"
679
+  (0.0ms) SELECT COUNT(*) FROM "products"
680
+  (1.3ms) rollback transaction
681
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
682
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
683
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
684
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
685
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
686
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
687
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
688
+  (2.1ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
689
+  (0.9ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
690
+  (0.1ms) select sqlite_version(*)
691
+  (1.4ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
692
+  (1.1ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
693
+  (0.9ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
694
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
695
+  (0.2ms) SELECT version FROM "schema_migrations"
696
+  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
697
+  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
698
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
699
+  (0.1ms) begin transaction
700
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:57:44 UTC], ["updated_at", 2016-12-28 20:57:44 UTC]]
701
+  (0.6ms) commit transaction
702
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
703
+  (0.1ms) begin transaction
704
+  (0.2ms) commit transaction
705
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
706
+  (1.7ms) DELETE FROM "employees";
707
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
708
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
709
+  (0.8ms) DELETE FROM "pictures";
710
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
711
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
712
+  (0.8ms) DELETE FROM "products";
713
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
714
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
715
+  (0.1ms) begin transaction
716
+  (0.0ms) commit transaction
717
+  (0.1ms) begin transaction
718
+  (0.1ms) SAVEPOINT active_record_1
719
+ SQL (0.5ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 20:57:44 UTC], ["updated_at", 2016-12-28 20:57:44 UTC]]
720
+  (0.1ms) RELEASE SAVEPOINT active_record_1
721
+  (0.1ms) SAVEPOINT active_record_1
722
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" IS NULL LIMIT ? [["LIMIT", 1]]
723
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
724
+ SQL (0.1ms) INSERT INTO "products" ("employee_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["employee_id", 1], ["name", "Unbreakable Glasses"], ["created_at", 2016-12-28 20:57:44 UTC], ["updated_at", 2016-12-28 20:57:44 UTC]]
725
+  (0.0ms) RELEASE SAVEPOINT active_record_1
726
+  (0.1ms) SAVEPOINT active_record_1
727
+ SQL (0.5ms) INSERT INTO "pictures" ("name", "imageable_type", "imageable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "something_amazing.png"], ["imageable_type", "Product"], ["imageable_id", 1], ["created_at", 2016-12-28 20:57:44 UTC], ["updated_at", 2016-12-28 20:57:44 UTC]]
728
+  (0.2ms) RELEASE SAVEPOINT active_record_1
729
+  (0.1ms) SELECT COUNT(*) FROM "employees"
730
+  (0.0ms) SELECT COUNT(*) FROM "products"
731
+  (0.0ms) SELECT COUNT(*) FROM "pictures"
732
+  (0.5ms) rollback transaction
733
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
734
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
735
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
736
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
737
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
738
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
739
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
740
+  (2.2ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
741
+  (1.4ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
742
+  (0.1ms) select sqlite_version(*)
743
+  (1.6ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
744
+  (1.2ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
745
+  (0.8ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
746
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
747
+  (0.1ms) SELECT version FROM "schema_migrations"
748
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
749
+  (2.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
750
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
751
+  (0.1ms) begin transaction
752
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 20:59:07 UTC], ["updated_at", 2016-12-28 20:59:07 UTC]]
753
+  (0.6ms) commit transaction
754
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
755
+  (0.0ms) begin transaction
756
+  (0.0ms) commit transaction
757
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
758
+  (1.7ms) DELETE FROM "employees";
759
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
760
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
761
+  (0.8ms) DELETE FROM "pictures";
762
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
763
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
764
+  (0.7ms) DELETE FROM "products";
765
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
766
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
767
+  (0.1ms) begin transaction
768
+  (0.0ms) commit transaction
769
+  (0.0ms) begin transaction
770
+  (0.1ms) SAVEPOINT active_record_1
771
+ SQL (0.6ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 20:59:07 UTC], ["updated_at", 2016-12-28 20:59:07 UTC]]
772
+  (0.1ms) RELEASE SAVEPOINT active_record_1
773
+  (0.1ms) SAVEPOINT active_record_1
774
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" IS NULL LIMIT ? [["LIMIT", 1]]
775
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
776
+ SQL (0.2ms) INSERT INTO "products" ("employee_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["employee_id", 1], ["name", "Unbreakable Glasses"], ["created_at", 2016-12-28 20:59:07 UTC], ["updated_at", 2016-12-28 20:59:07 UTC]]
777
+  (0.0ms) RELEASE SAVEPOINT active_record_1
778
+  (0.1ms) SAVEPOINT active_record_1
779
+ SQL (0.2ms) INSERT INTO "pictures" ("name", "imageable_type", "imageable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "something_amazing.png"], ["imageable_type", "Product"], ["imageable_id", 1], ["created_at", 2016-12-28 20:59:07 UTC], ["updated_at", 2016-12-28 20:59:07 UTC]]
780
+  (0.1ms) RELEASE SAVEPOINT active_record_1
781
+  (0.1ms) SAVEPOINT active_record_1
782
+ SQL (0.1ms) UPDATE "employees" SET "last_name" = ?, "updated_at" = ? WHERE "employees"."id" = ? [["last_name", "Smith"], ["updated_at", 2016-12-28 20:59:07 UTC], ["id", 1]]
783
+  (0.1ms) RELEASE SAVEPOINT active_record_1
784
+  (0.2ms) SELECT COUNT(*) FROM "employees"
785
+  (0.1ms) SELECT COUNT(*) FROM "products"
786
+  (0.1ms) SELECT COUNT(*) FROM "pictures"
787
+  (1.3ms) rollback transaction
788
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
789
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
790
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
791
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
792
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
793
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
794
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
795
+  (1.0ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
796
+  (1.0ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
797
+  (0.1ms) select sqlite_version(*)
798
+  (1.4ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
799
+  (1.3ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
800
+  (1.2ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
801
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
802
+  (0.1ms) SELECT version FROM "schema_migrations"
803
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
804
+  (1.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
805
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
806
+  (0.1ms) begin transaction
807
+ SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:04:50 UTC], ["updated_at", 2016-12-28 21:04:50 UTC]]
808
+  (0.8ms) commit transaction
809
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
810
+  (0.0ms) begin transaction
811
+  (0.0ms) commit transaction
812
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
813
+  (2.3ms) DELETE FROM "employees";
814
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
815
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
816
+  (1.1ms) DELETE FROM "pictures";
817
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
818
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pictures';
819
+  (0.9ms) DELETE FROM "products";
820
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
821
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
822
+  (0.1ms) begin transaction
823
+  (0.0ms) commit transaction
824
+  (0.0ms) begin transaction
825
+  (0.1ms) SAVEPOINT active_record_1
826
+ SQL (0.5ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:04:50 UTC], ["updated_at", 2016-12-28 21:04:50 UTC]]
827
+  (0.1ms) RELEASE SAVEPOINT active_record_1
828
+  (0.5ms) rollback transaction
829
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
830
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
831
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
832
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
833
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
834
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
835
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
836
+  (2.1ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
837
+  (1.2ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
838
+  (0.1ms) select sqlite_version(*)
839
+  (1.1ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
840
+  (1.3ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
841
+  (0.8ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
842
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
843
+  (0.1ms) SELECT version FROM "schema_migrations"
844
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
845
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
846
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
847
+  (0.1ms) begin transaction
848
+ SQL (0.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:05:47 UTC], ["updated_at", 2016-12-28 21:05:47 UTC]]
849
+  (0.7ms) commit transaction
850
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
851
+  (0.0ms) begin transaction
852
+  (0.0ms) commit transaction
853
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
854
+  (1.7ms) DELETE FROM "employees";
855
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
856
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
857
+  (0.7ms) DELETE FROM "pictures";
858
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
859
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
860
+  (0.7ms) DELETE FROM "products";
861
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
862
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
863
+  (0.1ms) begin transaction
864
+  (0.0ms) commit transaction
865
+  (0.0ms) begin transaction
866
+  (0.1ms) rollback transaction
867
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
868
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
869
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
870
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
871
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
872
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
873
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
874
+  (2.6ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
875
+  (1.3ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
876
+  (0.1ms) select sqlite_version(*)
877
+  (1.0ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
878
+  (1.3ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
879
+  (1.2ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
880
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
881
+  (0.2ms) SELECT version FROM "schema_migrations"
882
+  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
883
+  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
884
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
885
+  (0.1ms) begin transaction
886
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:06:00 UTC], ["updated_at", 2016-12-28 21:06:00 UTC]]
887
+  (0.7ms) commit transaction
888
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
889
+  (0.1ms) begin transaction
890
+  (0.1ms) commit transaction
891
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
892
+  (1.9ms) DELETE FROM "employees";
893
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
894
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'employees';
895
+  (1.5ms) DELETE FROM "pictures";
896
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
897
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
898
+  (1.0ms) DELETE FROM "products";
899
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
900
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
901
+  (0.1ms) begin transaction
902
+  (0.0ms) commit transaction
903
+  (0.0ms) begin transaction
904
+  (0.1ms) SAVEPOINT active_record_1
905
+ SQL (0.4ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:06:00 UTC], ["updated_at", 2016-12-28 21:06:00 UTC]]
906
+  (0.1ms) RELEASE SAVEPOINT active_record_1
907
+  (0.4ms) rollback transaction
908
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
909
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
910
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
911
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
912
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
913
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
914
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
915
+  (2.1ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
916
+  (1.4ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
917
+  (0.1ms) select sqlite_version(*)
918
+  (1.1ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
919
+  (1.2ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
920
+  (0.8ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
921
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
922
+  (0.1ms) SELECT version FROM "schema_migrations"
923
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
924
+  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
925
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
926
+  (0.1ms) begin transaction
927
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:06:39 UTC], ["updated_at", 2016-12-28 21:06:39 UTC]]
928
+  (0.9ms) commit transaction
929
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
930
+  (0.0ms) begin transaction
931
+  (0.0ms) commit transaction
932
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
933
+  (1.7ms) DELETE FROM "employees";
934
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
935
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
936
+  (0.8ms) DELETE FROM "pictures";
937
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
938
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'pictures';
939
+  (0.7ms) DELETE FROM "products";
940
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
941
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
942
+  (0.1ms) begin transaction
943
+  (0.0ms) commit transaction
944
+  (0.0ms) begin transaction
945
+  (0.1ms) SAVEPOINT active_record_1
946
+ SQL (0.4ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:06:39 UTC], ["updated_at", 2016-12-28 21:06:39 UTC]]
947
+  (0.1ms) RELEASE SAVEPOINT active_record_1
948
+  (0.4ms) rollback transaction
949
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
950
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
951
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
952
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
953
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
954
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
955
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
956
+  (1.9ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
957
+  (0.7ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
958
+  (0.0ms) select sqlite_version(*)
959
+  (0.7ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
960
+  (0.7ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
961
+  (0.7ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
962
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
963
+  (0.1ms) SELECT version FROM "schema_migrations"
964
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
965
+  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
966
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
967
+  (0.0ms) begin transaction
968
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:09:42 UTC], ["updated_at", 2016-12-28 21:09:42 UTC]]
969
+  (0.6ms) commit transaction
970
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
971
+  (0.1ms) begin transaction
972
+  (0.0ms) commit transaction
973
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
974
+  (1.9ms) DELETE FROM "employees";
975
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
976
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
977
+  (0.6ms) DELETE FROM "pictures";
978
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
979
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
980
+  (0.6ms) DELETE FROM "products";
981
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
982
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
983
+  (0.0ms) begin transaction
984
+  (0.0ms) commit transaction
985
+  (0.1ms) begin transaction
986
+  (0.1ms) SAVEPOINT active_record_1
987
+ SQL (0.5ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:09:42 UTC], ["updated_at", 2016-12-28 21:09:42 UTC]]
988
+  (0.1ms) RELEASE SAVEPOINT active_record_1
989
+  (0.5ms) rollback transaction
990
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
991
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
992
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
993
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
994
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
995
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
996
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
997
+  (1.8ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
998
+  (0.7ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
999
+  (0.1ms) select sqlite_version(*)
1000
+  (0.7ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
1001
+  (0.8ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1002
+  (0.9ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
1003
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1004
+  (0.1ms) SELECT version FROM "schema_migrations"
1005
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
1006
+  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1007
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1008
+  (0.0ms) begin transaction
1009
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:10:19 UTC], ["updated_at", 2016-12-28 21:10:19 UTC]]
1010
+  (0.6ms) commit transaction
1011
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1012
+  (0.0ms) begin transaction
1013
+  (0.1ms) commit transaction
1014
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1015
+  (1.8ms) DELETE FROM "employees";
1016
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1017
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
1018
+  (0.6ms) DELETE FROM "pictures";
1019
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1020
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
1021
+  (0.7ms) DELETE FROM "products";
1022
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1023
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
1024
+  (0.0ms) begin transaction
1025
+  (0.0ms) commit transaction
1026
+  (0.0ms) begin transaction
1027
+  (0.1ms) SAVEPOINT active_record_1
1028
+ SQL (0.4ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:10:19 UTC], ["updated_at", 2016-12-28 21:10:19 UTC]]
1029
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1030
+  (0.5ms) rollback transaction
1031
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1032
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1033
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1034
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1035
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1036
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1037
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1038
+  (1.9ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1039
+  (0.7ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1040
+  (0.0ms) select sqlite_version(*)
1041
+  (0.7ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
1042
+  (0.7ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1043
+  (0.9ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
1044
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1045
+  (0.1ms) SELECT version FROM "schema_migrations"
1046
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
1047
+  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1048
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1049
+  (0.0ms) begin transaction
1050
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:10:55 UTC], ["updated_at", 2016-12-28 21:10:55 UTC]]
1051
+  (0.8ms) commit transaction
1052
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1053
+  (0.2ms) begin transaction
1054
+  (0.0ms) commit transaction
1055
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1056
+  (1.8ms) DELETE FROM "employees";
1057
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1058
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'employees';
1059
+  (1.4ms) DELETE FROM "pictures";
1060
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1061
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
1062
+  (1.5ms) DELETE FROM "products";
1063
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1064
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
1065
+  (0.0ms) begin transaction
1066
+  (0.0ms) commit transaction
1067
+  (0.0ms) begin transaction
1068
+  (0.1ms) SAVEPOINT active_record_1
1069
+ SQL (0.3ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:10:55 UTC], ["updated_at", 2016-12-28 21:10:55 UTC]]
1070
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1071
+  (0.4ms) rollback transaction
1072
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1073
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1074
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1075
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1076
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1077
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1078
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1079
+  (2.0ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1080
+  (0.7ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1081
+  (0.1ms) select sqlite_version(*)
1082
+  (0.7ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
1083
+  (0.9ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1084
+  (0.7ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
1085
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1086
+  (0.1ms) SELECT version FROM "schema_migrations"
1087
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
1088
+  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1089
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1090
+  (0.0ms) begin transaction
1091
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:11:35 UTC], ["updated_at", 2016-12-28 21:11:35 UTC]]
1092
+  (0.5ms) commit transaction
1093
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1094
+  (0.0ms) begin transaction
1095
+  (0.0ms) commit transaction
1096
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1097
+  (0.8ms) DELETE FROM "employees";
1098
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1099
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
1100
+  (0.6ms) DELETE FROM "pictures";
1101
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1102
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
1103
+  (0.6ms) DELETE FROM "products";
1104
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1105
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
1106
+  (0.0ms) begin transaction
1107
+  (0.0ms) commit transaction
1108
+  (0.0ms) begin transaction
1109
+  (0.1ms) SAVEPOINT active_record_1
1110
+ SQL (0.5ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:11:35 UTC], ["updated_at", 2016-12-28 21:11:35 UTC]]
1111
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1112
+  (0.5ms) rollback transaction
1113
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1114
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1115
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1116
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1117
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1118
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1119
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1120
+  (2.0ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1121
+  (0.7ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1122
+  (0.0ms) select sqlite_version(*)
1123
+  (0.7ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
1124
+  (0.8ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1125
+  (0.7ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
1126
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1127
+  (0.1ms) SELECT version FROM "schema_migrations"
1128
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
1129
+  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1130
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1131
+  (0.0ms) begin transaction
1132
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:11:53 UTC], ["updated_at", 2016-12-28 21:11:53 UTC]]
1133
+  (0.6ms) commit transaction
1134
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1135
+  (0.0ms) begin transaction
1136
+  (0.0ms) commit transaction
1137
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1138
+  (1.8ms) DELETE FROM "employees";
1139
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1140
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
1141
+  (0.6ms) DELETE FROM "pictures";
1142
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1143
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
1144
+  (0.6ms) DELETE FROM "products";
1145
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1146
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
1147
+  (0.0ms) begin transaction
1148
+  (0.1ms) commit transaction
1149
+  (0.0ms) begin transaction
1150
+  (0.1ms) SAVEPOINT active_record_1
1151
+ SQL (0.4ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:11:53 UTC], ["updated_at", 2016-12-28 21:11:53 UTC]]
1152
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1153
+  (0.5ms) rollback transaction
1154
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1155
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1156
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1157
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1158
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1159
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1160
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1161
+  (2.0ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1162
+  (0.7ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1163
+  (0.0ms) select sqlite_version(*)
1164
+  (0.7ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
1165
+  (0.7ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1166
+  (0.6ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
1167
+  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1168
+  (0.1ms) SELECT version FROM "schema_migrations"
1169
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
1170
+  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1171
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1172
+  (0.0ms) begin transaction
1173
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:21:18 UTC], ["updated_at", 2016-12-28 21:21:18 UTC]]
1174
+  (0.5ms) commit transaction
1175
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1176
+  (0.0ms) begin transaction
1177
+  (0.0ms) commit transaction
1178
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1179
+  (1.9ms) DELETE FROM "employees";
1180
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1181
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
1182
+  (0.6ms) DELETE FROM "pictures";
1183
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1184
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
1185
+  (0.6ms) DELETE FROM "products";
1186
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1187
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
1188
+  (0.0ms) begin transaction
1189
+  (0.0ms) commit transaction
1190
+  (0.0ms) begin transaction
1191
+  (0.1ms) SAVEPOINT active_record_1
1192
+ SQL (0.4ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:21:18 UTC], ["updated_at", 2016-12-28 21:21:18 UTC]]
1193
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1194
+  (0.4ms) rollback transaction
1195
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1196
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1197
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1198
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1199
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1200
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1201
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1202
+  (1.8ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1203
+  (0.7ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1204
+  (0.0ms) select sqlite_version(*)
1205
+  (0.7ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
1206
+  (0.6ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1207
+  (0.7ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
1208
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1209
+  (0.1ms) SELECT version FROM "schema_migrations"
1210
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
1211
+  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1212
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1213
+  (0.0ms) begin transaction
1214
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:22:18 UTC], ["updated_at", 2016-12-28 21:22:18 UTC]]
1215
+  (0.5ms) commit transaction
1216
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1217
+  (0.1ms) begin transaction
1218
+  (0.0ms) commit transaction
1219
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1220
+  (2.3ms) DELETE FROM "employees";
1221
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1222
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'employees';
1223
+  (0.9ms) DELETE FROM "pictures";
1224
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1225
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
1226
+  (0.6ms) DELETE FROM "products";
1227
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1228
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
1229
+  (0.0ms) begin transaction
1230
+  (0.0ms) commit transaction
1231
+  (0.0ms) begin transaction
1232
+  (0.1ms) SAVEPOINT active_record_1
1233
+ SQL (0.4ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:22:18 UTC], ["updated_at", 2016-12-28 21:22:18 UTC]]
1234
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1235
+  (0.4ms) rollback transaction
1236
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1237
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1238
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1239
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1240
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1241
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1242
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1243
+  (1.8ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1244
+  (0.7ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1245
+  (0.0ms) select sqlite_version(*)
1246
+  (0.7ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
1247
+  (0.6ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1248
+  (0.7ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
1249
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1250
+  (0.1ms) SELECT version FROM "schema_migrations"
1251
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
1252
+  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1253
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1254
+  (0.0ms) begin transaction
1255
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:22:24 UTC], ["updated_at", 2016-12-28 21:22:24 UTC]]
1256
+  (0.5ms) commit transaction
1257
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1258
+  (0.0ms) begin transaction
1259
+  (0.0ms) commit transaction
1260
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1261
+  (1.7ms) DELETE FROM "employees";
1262
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1263
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
1264
+  (0.6ms) DELETE FROM "pictures";
1265
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1266
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
1267
+  (0.6ms) DELETE FROM "products";
1268
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1269
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
1270
+  (0.1ms) begin transaction
1271
+  (0.0ms) commit transaction
1272
+  (0.0ms) begin transaction
1273
+  (0.1ms) SAVEPOINT active_record_1
1274
+ SQL (0.4ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:22:24 UTC], ["updated_at", 2016-12-28 21:22:24 UTC]]
1275
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1276
+  (0.3ms) rollback transaction
1277
+  (0.1ms) begin transaction
1278
+  (0.0ms) commit transaction
1279
+  (0.0ms) begin transaction
1280
+  (0.0ms) SAVEPOINT active_record_1
1281
+ SQL (0.3ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:22:24 UTC], ["updated_at", 2016-12-28 21:22:24 UTC]]
1282
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1283
+  (0.4ms) rollback transaction
1284
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1285
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1286
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1287
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1288
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1289
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1290
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1291
+  (1.9ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1292
+  (0.7ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1293
+  (0.0ms) select sqlite_version(*)
1294
+  (0.7ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
1295
+  (0.7ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1296
+  (0.7ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
1297
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1298
+  (0.1ms) SELECT version FROM "schema_migrations"
1299
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
1300
+  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1301
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1302
+  (0.0ms) begin transaction
1303
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:25:08 UTC], ["updated_at", 2016-12-28 21:25:08 UTC]]
1304
+  (0.6ms) commit transaction
1305
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1306
+  (0.0ms) begin transaction
1307
+  (0.0ms) commit transaction
1308
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1309
+  (1.8ms) DELETE FROM "employees";
1310
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1311
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
1312
+  (0.6ms) DELETE FROM "pictures";
1313
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1314
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
1315
+  (0.6ms) DELETE FROM "products";
1316
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1317
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
1318
+  (0.0ms) begin transaction
1319
+  (0.0ms) commit transaction
1320
+  (0.0ms) begin transaction
1321
+  (0.0ms) SAVEPOINT active_record_1
1322
+ SQL (0.4ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:25:08 UTC], ["updated_at", 2016-12-28 21:25:08 UTC]]
1323
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1324
+  (0.4ms) rollback transaction
1325
+  (0.0ms) begin transaction
1326
+  (0.1ms) commit transaction
1327
+  (0.0ms) begin transaction
1328
+  (0.1ms) SAVEPOINT active_record_1
1329
+ SQL (0.3ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:25:08 UTC], ["updated_at", 2016-12-28 21:25:08 UTC]]
1330
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1331
+  (0.4ms) rollback transaction
1332
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1333
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1334
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1335
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1336
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1337
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1338
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1339
+  (1.9ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1340
+  (0.9ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1341
+  (0.1ms) select sqlite_version(*)
1342
+  (0.8ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
1343
+  (0.8ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1344
+  (0.7ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
1345
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1346
+  (0.1ms) SELECT version FROM "schema_migrations"
1347
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
1348
+  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1349
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1350
+  (0.1ms) begin transaction
1351
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:25:35 UTC], ["updated_at", 2016-12-28 21:25:35 UTC]]
1352
+  (0.6ms) commit transaction
1353
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1354
+  (0.0ms) begin transaction
1355
+  (0.0ms) commit transaction
1356
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1357
+  (1.8ms) DELETE FROM "employees";
1358
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1359
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
1360
+  (0.6ms) DELETE FROM "pictures";
1361
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1362
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
1363
+  (0.6ms) DELETE FROM "products";
1364
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1365
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
1366
+  (0.0ms) begin transaction
1367
+  (0.0ms) commit transaction
1368
+  (0.0ms) begin transaction
1369
+  (0.1ms) rollback transaction
1370
+  (0.0ms) begin transaction
1371
+  (0.0ms) commit transaction
1372
+  (0.0ms) begin transaction
1373
+  (0.1ms) SAVEPOINT active_record_1
1374
+ SQL (0.4ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:25:35 UTC], ["updated_at", 2016-12-28 21:25:35 UTC]]
1375
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1376
+  (0.4ms) rollback transaction
1377
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1378
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1379
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1380
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1381
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1382
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1383
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1384
+  (2.0ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1385
+  (0.7ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1386
+  (0.0ms) select sqlite_version(*)
1387
+  (0.7ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
1388
+  (0.7ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1389
+  (0.6ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
1390
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1391
+  (0.1ms) SELECT version FROM "schema_migrations"
1392
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
1393
+  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1394
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1395
+  (0.0ms) begin transaction
1396
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:26:57 UTC], ["updated_at", 2016-12-28 21:26:57 UTC]]
1397
+  (0.6ms) commit transaction
1398
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1399
+  (0.0ms) begin transaction
1400
+  (0.0ms) commit transaction
1401
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1402
+  (1.9ms) DELETE FROM "employees";
1403
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1404
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
1405
+  (0.6ms) DELETE FROM "pictures";
1406
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1407
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
1408
+  (0.6ms) DELETE FROM "products";
1409
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1410
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
1411
+  (0.0ms) begin transaction
1412
+  (0.0ms) commit transaction
1413
+  (0.0ms) begin transaction
1414
+  (0.1ms) SAVEPOINT active_record_1
1415
+ SQL (0.3ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:26:57 UTC], ["updated_at", 2016-12-28 21:26:57 UTC]]
1416
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1417
+  (0.4ms) rollback transaction
1418
+  (0.1ms) begin transaction
1419
+  (0.0ms) commit transaction
1420
+  (0.1ms) begin transaction
1421
+  (0.0ms) SAVEPOINT active_record_1
1422
+ SQL (0.3ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:26:57 UTC], ["updated_at", 2016-12-28 21:26:57 UTC]]
1423
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1424
+  (0.4ms) rollback transaction
1425
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1426
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1427
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1428
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1429
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1430
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1431
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1432
+  (2.0ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1433
+  (0.8ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1434
+  (0.2ms) select sqlite_version(*)
1435
+  (0.8ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
1436
+  (0.7ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1437
+  (0.7ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
1438
+  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1439
+  (0.1ms) SELECT version FROM "schema_migrations"
1440
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
1441
+  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1442
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1443
+  (0.0ms) begin transaction
1444
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:29:19 UTC], ["updated_at", 2016-12-28 21:29:19 UTC]]
1445
+  (0.6ms) commit transaction
1446
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1447
+  (0.0ms) begin transaction
1448
+  (0.0ms) commit transaction
1449
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1450
+  (1.8ms) DELETE FROM "employees";
1451
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1452
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
1453
+  (0.6ms) DELETE FROM "pictures";
1454
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1455
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
1456
+  (0.7ms) DELETE FROM "products";
1457
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1458
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
1459
+  (0.0ms) begin transaction
1460
+  (0.0ms) commit transaction
1461
+  (0.0ms) begin transaction
1462
+  (0.1ms) SAVEPOINT active_record_1
1463
+ SQL (0.3ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:29:19 UTC], ["updated_at", 2016-12-28 21:29:19 UTC]]
1464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1465
+  (0.4ms) rollback transaction
1466
+  (0.2ms) begin transaction
1467
+  (0.1ms) commit transaction
1468
+  (0.0ms) begin transaction
1469
+  (0.1ms) SAVEPOINT active_record_1
1470
+ SQL (0.4ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:29:19 UTC], ["updated_at", 2016-12-28 21:29:19 UTC]]
1471
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1472
+  (0.4ms) rollback transaction
1473
+  (0.1ms) begin transaction
1474
+  (0.0ms) commit transaction
1475
+  (0.0ms) begin transaction
1476
+  (0.0ms) SAVEPOINT active_record_1
1477
+ SQL (0.3ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:29:19 UTC], ["updated_at", 2016-12-28 21:29:19 UTC]]
1478
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1479
+  (0.1ms) SAVEPOINT active_record_1
1480
+ Employee Load (0.2ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" IS NULL LIMIT ? [["LIMIT", 1]]
1481
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1482
+ SQL (0.1ms) INSERT INTO "products" ("employee_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["employee_id", 1], ["name", "Unbreakable Glasses"], ["created_at", 2016-12-28 21:29:19 UTC], ["updated_at", 2016-12-28 21:29:19 UTC]]
1483
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1484
+  (0.2ms) SAVEPOINT active_record_1
1485
+ SQL (0.2ms) INSERT INTO "pictures" ("name", "imageable_type", "imageable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "something_amazing.png"], ["imageable_type", "Product"], ["imageable_id", 1], ["created_at", 2016-12-28 21:29:19 UTC], ["updated_at", 2016-12-28 21:29:19 UTC]]
1486
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1487
+  (0.2ms) SAVEPOINT active_record_1
1488
+ SQL (0.5ms) UPDATE "employees" SET "last_name" = ?, "updated_at" = ? WHERE "employees"."id" = ? [["last_name", "Smith"], ["updated_at", 2016-12-28 21:29:19 UTC], ["id", 1]]
1489
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1490
+  (0.1ms) SELECT COUNT(*) FROM "employees"
1491
+  (0.1ms) SELECT COUNT(*) FROM "products"
1492
+  (0.1ms) SELECT COUNT(*) FROM "pictures"
1493
+  (1.3ms) rollback transaction
1494
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1495
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1496
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1497
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1498
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1499
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1500
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1501
+  (2.0ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1502
+  (0.8ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1503
+  (0.1ms) select sqlite_version(*)
1504
+  (0.7ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
1505
+  (0.8ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1506
+  (0.7ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
1507
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1508
+  (0.1ms) SELECT version FROM "schema_migrations"
1509
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
1510
+  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1511
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1512
+  (0.0ms) begin transaction
1513
+ SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:31:05 UTC], ["updated_at", 2016-12-28 21:31:05 UTC]]
1514
+  (0.6ms) commit transaction
1515
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1516
+  (0.0ms) begin transaction
1517
+  (0.0ms) commit transaction
1518
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1519
+  (2.1ms) DELETE FROM "employees";
1520
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1521
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'employees';
1522
+  (0.7ms) DELETE FROM "pictures";
1523
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1524
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
1525
+  (0.7ms) DELETE FROM "products";
1526
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1527
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
1528
+  (0.1ms) begin transaction
1529
+  (0.0ms) commit transaction
1530
+  (0.0ms) begin transaction
1531
+  (0.0ms) SAVEPOINT active_record_1
1532
+ SQL (0.4ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:31:05 UTC], ["updated_at", 2016-12-28 21:31:05 UTC]]
1533
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1534
+  (0.3ms) rollback transaction
1535
+  (0.1ms) begin transaction
1536
+  (0.0ms) commit transaction
1537
+  (0.0ms) begin transaction
1538
+  (0.0ms) SAVEPOINT active_record_1
1539
+ SQL (0.3ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:31:05 UTC], ["updated_at", 2016-12-28 21:31:05 UTC]]
1540
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1541
+  (0.3ms) rollback transaction
1542
+  (0.1ms) begin transaction
1543
+  (0.0ms) commit transaction
1544
+  (0.0ms) begin transaction
1545
+  (0.0ms) SAVEPOINT active_record_1
1546
+ SQL (0.3ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:31:05 UTC], ["updated_at", 2016-12-28 21:31:05 UTC]]
1547
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1548
+  (0.1ms) SAVEPOINT active_record_1
1549
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" IS NULL LIMIT ? [["LIMIT", 1]]
1550
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1551
+ SQL (0.1ms) INSERT INTO "products" ("employee_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["employee_id", 1], ["name", "Unbreakable Glasses"], ["created_at", 2016-12-28 21:31:05 UTC], ["updated_at", 2016-12-28 21:31:05 UTC]]
1552
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1553
+  (0.1ms) SAVEPOINT active_record_1
1554
+ SQL (0.1ms) INSERT INTO "pictures" ("name", "imageable_type", "imageable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "something_amazing.png"], ["imageable_type", "Product"], ["imageable_id", 1], ["created_at", 2016-12-28 21:31:05 UTC], ["updated_at", 2016-12-28 21:31:05 UTC]]
1555
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1556
+  (0.5ms) rollback transaction
1557
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1558
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1559
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1560
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1561
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1562
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1563
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1564
+  (0.9ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1565
+  (0.7ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1566
+  (0.0ms) select sqlite_version(*)
1567
+  (0.7ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
1568
+  (0.6ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1569
+  (0.8ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
1570
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1571
+  (0.1ms) SELECT version FROM "schema_migrations"
1572
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
1573
+  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1574
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1575
+  (0.0ms) begin transaction
1576
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:33:55 UTC], ["updated_at", 2016-12-28 21:33:55 UTC]]
1577
+  (0.6ms) commit transaction
1578
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1579
+  (0.0ms) begin transaction
1580
+  (0.0ms) commit transaction
1581
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1582
+  (1.6ms) DELETE FROM "employees";
1583
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1584
+  (0.4ms) DELETE FROM sqlite_sequence where name = 'employees';
1585
+  (0.7ms) DELETE FROM "pictures";
1586
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1587
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
1588
+  (0.5ms) DELETE FROM "products";
1589
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1590
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
1591
+  (0.0ms) begin transaction
1592
+  (0.1ms) commit transaction
1593
+  (0.0ms) begin transaction
1594
+  (0.1ms) SAVEPOINT active_record_1
1595
+ SQL (0.4ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:33:55 UTC], ["updated_at", 2016-12-28 21:33:55 UTC]]
1596
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1597
+  (0.0ms) SAVEPOINT active_record_1
1598
+ SQL (0.1ms) UPDATE "employees" SET "first_name" = ?, "last_name" = ?, "updated_at" = ? WHERE "employees"."id" = ? [["first_name", "John"], ["last_name", "Smith"], ["updated_at", 2016-12-28 21:33:55 UTC], ["id", 1]]
1599
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1600
+  (0.4ms) rollback transaction
1601
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1602
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1603
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1604
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1605
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1606
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1607
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1608
+  (2.0ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1609
+  (0.7ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1610
+  (0.1ms) select sqlite_version(*)
1611
+  (0.7ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
1612
+  (0.6ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1613
+  (0.9ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
1614
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1615
+  (0.3ms) SELECT version FROM "schema_migrations"
1616
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
1617
+  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1618
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1619
+  (0.1ms) begin transaction
1620
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:34:41 UTC], ["updated_at", 2016-12-28 21:34:41 UTC]]
1621
+  (0.6ms) commit transaction
1622
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1623
+  (0.0ms) begin transaction
1624
+  (0.0ms) commit transaction
1625
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1626
+  (2.0ms) DELETE FROM "employees";
1627
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1628
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
1629
+  (0.6ms) DELETE FROM "pictures";
1630
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1631
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
1632
+  (0.5ms) DELETE FROM "products";
1633
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1634
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
1635
+  (0.0ms) begin transaction
1636
+  (0.0ms) commit transaction
1637
+  (0.0ms) begin transaction
1638
+  (0.1ms) SAVEPOINT active_record_1
1639
+ SQL (0.3ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:34:41 UTC], ["updated_at", 2016-12-28 21:34:41 UTC]]
1640
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1641
+  (0.0ms) SAVEPOINT active_record_1
1642
+ SQL (0.1ms) UPDATE "employees" SET "first_name" = ?, "last_name" = ?, "updated_at" = ? WHERE "employees"."id" = ? [["first_name", "John"], ["last_name", "Smith"], ["updated_at", 2016-12-28 21:34:41 UTC], ["id", 1]]
1643
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1644
+  (0.4ms) rollback transaction
1645
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1646
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1647
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1648
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1649
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1650
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1651
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1652
+  (1.9ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1653
+  (0.7ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1654
+  (0.0ms) select sqlite_version(*)
1655
+  (0.6ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
1656
+  (0.8ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1657
+  (0.6ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
1658
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1659
+  (0.1ms) SELECT version FROM "schema_migrations"
1660
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
1661
+  (0.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1662
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1663
+  (0.0ms) begin transaction
1664
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:36:12 UTC], ["updated_at", 2016-12-28 21:36:12 UTC]]
1665
+  (0.5ms) commit transaction
1666
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1667
+  (0.0ms) begin transaction
1668
+  (0.0ms) commit transaction
1669
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1670
+  (1.8ms) DELETE FROM "employees";
1671
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1672
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
1673
+  (0.6ms) DELETE FROM "pictures";
1674
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1675
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
1676
+  (0.6ms) DELETE FROM "products";
1677
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1678
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
1679
+  (0.0ms) begin transaction
1680
+  (0.0ms) commit transaction
1681
+  (0.0ms) begin transaction
1682
+  (0.1ms) SAVEPOINT active_record_1
1683
+ SQL (0.6ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:36:12 UTC], ["updated_at", 2016-12-28 21:36:12 UTC]]
1684
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1685
+  (0.5ms) rollback transaction
1686
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1687
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
1688
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1689
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1690
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1691
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1692
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1693
+  (10.7ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1694
+  (1.2ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1695
+  (0.1ms) select sqlite_version(*)
1696
+  (1.0ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
1697
+  (0.9ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1698
+  (1.0ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
1699
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1700
+  (0.2ms) SELECT version FROM "schema_migrations"
1701
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
1702
+  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1703
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1704
+  (0.1ms) begin transaction
1705
+ SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:36:43 UTC], ["updated_at", 2016-12-28 21:36:43 UTC]]
1706
+  (1.5ms) commit transaction
1707
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1708
+  (0.1ms) begin transaction
1709
+  (0.1ms) commit transaction
1710
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1711
+  (6.7ms) DELETE FROM "employees";
1712
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1713
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'employees';
1714
+  (1.1ms) DELETE FROM "pictures";
1715
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1716
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
1717
+  (2.7ms) DELETE FROM "products";
1718
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1719
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'products';
1720
+  (0.1ms) begin transaction
1721
+  (0.1ms) commit transaction
1722
+  (0.1ms) begin transaction
1723
+  (0.1ms) SAVEPOINT active_record_1
1724
+ SQL (0.4ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:36:43 UTC], ["updated_at", 2016-12-28 21:36:43 UTC]]
1725
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1726
+  (0.0ms) SAVEPOINT active_record_1
1727
+ SQL (0.2ms) UPDATE "employees" SET "first_name" = ?, "last_name" = ?, "updated_at" = ? WHERE "employees"."id" = ? [["first_name", "John"], ["last_name", "Smith"], ["updated_at", 2016-12-28 21:36:43 UTC], ["id", 1]]
1728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1729
+  (0.6ms) rollback transaction
1730
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1731
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1732
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1733
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1734
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1735
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1736
+  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
1737
+  (2.0ms) CREATE TABLE "employees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1738
+  (0.7ms) CREATE TABLE "pictures" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "imageable_type" varchar, "imageable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1739
+  (0.0ms) select sqlite_version(*)
1740
+  (0.6ms) CREATE INDEX "index_pictures_on_imageable_type_and_imageable_id" ON "pictures" ("imageable_type", "imageable_id")
1741
+  (0.8ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "employee_id" integer, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1742
+  (0.8ms) CREATE INDEX "index_products_on_employee_id" ON "products" ("employee_id")
1743
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
1744
+  (0.1ms) SELECT version FROM "schema_migrations"
1745
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161228194303')
1746
+  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1747
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1748
+  (0.0ms) begin transaction
1749
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-12-28 21:37:16 UTC], ["updated_at", 2016-12-28 21:37:16 UTC]]
1750
+  (0.6ms) commit transaction
1751
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
1752
+  (0.0ms) begin transaction
1753
+  (0.0ms) commit transaction
1754
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1755
+  (1.8ms) DELETE FROM "employees";
1756
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1757
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'employees';
1758
+  (0.6ms) DELETE FROM "pictures";
1759
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1760
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'pictures';
1761
+  (0.6ms) DELETE FROM "products";
1762
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1763
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'products';
1764
+  (0.0ms) begin transaction
1765
+  (0.0ms) commit transaction
1766
+  (0.0ms) begin transaction
1767
+  (0.0ms) SAVEPOINT active_record_1
1768
+ SQL (0.3ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:37:16 UTC], ["updated_at", 2016-12-28 21:37:16 UTC]]
1769
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1770
+  (0.4ms) rollback transaction
1771
+  (0.1ms) begin transaction
1772
+  (0.0ms) commit transaction
1773
+  (0.0ms) begin transaction
1774
+  (0.0ms) SAVEPOINT active_record_1
1775
+ SQL (0.3ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:37:16 UTC], ["updated_at", 2016-12-28 21:37:16 UTC]]
1776
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1777
+  (0.4ms) rollback transaction
1778
+  (0.1ms) begin transaction
1779
+  (0.0ms) commit transaction
1780
+  (0.0ms) begin transaction
1781
+  (0.1ms) SAVEPOINT active_record_1
1782
+ SQL (0.3ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:37:16 UTC], ["updated_at", 2016-12-28 21:37:16 UTC]]
1783
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1784
+  (0.1ms) SAVEPOINT active_record_1
1785
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" IS NULL LIMIT ? [["LIMIT", 1]]
1786
+ Employee Load (0.1ms) SELECT "employees".* FROM "employees" WHERE "employees"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1787
+ SQL (0.2ms) INSERT INTO "products" ("employee_id", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["employee_id", 1], ["name", "Unbreakable Glasses"], ["created_at", 2016-12-28 21:37:16 UTC], ["updated_at", 2016-12-28 21:37:16 UTC]]
1788
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1789
+  (0.1ms) SAVEPOINT active_record_1
1790
+ SQL (0.1ms) INSERT INTO "pictures" ("name", "imageable_type", "imageable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "something_amazing.png"], ["imageable_type", "Product"], ["imageable_id", 1], ["created_at", 2016-12-28 21:37:16 UTC], ["updated_at", 2016-12-28 21:37:16 UTC]]
1791
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1792
+  (0.4ms) rollback transaction
1793
+  (0.1ms) begin transaction
1794
+  (0.0ms) commit transaction
1795
+  (0.0ms) begin transaction
1796
+  (0.0ms) SAVEPOINT active_record_1
1797
+ SQL (0.3ms) INSERT INTO "employees" ("first_name", "last_name", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["first_name", "Jane"], ["last_name", "Doe"], ["created_at", 2016-12-28 21:37:16 UTC], ["updated_at", 2016-12-28 21:37:16 UTC]]
1798
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1799
+  (0.0ms) SAVEPOINT active_record_1
1800
+ SQL (0.1ms) UPDATE "employees" SET "first_name" = ?, "last_name" = ?, "updated_at" = ? WHERE "employees"."id" = ? [["first_name", "John"], ["last_name", "Smith"], ["updated_at", 2016-12-28 21:37:16 UTC], ["id", 1]]
1801
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1802
+  (0.3ms) rollback transaction