mass_record 0.0.4.8 → 0.0.4.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +0 -0
  3. data/README.rdoc +0 -0
  4. data/Rakefile +0 -0
  5. data/app/assets/javascripts/mass_record/application.js +0 -0
  6. data/app/assets/stylesheets/mass_record/application.css +0 -0
  7. data/app/views/layouts/mass_record/application.html.erb +0 -0
  8. data/config/routes.rb +0 -0
  9. data/lib/mass_record.rb +7 -1
  10. data/lib/mass_record/engine.rb +0 -0
  11. data/lib/mass_record/version.rb +2 -1
  12. data/lib/tasks/mass_record_tasks.rake +0 -0
  13. data/test/dummy/README.rdoc +0 -0
  14. data/test/dummy/Rakefile +0 -0
  15. data/test/dummy/app/assets/javascripts/application.js +0 -0
  16. data/test/dummy/app/assets/javascripts/mysql_widgets.js +0 -0
  17. data/test/dummy/app/assets/javascripts/sql_server_widgets.js +0 -0
  18. data/test/dummy/app/assets/javascripts/widgets.js +0 -0
  19. data/test/dummy/app/assets/stylesheets/application.css +0 -0
  20. data/test/dummy/app/assets/stylesheets/mysql_widgets.css +0 -0
  21. data/test/dummy/app/assets/stylesheets/scaffold.css +0 -0
  22. data/test/dummy/app/assets/stylesheets/sql_server_widgets.css +0 -0
  23. data/test/dummy/app/assets/stylesheets/widgets.css +0 -0
  24. data/test/dummy/app/controllers/application_controller.rb +0 -0
  25. data/test/dummy/app/controllers/mysql_widgets_controller.rb +0 -0
  26. data/test/dummy/app/controllers/sql_server_widgets_controller.rb +0 -0
  27. data/test/dummy/app/controllers/widgets_controller.rb +0 -0
  28. data/test/dummy/app/helpers/application_helper.rb +0 -0
  29. data/test/dummy/app/helpers/mysql_widgets_helper.rb +0 -0
  30. data/test/dummy/app/helpers/sql_server_widgets_helper.rb +0 -0
  31. data/test/dummy/app/helpers/widgets_helper.rb +0 -0
  32. data/test/dummy/app/models/mysql_widget.rb +0 -0
  33. data/test/dummy/app/models/sql_server_widget.rb +0 -0
  34. data/test/dummy/app/models/widget.rb +0 -0
  35. data/test/dummy/app/views/layouts/application.html.erb +0 -0
  36. data/test/dummy/app/views/mysql_widgets/_form.html.erb +0 -0
  37. data/test/dummy/app/views/mysql_widgets/edit.html.erb +0 -0
  38. data/test/dummy/app/views/mysql_widgets/index.html.erb +0 -0
  39. data/test/dummy/app/views/mysql_widgets/new.html.erb +0 -0
  40. data/test/dummy/app/views/mysql_widgets/show.html.erb +0 -0
  41. data/test/dummy/app/views/sql_server_widgets/_form.html.erb +0 -0
  42. data/test/dummy/app/views/sql_server_widgets/edit.html.erb +0 -0
  43. data/test/dummy/app/views/sql_server_widgets/index.html.erb +0 -0
  44. data/test/dummy/app/views/sql_server_widgets/new.html.erb +0 -0
  45. data/test/dummy/app/views/sql_server_widgets/show.html.erb +0 -0
  46. data/test/dummy/app/views/widgets/_form.html.erb +0 -0
  47. data/test/dummy/app/views/widgets/edit.html.erb +0 -0
  48. data/test/dummy/app/views/widgets/index.html.erb +0 -0
  49. data/test/dummy/app/views/widgets/new.html.erb +0 -0
  50. data/test/dummy/app/views/widgets/show.html.erb +0 -0
  51. data/test/dummy/bin/bundle +0 -0
  52. data/test/dummy/bin/rails +0 -0
  53. data/test/dummy/bin/rake +0 -0
  54. data/test/dummy/config.ru +0 -0
  55. data/test/dummy/config/application.rb +0 -0
  56. data/test/dummy/config/boot.rb +0 -0
  57. data/test/dummy/config/environment.rb +0 -0
  58. data/test/dummy/config/environments/development.rb +0 -0
  59. data/test/dummy/config/environments/production.rb +0 -0
  60. data/test/dummy/config/environments/test.rb +0 -0
  61. data/test/dummy/config/initializers/assets.rb +0 -0
  62. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -0
  63. data/test/dummy/config/initializers/cookies_serializer.rb +0 -0
  64. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -0
  65. data/test/dummy/config/initializers/inflections.rb +0 -0
  66. data/test/dummy/config/initializers/mime_types.rb +0 -0
  67. data/test/dummy/config/initializers/session_store.rb +0 -0
  68. data/test/dummy/config/initializers/wrap_parameters.rb +0 -0
  69. data/test/dummy/config/locales/en.yml +0 -0
  70. data/test/dummy/config/routes.rb +0 -0
  71. data/test/dummy/config/secrets.yml +0 -0
  72. data/test/dummy/db/development +0 -0
  73. data/test/dummy/db/migrate/20141208210434_create_mysql_widgets.rb +0 -0
  74. data/test/dummy/db/migrate/20141208221412_create_widgets.rb +0 -0
  75. data/test/dummy/db/migrate/20141208225325_create_sql_server_widgets.rb.ignore +0 -0
  76. data/test/dummy/db/schema.rb +0 -0
  77. data/test/dummy/public/404.html +0 -0
  78. data/test/dummy/public/422.html +0 -0
  79. data/test/dummy/public/500.html +0 -0
  80. data/test/dummy/public/favicon.ico +0 -0
  81. data/test/dummy/test/controllers/mysql_widgets_controller_test.rb +0 -0
  82. data/test/dummy/test/controllers/sql_server_widgets_controller_test.rb +0 -0
  83. data/test/dummy/test/controllers/widgets_controller_test.rb +0 -0
  84. data/test/dummy/test/fixtures/mysql_widgets.yml +0 -0
  85. data/test/dummy/test/fixtures/sql_server_widgets.yml +0 -0
  86. data/test/dummy/test/fixtures/widgets.yml +0 -0
  87. data/test/dummy/test/helpers/mysql_widgets_helper_test.rb +0 -0
  88. data/test/dummy/test/helpers/sql_server_widgets_helper_test.rb +0 -0
  89. data/test/dummy/test/helpers/widgets_helper_test.rb +0 -0
  90. data/test/dummy/test/models/mysql_widget_test.rb +0 -0
  91. data/test/dummy/test/models/sql_server_widget_test.rb +0 -0
  92. data/test/dummy/test/models/widget_test.rb +0 -0
  93. data/test/integration/navigation_test.rb +0 -0
  94. data/test/mass_record_test.rb +0 -0
  95. data/test/test_helper.rb +0 -0
  96. metadata +18 -42
  97. data/test/dummy/config/database.yml +0 -70
  98. data/test/dummy/db/development.sqlite3 +0 -0
  99. data/test/dummy/db/production.sqlite3 +0 -0
  100. data/test/dummy/db/test.sqlite3 +0 -0
  101. data/test/dummy/log/development.log +0 -197
  102. data/test/dummy/log/mysql_development.log +0 -13
  103. data/test/dummy/log/mysql_test.log +0 -7
  104. data/test/dummy/log/sql_server_development.log +0 -9
  105. data/test/dummy/log/test.log +0 -51
  106. data/test/dummy/tmp/sample.jpg +0 -0
  107. data/test/dummy/tmp/sample2.jpg +0 -0
  108. data/test/dummy/tmp/sample3.jpg +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d288ae09db2b38e806ee05081c53fb2b8d055a1d
