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