4
- data.tar.gz: 022bbc03b711b6472e733de81171d8aa2320af2b
3
+ metadata.gz: 9903c35f0b03224400bfb5dcf777f11f331a5d28
4
+ data.tar.gz: 7a8912ec47d571c7f0da3c61dd2247d5bc5c2de0
5
5
  SHA512:
6
- metadata.gz: 01e00ca7cdf2831542a11ca52f0414476a97e8b87497c174f293aa29fc9b6396bbc029b86501961fd9d7a454f429a81ebcb1cae1dac2353d4ca51302bf66f7ff
7
- data.tar.gz: da82973a1cb9c68b31e906e13cb18bbdbf1e1a49c4ef542bda5d6ff0f20d245ac4abc2f381da42a3e17ccd7622f1d26d33f050f496f9e9ae207662647cc95733
6
+ metadata.gz: 65d3d563c121180c208effce4871c5581462b88e237d72b08eb137a398b2e9f84c2b8f2dbec8ab1e7d64e20282efb09ffe97649bf2979345a0f991a352648c26
7
+ data.tar.gz: 2d1f2883345c4dbe0a77f5742a18d9bdec77eddd4f3d15031e9ad32bb5323a3c7efea1ef0100e0f18a0fe01165af1f49851e923398460ddf1247a3326ba64d60
File without changes
File without changes
data/Rakefile CHANGED
File without changes
File without changes
@@ -1,5 +1,11 @@
1
1
  require "mass_record/engine"
2
2
 
3
+ class Array
4
+ def pretty_inspect
5
+ "[\n" + join(",\n") + ']'
6
+ end
7
+ end
8
+
3
9
  module MassRecord
4
10
  mattr_accessor :path, :folder_path, :database_connection, :logger, :individual_count, :mass_count
5
11
  self.path = {}
@@ -148,7 +154,7 @@ module MassRecord
148
154
 
149
155
  # get all operations and tables in use
150
156
  operations = json_objects.collect{|x| x[key[:operation]].to_sym}.to_set.to_a
151
- logger.debug "Operations: #{operations.pretty_inspect}".black.on_white
157
+ logger.debug "Operations: #{operations.pretty_inspect}".black.on_white rescue logger.debug "Error logging operations"
152
158
 
153
159
  # construct mass queries
154
160
  errors = {}
File without changes
@@ -1,3 +1,4 @@
1
1
  module MassRecord
2
- VERSION = "0.0.4.8" # added a temporary fix for sqlserver bit type conversion from false
2
+ VERSION = "0.0.4.9" # implemented a custom Array#pretty_inspect method, as well as error handling in case it doesn't work, and fixed gem dependancy versions for integracore update
3
+ # VERSION = "0.0.4.8" # added a temporary fix for sqlserver bit type conversion from false
3
4
  end
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mass_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4.8
4
+ version: 0.0.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Hanna
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-24 00:00:00.000000000 Z
11
+ date: 2017-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -56,44 +56,44 @@ dependencies:
56
56
  name: mysql2
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: 0.3.17
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: 0.3.17
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: tiny_tds
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: '0'
75
+ version: 2.1.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: '0'
82
+ version: 2.1.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: activerecord-sqlserver-adapter
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: 4.1.8
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: '0'
96
+ version: 4.1.8
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: random_jpg
99
99
  requirement: !ruby/object:Gem::Requirement
@@ -171,7 +171,6 @@ files:
171
171
  - test/dummy/config.ru
172
172
  - test/dummy/config/application.rb
173
173
  - test/dummy/config/boot.rb
174
- - test/dummy/config/database.yml
175
174
  - test/dummy/config/environment.rb
176
175
  - test/dummy/config/environments/development.rb
177
176
  - test/dummy/config/environments/production.rb
@@ -188,18 +187,10 @@ files:
188
187
  - test/dummy/config/routes.rb
189
188
  - test/dummy/config/secrets.yml
190
189
  - test/dummy/db/development
191
- - test/dummy/db/development.sqlite3
192
190
  - test/dummy/db/migrate/20141208210434_create_mysql_widgets.rb
193
191
  - test/dummy/db/migrate/20141208221412_create_widgets.rb
194
192
  - test/dummy/db/migrate/20141208225325_create_sql_server_widgets.rb.ignore
195
- - test/dummy/db/production.sqlite3
196
193
  - test/dummy/db/schema.rb
197
- - test/dummy/db/test.sqlite3
198
- - test/dummy/log/development.log
199
- - test/dummy/log/mysql_development.log
200
- - test/dummy/log/mysql_test.log
201
- - test/dummy/log/sql_server_development.log
202
- - test/dummy/log/test.log
203
194
  - test/dummy/public/404.html
204
195
  - test/dummy/public/422.html
205
196
  - test/dummy/public/500.html
@@ -216,9 +207,6 @@ files:
216
207
  - test/dummy/test/models/mysql_widget_test.rb
217
208
  - test/dummy/test/models/sql_server_widget_test.rb
218
209
  - test/dummy/test/models/widget_test.rb
219
- - test/dummy/tmp/sample.jpg
220
- - test/dummy/tmp/sample2.jpg
221
- - test/dummy/tmp/sample3.jpg
222
210
  - test/integration/navigation_test.rb
223
211
  - test/mass_record_test.rb
224
212
  - test/test_helper.rb
@@ -242,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
242
230
  version: '0'
243
231
  requirements: []
244
232
  rubyforge_project:
245
- rubygems_version: 2.4.5
233
+ rubygems_version: 2.5.1
246
234
  signing_key:
247
235
  specification_version: 4
248
236
  summary: A Ruby on Rails library to help with mass database operations like insert,
@@ -269,27 +257,26 @@ test_files:
269
257
  - test/dummy/app/models/sql_server_widget.rb
270
258
  - test/dummy/app/models/widget.rb
271
259
  - test/dummy/app/views/layouts/application.html.erb
260
+ - test/dummy/app/views/mysql_widgets/_form.html.erb
272
261
  - test/dummy/app/views/mysql_widgets/edit.html.erb
273
262
  - test/dummy/app/views/mysql_widgets/index.html.erb
274
263
  - test/dummy/app/views/mysql_widgets/new.html.erb
275
264
  - test/dummy/app/views/mysql_widgets/show.html.erb
276
- - test/dummy/app/views/mysql_widgets/_form.html.erb
265
+ - test/dummy/app/views/sql_server_widgets/_form.html.erb
277
266
  - test/dummy/app/views/sql_server_widgets/edit.html.erb
278
267
  - test/dummy/app/views/sql_server_widgets/index.html.erb
279
268
  - test/dummy/app/views/sql_server_widgets/new.html.erb
280
269
  - test/dummy/app/views/sql_server_widgets/show.html.erb
281
- - test/dummy/app/views/sql_server_widgets/_form.html.erb
270
+ - test/dummy/app/views/widgets/_form.html.erb
282
271
  - test/dummy/app/views/widgets/edit.html.erb
283
272
  - test/dummy/app/views/widgets/index.html.erb
284
273
  - test/dummy/app/views/widgets/new.html.erb
285
274
  - test/dummy/app/views/widgets/show.html.erb
286
- - test/dummy/app/views/widgets/_form.html.erb
287
275
  - test/dummy/bin/bundle
288
276
  - test/dummy/bin/rails
289
277
  - test/dummy/bin/rake
290
278
  - test/dummy/config/application.rb
291
279
  - test/dummy/config/boot.rb
292
- - test/dummy/config/database.yml
293
280
  - test/dummy/config/environment.rb
294
281
  - test/dummy/config/environments/development.rb
295
282
  - test/dummy/config/environments/production.rb
@@ -307,18 +294,10 @@ test_files:
307
294
  - test/dummy/config/secrets.yml
308
295
  - test/dummy/config.ru
309
296
  - test/dummy/db/development
310
- - test/dummy/db/development.sqlite3
311
297
  - test/dummy/db/migrate/20141208210434_create_mysql_widgets.rb
312
298
  - test/dummy/db/migrate/20141208221412_create_widgets.rb
313
299
  - test/dummy/db/migrate/20141208225325_create_sql_server_widgets.rb.ignore
314
- - test/dummy/db/production.sqlite3
315
300
  - test/dummy/db/schema.rb
316
- - test/dummy/db/test.sqlite3
317
- - test/dummy/log/development.log
318
- - test/dummy/log/mysql_development.log
319
- - test/dummy/log/mysql_test.log
320
- - test/dummy/log/sql_server_development.log
321
- - test/dummy/log/test.log
322
301
  - test/dummy/public/404.html
323
302
  - test/dummy/public/422.html
324
303
  - test/dummy/public/500.html
@@ -337,9 +316,6 @@ test_files:
337
316
  - test/dummy/test/models/mysql_widget_test.rb
338
317
  - test/dummy/test/models/sql_server_widget_test.rb
339
318
  - test/dummy/test/models/widget_test.rb
340
- - test/dummy/tmp/sample.jpg
341
- - test/dummy/tmp/sample2.jpg
342
- - test/dummy/tmp/sample3.jpg
343
319
  - test/integration/navigation_test.rb
344
320
  - test/mass_record_test.rb
345
321
  - test/test_helper.rb
@@ -1,70 +0,0 @@
1
- # SQLite version 3.x
2
- # gem install sqlite3
3
- #
4
- # Ensure the SQLite 3 gem is defined in your Gemfile
5
- # gem 'sqlite3'
6
-
7
- default: &default
8
- adapter: sqlite3
9
- pool: 5
10
- timeout: 5000
11
- encoding: utf8
12
-
13
- development:
14
- <<: *default
15
- database: db/development.sqlite3
16
-
17
- # Warning: The database defined as "test" will be erased and
18
- # re-generated from your development database when you run "rake".
19
- # Do not set this db to the same as development or production.
20
- test:
21
- <<: *default
22
- database: db/test.sqlite3
23
-
24
- production:
25
- <<: *default
26
- database: db/production.sqlite3
27
-
28
- # MYSQL
29
-
30
- mysql_default: &mysql_default
31
- adapter: mysql2
32
- host: mccoy
33
- password: honesty~1
34
- username: root
35
- pool: 5
36
- timeout: 5000
37
- encoding: utf8
38
-
39
- mysql_development:
40
- <<: *mysql_default
41
- database: engine_development
42
-
43
- mysql_test:
44
- <<: *mysql_default
45
- database: engine_test
46
-
47
- # SQL SERVER
48
-
49
- sql_server_default: &sql_server_default
50
- adapter: sqlserver
51
- host: rhodes
52
- username: sa
53
- password: honesty~1
54
- pool: 5
55
- timeout: 5000
56
-
57
- sql_server_development: &sql_server_development
58
- <<: *sql_server_default
59
- database: engine_development
60
-
61
- # development:
62
- # <<: *sql_server_development
63
-
64
- sql_server_test: &sql_server_test
65
- <<: *sql_server_default
66
- database: engine_test
67
-
68
- # test:
69
- # <<: *sql_server_test
70
-
File without changes
Binary file
@@ -1,197 +0,0 @@
1
-  (8.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
-  (0.2ms) select sqlite_version(*)
3
-  (10.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
- ActiveRecord::SchemaMigration Load (2.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
- Migrating to CreateWidgets (20141205225041)
6
- ActiveRecord::SchemaMigration Load (2.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
7
- Migrating to CreateMysqlWidgets (20141208204017)
8
- ActiveRecord::SchemaMigration Load (2.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
9
- Migrating to CreateMysqlWidgets (20141208204507)
10
-  (0.1ms) begin transaction
11
- DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:mysql_development) instead. (called from connection at /vagrant/mass_record/test/dummy/db/migrate/20141208204507_create_mysql_widgets.rb:3)
12
- ActiveRecord::SchemaMigration Load (2.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
13
- Migrating to CreateMysqlWidgets (20141208204507)
14
-  (0.1ms) begin transaction
15
- DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:mysql_development) instead. (called from connection at /vagrant/mass_record/test/dummy/db/migrate/20141208204507_create_mysql_widgets.rb:3)
16
- ActiveRecord::SchemaMigration Load (1.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
17
- Migrating to CreateMysqlWidgets (20141208204507)
18
-  (0.1ms) begin transaction
19
- DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:mysql_development) instead. (called from connection at /vagrant/mass_record/test/dummy/db/migrate/20141208204507_create_mysql_widgets.rb:3)
20
- DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:mysql_development) instead. (called from connection at /vagrant/mass_record/test/dummy/db/migrate/20141208204507_create_mysql_widgets.rb:3)
21
- ActiveRecord::SchemaMigration Load (3.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
22
- Migrating to CreateMysqlWidgets (20141208204507)
23
-  (0.1ms) begin transaction
24
- DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:mysql_development) instead. (called from change at /vagrant/mass_record/test/dummy/db/migrate/20141208204507_create_mysql_widgets.rb:3)
25
- ActiveRecord::SchemaMigration Load (2.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
26
- Migrating to CreateMysqlWidgets (20141208204507)
27
- DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:mysql_development) instead. (called from <top (required)> at /vagrant/mass_record/test/dummy/db/migrate/20141208204507_create_mysql_widgets.rb:1)
28
- ActiveRecord::SchemaMigration Load (1.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
29
- Migrating to CreateMysqlWidgets (20141208210144)
30
- DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:mysql_development) instead. (called from <top (required)> at /vagrant/mass_record/test/dummy/db/migrate/20141208210144_create_mysql_widgets.rb:1)
31
- ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
32
- Migrating to CreateMysqlWidgets (20141208210433)
33
- DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:mysql_development) instead. (called from <top (required)> at /vagrant/mass_record/test/dummy/db/migrate/20141208210433_create_mysql_widgets.rb:1)
34
-  (97.5ms) CREATE TABLE `mysql_widgets` (`id` int(11) auto_increment PRIMARY KEY, `binary` blob, `boolean` tinyint(1), `date` date, `datetime` datetime, `decimal` decimal, `float` float, `integer` int(11), `references_id` int(11), `string` varchar(255), `text` text, `time` time, `timestamp` datetime, `hstore` text, `json` text, `array` text, `cidr_address` text, `ip_address` text, `mac_address` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
35
-  (33.0ms) CREATE INDEX `index_mysql_widgets_on_references_id` ON `mysql_widgets` (`references_id`) 
36
- Mysql2::Error: Table 'engine_development.schema_migrations' doesn't exist: SHOW FULL FIELDS FROM `schema_migrations`
37
- ActiveRecord::SchemaMigration Load (3.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
38
- ActiveRecord::SchemaMigration Load (2.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
39
- ActiveRecord::SchemaMigration Load (1.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
40
- Migrating to CreateMysqlWidgets (20141208210433)
41
- DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:mysql_development) instead. (called from <top (required)> at /vagrant/mass_record/test/dummy/db/migrate/20141208210433_create_mysql_widgets.rb:1)
42
-  (11.6ms) CREATE TABLE `mysql_widgets` (`id` int(11) auto_increment PRIMARY KEY, `binary` blob, `boolean` tinyint(1), `date` date, `datetime` datetime, `decimal` decimal, `float` float, `integer` int(11), `references_id` int(11), `string` varchar(255), `text` text, `time` time, `timestamp` datetime, `hstore` text, `json` text, `array` text, `cidr_address` text, `ip_address` text, `mac_address` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
43
-  (17.2ms) CREATE INDEX `index_mysql_widgets_on_references_id` ON `mysql_widgets` (`references_id`) 
44
-  (2.8ms) BEGIN
45
- SQL (1.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20141208210433')
46
-  (3.8ms) COMMIT
47
- ActiveRecord::SchemaMigration Load (0.7ms) SELECT `schema_migrations`.* FROM `schema_migrations`
48
- ActiveRecord::SchemaMigration Load (3.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
49
- ActiveRecord::SchemaMigration Load (2.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
50
-  (10.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
51
-  (0.2ms) select sqlite_version(*)
52
-  (13.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
53
-  (2.6ms) SELECT version FROM "schema_migrations"
54
-  (14.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
55
-  (11.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
56
-  (0.1ms) select sqlite_version(*)
57
-  (10.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
58
-  (6.6ms) SELECT version FROM "schema_migrations"
59
-  (13.7ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
60
- ActiveRecord::SchemaMigration Load (3.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
61
- ActiveRecord::SchemaMigration Load (2.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
62
- Migrating to CreateMysqlWidgets (20141208210433)
63
- DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:mysql_development) instead. (called from <top (required)> at /vagrant/mass_record/test/dummy/db/migrate/20141208210433_create_mysql_widgets.rb:1)
64
-  (1.3ms) CREATE TABLE `mysql_widgets` (`id` int(11) auto_increment PRIMARY KEY, `binary` blob, `boolean` tinyint(1), `date` date, `datetime` datetime, `decimal` decimal, `float` float, `integer` int(11), `references_id` int(11), `string` varchar(255), `text` text, `time` time, `timestamp` datetime, `hstore` text, `json` text, `array` text, `cidr_address` text, `ip_address` text, `mac_address` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
65
- Mysql2::Error: Table 'mysql_widgets' already exists: CREATE TABLE `mysql_widgets` (`id` int(11) auto_increment PRIMARY KEY, `binary` blob, `boolean` tinyint(1), `date` date, `datetime` datetime, `decimal` decimal, `float` float, `integer` int(11), `references_id` int(11), `string` varchar(255), `text` text, `time` time, `timestamp` datetime, `hstore` text, `json` text, `array` text, `cidr_address` text, `ip_address` text, `mac_address` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
66
- ActiveRecord::SchemaMigration Load (4.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
67
- ActiveRecord::SchemaMigration Load (2.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
68
- ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
69
- ActiveRecord::SchemaMigration Load (2.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
70
- ActiveRecord::SchemaMigration Load (3.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
71
- Migrating to CreateMysqlWidgets (20141208210433)
72
- DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:mysql_development) instead. (called from <top (required)> at /vagrant/mass_record/test/dummy/db/migrate/20141208210433_create_mysql_widgets.rb:1)
73
-  (0.8ms) CREATE TABLE `mysql_widgets` (`id` int(11) auto_increment PRIMARY KEY, `binary` blob, `boolean` tinyint(1), `date` date, `datetime` datetime, `decimal` decimal, `float` float, `integer` int(11), `references_id` int(11), `string` varchar(255), `text` text, `time` time, `timestamp` datetime, `hstore` text, `json` text, `array` text, `cidr_address` text, `ip_address` text, `mac_address` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
74
- Mysql2::Error: Table 'mysql_widgets' already exists: CREATE TABLE `mysql_widgets` (`id` int(11) auto_increment PRIMARY KEY, `binary` blob, `boolean` tinyint(1), `date` date, `datetime` datetime, `decimal` decimal, `float` float, `integer` int(11), `references_id` int(11), `string` varchar(255), `text` text, `time` time, `timestamp` datetime, `hstore` text, `json` text, `array` text, `cidr_address` text, `ip_address` text, `mac_address` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
75
- ActiveRecord::SchemaMigration Load (3.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
76
- Migrating to CreateMysqlWidgets (20141208210433)
77
-  (1.1ms) CREATE TABLE `mysql_widgets` (`id` int(11) auto_increment PRIMARY KEY, `binary` blob, `boolean` tinyint(1), `date` date, `datetime` datetime, `decimal` decimal, `float` float, `integer` int(11), `references_id` int(11), `string` varchar(255), `text` text, `time` time, `timestamp` datetime, `hstore` text, `json` text, `array` text, `cidr_address` text, `ip_address` text, `mac_address` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
78
- Mysql2::Error: Table 'mysql_widgets' already exists: CREATE TABLE `mysql_widgets` (`id` int(11) auto_increment PRIMARY KEY, `binary` blob, `boolean` tinyint(1), `date` date, `datetime` datetime, `decimal` decimal, `float` float, `integer` int(11), `references_id` int(11), `string` varchar(255), `text` text, `time` time, `timestamp` datetime, `hstore` text, `json` text, `array` text, `cidr_address` text, `ip_address` text, `mac_address` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
79
- ActiveRecord::SchemaMigration Load (1.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
80
- Migrating to CreateMysqlWidgets (20141208210433)
81
-  (7.0ms) CREATE TABLE `mysql_widgets` (`id` int(11) auto_increment PRIMARY KEY, `binary` blob, `boolean` tinyint(1), `date` date, `datetime` datetime, `decimal` decimal, `float` float, `integer` int(11), `references_id` int(11), `string` varchar(255), `text` text, `time` time, `timestamp` datetime, `hstore` text, `json` text, `array` text, `cidr_address` text, `ip_address` text, `mac_address` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
82
-  (25.2ms) CREATE INDEX `index_mysql_widgets_on_references_id` ON `mysql_widgets` (`references_id`) 
83
-  (0.7ms) BEGIN
84
- SQL (1.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20141208210433')
85
- Mysql2::Error: Duplicate entry '20141208210433' for key 'unique_schema_migrations': INSERT INTO `schema_migrations` (`version`) VALUES ('20141208210433')
86
-  (8.6ms) ROLLBACK
87
-  (1.3ms) SELECT COUNT(*) FROM `mysql_widgets`
88
- ActiveRecord::SchemaMigration Load (1.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
89
- Migrating to CreateMysqlWidgets (20141208210433)
90
-  (1.0ms) CREATE TABLE `mysql_widgets` (`id` int(11) auto_increment PRIMARY KEY, `binary` blob, `boolean` tinyint(1), `date` date, `datetime` datetime, `decimal` decimal, `float` float, `integer` int(11), `references_id` int(11), `string` varchar(255), `text` text, `time` time, `timestamp` datetime, `hstore` text, `json` text, `array` text, `cidr_address` text, `ip_address` text, `mac_address` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
91
- Mysql2::Error: Table 'mysql_widgets' already exists: CREATE TABLE `mysql_widgets` (`id` int(11) auto_increment PRIMARY KEY, `binary` blob, `boolean` tinyint(1), `date` date, `datetime` datetime, `decimal` decimal, `float` float, `integer` int(11), `references_id` int(11), `string` varchar(255), `text` text, `time` time, `timestamp` datetime, `hstore` text, `json` text, `array` text, `cidr_address` text, `ip_address` text, `mac_address` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
92
- ActiveRecord::SchemaMigration Load (2.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
93
- Migrating to CreateMysqlWidgets (20141208210444)
94
-  (8.3ms) CREATE TABLE `mysql_widgets` (`id` int(11) auto_increment PRIMARY KEY, `binary` blob, `boolean` tinyint(1), `date` date, `datetime` datetime, `decimal` decimal, `float` float, `integer` int(11), `references_id` int(11), `string` varchar(255), `text` text, `time` time, `timestamp` datetime, `hstore` text, `json` text, `array` text, `cidr_address` text, `ip_address` text, `mac_address` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
95
-  (20.3ms) CREATE INDEX `index_mysql_widgets_on_references_id` ON `mysql_widgets` (`references_id`) 
96
-  (0.7ms) BEGIN
97
- SQL (0.9ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20141208210444')
98
-  (3.1ms) COMMIT
99
- Migrating to CreateSqliteWidgets (20141208214906)
100
-  (3.3ms) begin transaction
101
-  (0.3ms) CREATE TABLE "sqlite_widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "binary" blob, "boolean" boolean, "date" date, "datetime" datetime, "decimal" decimal, "float" float, "integer" integer, "references_id" integer, "string" varchar(255), "text" text, "time" time, "timestamp" datetime, "hstore" text, "json" text, "array" text, "cidr_address" text, "ip_address" text, "mac_address" text, "created_at" datetime, "updated_at" datetime)
102
- SQLite3::SQLException: object name reserved for internal use: sqlite_widgets: CREATE TABLE "sqlite_widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "binary" blob, "boolean" boolean, "date" date, "datetime" datetime, "decimal" decimal, "float" float, "integer" integer, "references_id" integer, "string" varchar(255), "text" text, "time" time, "timestamp" datetime, "hstore" text, "json" text, "array" text, "cidr_address" text, "ip_address" text, "mac_address" text, "created_at" datetime, "updated_at" datetime)
103
-  (0.1ms) rollback transaction
104
- ActiveRecord::SchemaMigration Load (1.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
105
- Migrating to CreateMysqlWidgets (20141208210444)
106
-  (1.2ms) CREATE TABLE `mysql_widgets` (`id` int(11) auto_increment PRIMARY KEY, `binary` blob, `boolean` tinyint(1), `date` date, `datetime` datetime, `decimal` decimal, `float` float, `integer` int(11), `references_id` int(11), `string` varchar(255), `text` text, `time` time, `timestamp` datetime, `hstore` text, `json` text, `array` text, `cidr_address` text, `ip_address` text, `mac_address` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
107
- Mysql2::Error: Table 'mysql_widgets' already exists: CREATE TABLE `mysql_widgets` (`id` int(11) auto_increment PRIMARY KEY, `binary` blob, `boolean` tinyint(1), `date` date, `datetime` datetime, `decimal` decimal, `float` float, `integer` int(11), `references_id` int(11), `string` varchar(255), `text` text, `time` time, `timestamp` datetime, `hstore` text, `json` text, `array` text, `cidr_address` text, `ip_address` text, `mac_address` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
108
- ActiveRecord::SchemaMigration Load (1.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
109
- Migrating to CreateMysqlWidgets (20141208210434)
110
-  (11.2ms) CREATE TABLE `mysql_widgets` (`id` int(11) auto_increment PRIMARY KEY, `binary` blob, `boolean` tinyint(1), `date` date, `datetime` datetime, `decimal` decimal, `float` float, `integer` int(11), `references_id` int(11), `string` varchar(255), `text` text, `time` time, `timestamp` datetime, `hstore` text, `json` text, `array` text, `cidr_address` text, `ip_address` text, `mac_address` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
111
-  (32.3ms) CREATE INDEX `index_mysql_widgets_on_references_id` ON `mysql_widgets` (`references_id`) 
112
-  (1.3ms) BEGIN
113
- SQL (1.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20141208210434')
114
-  (4.4ms) COMMIT
115
- Migrating to CreateWidgets (20141208221412)
116
-  (4.1ms) begin transaction
117
-  (10.4ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "binary" blob, "boolean" boolean, "date" date, "datetime" datetime, "decimal" decimal, "float" float, "integer" integer, "references_id" integer, "string" varchar(255), "text" text, "time" time, "timestamp" datetime, "hstore" text, "json" text, "array" text, "cidr_address" text, "ip_address" text, "mac_address" text, "created_at" datetime, "updated_at" datetime)
118
-  (0.1ms) select sqlite_version(*)
119
-  (0.2ms) CREATE INDEX "index_widgets_on_references_id" ON "widgets" ("references_id")
120
- SQL (2.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141208221412"]]
121
-  (20.0ms) commit transaction
122
- ActiveRecord::SchemaMigration Load (3.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
123
-  (3.2ms) SELECT sql
124
- FROM sqlite_master
125
- WHERE name='index_widgets_on_references_id' AND type='index'
126
- UNION ALL
127
- SELECT sql
128
- FROM sqlite_temp_master
129
- WHERE name='index_widgets_on_references_id' AND type='index'
130
-
131
-  (2.8ms) SELECT COUNT(*) FROM "widgets"
132
-  (1.0ms) SELECT COUNT(*) FROM `mysql_widgets`
133
-  (3.6ms) SELECT COUNT(*) FROM "widgets"
134
-  (0.8ms) SELECT COUNT(*) FROM `mysql_widgets`
135
- ActiveRecord::SchemaMigration Load (3.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
136
- Migrating to CreateMysqlWidgets (20141208210434)
137
-  (1.3ms) CREATE TABLE `mysql_widgets` (`id` int(11) auto_increment PRIMARY KEY, `binary` blob, `boolean` tinyint(1), `date` date, `datetime` datetime, `decimal` decimal, `float` float, `integer` int(11), `references_id` int(11), `string` varchar(255), `text` text, `time` time, `timestamp` datetime, `hstore` text, `json` text, `array` text, `cidr_address` text, `ip_address` text, `mac_address` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
138
- Mysql2::Error: Table 'mysql_widgets' already exists: CREATE TABLE `mysql_widgets` (`id` int(11) auto_increment PRIMARY KEY, `binary` blob, `boolean` tinyint(1), `date` date, `datetime` datetime, `decimal` decimal, `float` float, `integer` int(11), `references_id` int(11), `string` varchar(255), `text` text, `time` time, `timestamp` datetime, `hstore` text, `json` text, `array` text, `cidr_address` text, `ip_address` text, `mac_address` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
139
- ActiveRecord::SchemaMigration Load (1.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
140
- Migrating to CreateSqlServerWidgets (20141208225325)
141
- SQL (0.9ms) USE [engine_development]
142
- SQL (3.4ms) BEGIN TRANSACTION
143
-  (3.2ms) CREATE TABLE [sql_server_widgets] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [binary] varbinary(max), [boolean] bit, [date] date, [datetime] datetime, [decimal] decimal, [float] float(8), [integer] integer, [references_id] integer, [string] nvarchar(255), [text] nvarchar(max), [time] time, [timestamp] datetime, [hstore] nvarchar(max), [json] nvarchar(max), [array] nvarchar(max), [cidr_address] nvarchar(max), [ip_address] nvarchar(max), [mac_address] nvarchar(max), [created_at] datetime, [updated_at] datetime)
144
-  (20.4ms) EXEC sp_executesql N'EXEC sp_helpindex N''sql_server_widgets'''
145
-  (1.5ms) CREATE INDEX [index_sql_server_widgets_on_references_id] ON [sql_server_widgets] ([references_id])
146
- SQL (5.6ms) IF @@TRANCOUNT > 0 ROLLBACK TRANSACTION
147
- ActiveRecord::SchemaMigration Load (2.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
148
- Migrating to CreateSqlServerWidgets (20141208225325)
149
- SQL (0.7ms) USE [engine_development]
150
- SQL (2.7ms) BEGIN TRANSACTION
151
-  (3.8ms) CREATE TABLE [sql_server_widgets] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [binary] varbinary(max), [boolean] bit, [date] date, [datetime] datetime, [decimal] decimal, [float] float(8), [integer] integer, [references_id] integer, [string] nvarchar(255), [text] nvarchar(max), [time] time, [timestamp] datetime, [hstore] nvarchar(max), [json] nvarchar(max), [array] nvarchar(max), [cidr_address] nvarchar(max), [ip_address] nvarchar(max), [mac_address] nvarchar(max), [created_at] datetime, [updated_at] datetime)
152
-  (2.4ms) EXEC sp_executesql N'EXEC sp_helpindex N''sql_server_widgets'''
153
-  (1.3ms) CREATE INDEX [index_sql_server_widgets_on_references_id] ON [sql_server_widgets] ([references_id])
154
- SQL (4.4ms) IF @@TRANCOUNT > 0 ROLLBACK TRANSACTION
155
- ActiveRecord::SchemaMigration Load (1.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
156
- Migrating to CreateSqlServerWidgets (20141208225325)
157
- SQL (0.7ms) USE [engine_development]
158
- SQL (0.6ms) BEGIN TRANSACTION
159
-  (2.9ms) CREATE TABLE [sql_server_widgets] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [binary] varbinary(max), [boolean] bit, [date] date, [datetime] datetime, [decimal] decimal, [float] float(8), [integer] integer, [references_id] integer, [string] nvarchar(255), [text] nvarchar(max), [time] time, [timestamp] datetime, [hstore] nvarchar(max), [json] nvarchar(max), [array] nvarchar(max), [cidr_address] nvarchar(max), [ip_address] nvarchar(max), [mac_address] nvarchar(max), [created_at] datetime, [updated_at] datetime)
160
-  (2.7ms) EXEC sp_executesql N'EXEC sp_helpindex N''sql_server_widgets'''
161
-  (1.4ms) CREATE INDEX [index_sql_server_widgets_on_references_id] ON [sql_server_widgets] ([references_id])
162
- SQL (3.6ms) IF @@TRANCOUNT > 0 ROLLBACK TRANSACTION
163
- ActiveRecord::SchemaMigration Load (3.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
164
- Migrating to CreateSqlServerWidgets (20141208225325)
165
- SQL (0.9ms) USE [engine_development]
166
- SQL (0.6ms) BEGIN TRANSACTION
167
-  (3.0ms) CREATE TABLE [sql_server_widgets] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [binary] varbinary(max), [boolean] bit, [date] date, [datetime] datetime, [decimal] decimal, [float] float(8), [integer] integer, [references_id] integer, [string] nvarchar(255), [text] nvarchar(max), [time] time, [timestamp] datetime, [hstore] nvarchar(max), [json] nvarchar(max), [array] nvarchar(max), [cidr_address] nvarchar(max), [ip_address] nvarchar(max), [mac_address] nvarchar(max), [created_at] datetime, [updated_at] datetime)
168
-  (2.7ms) EXEC sp_executesql N'EXEC sp_helpindex N''sql_server_widgets'''
169
-  (1.6ms) CREATE INDEX [index_sql_server_widgets_on_references_id] ON [sql_server_widgets] ([references_id])
170
- SQL (3.0ms) IF @@TRANCOUNT > 0 ROLLBACK TRANSACTION
171
- SQL (0.8ms) USE [engine_development]
172
- ActiveRecord::SchemaMigration Load (1.2ms) EXEC sp_executesql N'SELECT [schema_migrations].* FROM [schema_migrations]'
173
- Migrating to CreateSqlServerWidgets (20141208225325)
174
- SQL (0.7ms) USE [engine_development]
175
- ActiveRecord::SchemaMigration Load (1.7ms) EXEC sp_executesql N'SELECT [schema_migrations].* FROM [schema_migrations]'
176
- Migrating to CreateSqlServerWidgets (20141208225325)
177
- SQL (0.7ms) USE [engine_development]
178
- ActiveRecord::SchemaMigration Load (1.0ms) EXEC sp_executesql N'SELECT [schema_migrations].* FROM [schema_migrations]'
179
- Migrating to CreateSqlServerWidgets (20141208225325)
180
- SQL (0.8ms) USE [engine_development]
181
- SQL (0.7ms) BEGIN TRANSACTION
182
-  (3.2ms) CREATE TABLE [sql_server_widgets] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [binary] varbinary(max), [boolean] bit, [date] date, [datetime] datetime, [decimal] decimal, [float] float(8), [integer] integer, [references_id] integer, [string] nvarchar(255), [text] nvarchar(max), [time] time, [timestamp] datetime, [hstore] nvarchar(max), [json] nvarchar(max), [array] nvarchar(max), [cidr_address] nvarchar(max), [ip_address] nvarchar(max), [mac_address] nvarchar(max), [created_at] datetime, [updated_at] datetime) 
183
-  (3.2ms) EXEC sp_executesql N'EXEC sp_helpindex N''sql_server_widgets'''
184
-  (5.3ms) CREATE INDEX [index_sql_server_widgets_on_references_id] ON [sql_server_widgets] ([references_id])
185
- SQL (3.7ms) EXEC sp_executesql N'INSERT INTO [schema_migrations] ([version]) VALUES (@0); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(255)', @0 = N'20141208225325' [["version", "20141208225325"]]
186
- SQL (4.5ms) COMMIT TRANSACTION
187
- ActiveRecord::SchemaMigration Load (1.1ms) EXEC sp_executesql N'SELECT [schema_migrations].* FROM [schema_migrations]'
188
-  (19.6ms) EXEC sp_executesql N'EXEC sp_helpindex N''sql_server_widgets'''
189
-  (2.7ms) SELECT COUNT(*) FROM "widgets"
190
-  (0.9ms) SELECT COUNT(*) FROM `mysql_widgets`
191
- SQL (0.7ms) USE [engine_development]
192
-  (1.4ms) EXEC sp_executesql N'SELECT COUNT(*) FROM [sql_server_widgets]'
193
-  (0.1ms) begin transaction
194
- SQL (13.1ms) INSERT INTO "widgets" ("binary", "created_at", "updated_at") VALUES (?, ?, ?) [["binary", "<46418 bytes of binary data>"], ["created_at", "2014-12-09 16:02:26.940083"], ["updated_at", "2014-12-09 16:02:26.940083"]]
195
-  (31.0ms) commit transaction
196
-  (3.4ms) SELECT COUNT(*) FROM "widgets"
197
- Widget Load (3.9ms) SELECT "widgets".* FROM "widgets" ORDER BY "widgets"."id" ASC LIMIT 1
@@ -1,13 +0,0 @@
1
-  (1.1ms) DROP DATABASE IF EXISTS `engine_development`
2
-  (0.7ms) CREATE DATABASE `engine_development` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
3
-  (7.1ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
4
-  (17.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
5
-  (0.9ms) SELECT version FROM `schema_migrations`
6
-  (2.9ms) INSERT INTO `schema_migrations` (version) VALUES ('0')
7
- ActiveRecord::SchemaMigration Load (0.7ms) SELECT `schema_migrations`.* FROM `schema_migrations`
8
- ActiveRecord::SchemaMigration Load (0.8ms) SELECT `schema_migrations`.* FROM `schema_migrations`
9
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT `schema_migrations`.* FROM `schema_migrations`
10
- Migrating to CreateMysqlWidgets (20141208210433)
11
- ActiveRecord::SchemaMigration Load (0.8ms) SELECT `schema_migrations`.* FROM `schema_migrations`
12
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT `schema_migrations`.* FROM `schema_migrations`
13
- Migrating to CreateMysqlWidgets (20141208210433)
@@ -1,7 +0,0 @@
1
-  (1.0ms) DROP DATABASE IF EXISTS `engine_test`
2
-  (0.6ms) CREATE DATABASE `engine_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
3
-  (10.7ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
4
-  (15.4ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
5
-  (0.9ms) SELECT version FROM `schema_migrations`
6
-  (2.2ms) INSERT INTO `schema_migrations` (version) VALUES ('0')
7
- ActiveRecord::SchemaMigration Load (0.8ms) SELECT `schema_migrations`.* FROM `schema_migrations`
@@ -1,9 +0,0 @@
1
- SQL (0.7ms) USE [engine_development]
2
-  (16.9ms) CREATE TABLE [schema_migrations] ([version] nvarchar(255) NOT NULL)
3
-  (46.7ms) EXEC sp_executesql N'EXEC sp_helpindex N''schema_migrations'''
4
-  (4.3ms) CREATE UNIQUE INDEX [unique_schema_migrations] ON [schema_migrations] ([version])
5
- ActiveRecord::SchemaMigration Load (2.2ms) EXEC sp_executesql N'SELECT [schema_migrations].* FROM [schema_migrations]'
6
- Migrating to CreateMysqlWidgets (20141208210434)
7
- SQL (0.9ms) USE [engine_development]
8
- ActiveRecord::SchemaMigration Load (0.8ms) EXEC sp_executesql N'SELECT [schema_migrations].* FROM [schema_migrations]'
9
- Migrating to CreateMysqlWidgets (20141208210434)
@@ -1,51 +0,0 @@
1
- Mysql2::Error: Table 'engine_test.mysql_widgets' doesn't exist: SHOW FULL FIELDS FROM `mysql_widgets`
2
- ActiveRecord::SchemaMigration Load (1.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
3
- Migrating to CreateSqlServerWidgets (20141208225325)
4
- SQL (0.7ms) USE [engine_test]
5
- SQL (0.6ms) BEGIN TRANSACTION
6
-  (47.5ms) CREATE TABLE [sql_server_widgets] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [binary] varbinary(max), [boolean] bit, [date] date, [datetime] datetime, [decimal] decimal, [float] float(8), [integer] integer, [references_id] integer, [string] nvarchar(255), [text] nvarchar(max), [time] time, [timestamp] datetime, [hstore] nvarchar(max), [json] nvarchar(max), [array] nvarchar(max), [cidr_address] nvarchar(max), [ip_address] nvarchar(max), [mac_address] nvarchar(max), [created_at] datetime, [updated_at] datetime)
7
-  (25.1ms) EXEC sp_executesql N'EXEC sp_helpindex N''sql_server_widgets'''
8
-  (1.5ms) CREATE INDEX [index_sql_server_widgets_on_references_id] ON [sql_server_widgets] ([references_id])
9
- SQL (5.9ms) IF @@TRANCOUNT > 0 ROLLBACK TRANSACTION
10
- SQL (0.7ms) USE [engine_test]
11
-  (2.6ms) CREATE TABLE [schema_migrations] ([version] nvarchar(255) NOT NULL)
12
-  (1.1ms) EXEC sp_executesql N'EXEC sp_helpindex N''schema_migrations'''
13
-  (2.0ms) CREATE UNIQUE INDEX [unique_schema_migrations] ON [schema_migrations] ([version])
14
- ActiveRecord::SchemaMigration Load (1.0ms) EXEC sp_executesql N'SELECT [schema_migrations].* FROM [schema_migrations]'
15
- Migrating to CreateSqlServerWidgets (20141208225325)
16
- SQL (0.7ms) USE [engine_test]
17
- SQL (0.6ms) BEGIN TRANSACTION
18
-  (3.7ms) CREATE TABLE [sql_server_widgets] ([id] int NOT NULL IDENTITY(1,1) PRIMARY KEY, [binary] varbinary(max), [boolean] bit, [date] date, [datetime] datetime, [decimal] decimal, [float] float(8), [integer] integer, [references_id] integer, [string] nvarchar(255), [text] nvarchar(max), [time] time, [timestamp] datetime, [hstore] nvarchar(max), [json] nvarchar(max), [array] nvarchar(max), [cidr_address] nvarchar(max), [ip_address] nvarchar(max), [mac_address] nvarchar(max), [created_at] datetime, [updated_at] datetime)
19
-  (3.7ms) EXEC sp_executesql N'EXEC sp_helpindex N''sql_server_widgets'''
20
-  (1.4ms) CREATE INDEX [index_sql_server_widgets_on_references_id] ON [sql_server_widgets] ([references_id])
21
- SQL (1.8ms) EXEC sp_executesql N'INSERT INTO [schema_migrations] ([version]) VALUES (@0); SELECT CAST(SCOPE_IDENTITY() AS bigint) AS Ident', N'@0 nvarchar(255)', @0 = N'20141208225325' [["version", "20141208225325"]]
22
- SQL (4.1ms) COMMIT TRANSACTION
23
- ActiveRecord::SchemaMigration Load (1.0ms) EXEC sp_executesql N'SELECT [schema_migrations].* FROM [schema_migrations]'
24
-  (2.3ms) EXEC sp_executesql N'EXEC sp_helpindex N''sql_server_widgets'''
25
- ActiveRecord::SchemaMigration Load (3.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
26
- Migrating to CreateMysqlWidgets (20141208210434)
27
-  (8.7ms) CREATE TABLE `mysql_widgets` (`id` int(11) auto_increment PRIMARY KEY, `binary` blob, `boolean` tinyint(1), `date` date, `datetime` datetime, `decimal` decimal, `float` float, `integer` int(11), `references_id` int(11), `string` varchar(255), `text` text, `time` time, `timestamp` datetime, `hstore` text, `json` text, `array` text, `cidr_address` text, `ip_address` text, `mac_address` text, `created_at` datetime, `updated_at` datetime) ENGINE=InnoDB
28
-  (15.7ms) CREATE INDEX `index_mysql_widgets_on_references_id` ON `mysql_widgets` (`references_id`) 
29
-  (0.8ms) BEGIN
30
- SQL (1.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20141208210434')
31
-  (3.1ms) COMMIT
32
- Migrating to CreateWidgets (20141208221412)
33
-  (3.6ms) begin transaction
34
-  (7.3ms) CREATE TABLE "widgets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "binary" blob, "boolean" boolean, "date" date, "datetime" datetime, "decimal" decimal, "float" float, "integer" integer, "references_id" integer, "string" varchar(255), "text" text, "time" time, "timestamp" datetime, "hstore" text, "json" text, "array" text, "cidr_address" text, "ip_address" text, "mac_address" text, "created_at" datetime, "updated_at" datetime)
35
-  (0.1ms) select sqlite_version(*)
36
-  (0.2ms) CREATE INDEX "index_widgets_on_references_id" ON "widgets" ("references_id")
37
- SQL (4.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141208221412"]]
38
-  (6.5ms) commit transaction
39
- ActiveRecord::SchemaMigration Load (3.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
40
-  (1.9ms) SELECT sql
41
- FROM sqlite_master
42
- WHERE name='index_widgets_on_references_id' AND type='index'
43
- UNION ALL
44
- SELECT sql
45
- FROM sqlite_temp_master
46
- WHERE name='index_widgets_on_references_id' AND type='index'
47
-
48
-  (3.1ms) SELECT COUNT(*) FROM "widgets"
49
-  (2.2ms) SELECT COUNT(*) FROM `mysql_widgets`
50
- SQL (0.8ms) USE [engine_test]
51
-  (1.3ms) EXEC sp_executesql N'SELECT COUNT(*) FROM [sql_server_widgets]'
Binary file
Binary file
Binary file