mass_record 0.0.4.8 → 0.0.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/MIT-LICENSE +0 -0
- data/README.rdoc +0 -0
- data/Rakefile +0 -0
- data/app/assets/javascripts/mass_record/application.js +0 -0
- data/app/assets/stylesheets/mass_record/application.css +0 -0
- data/app/views/layouts/mass_record/application.html.erb +0 -0
- data/config/routes.rb +0 -0
- data/lib/mass_record.rb +7 -1
- data/lib/mass_record/engine.rb +0 -0
- data/lib/mass_record/version.rb +2 -1
- data/lib/tasks/mass_record_tasks.rake +0 -0
- data/test/dummy/README.rdoc +0 -0
- data/test/dummy/Rakefile +0 -0
- data/test/dummy/app/assets/javascripts/application.js +0 -0
- data/test/dummy/app/assets/javascripts/mysql_widgets.js +0 -0
- data/test/dummy/app/assets/javascripts/sql_server_widgets.js +0 -0
- data/test/dummy/app/assets/javascripts/widgets.js +0 -0
- data/test/dummy/app/assets/stylesheets/application.css +0 -0
- data/test/dummy/app/assets/stylesheets/mysql_widgets.css +0 -0
- data/test/dummy/app/assets/stylesheets/scaffold.css +0 -0
- data/test/dummy/app/assets/stylesheets/sql_server_widgets.css +0 -0
- data/test/dummy/app/assets/stylesheets/widgets.css +0 -0
- data/test/dummy/app/controllers/application_controller.rb +0 -0
- data/test/dummy/app/controllers/mysql_widgets_controller.rb +0 -0
- data/test/dummy/app/controllers/sql_server_widgets_controller.rb +0 -0
- data/test/dummy/app/controllers/widgets_controller.rb +0 -0
- data/test/dummy/app/helpers/application_helper.rb +0 -0
- data/test/dummy/app/helpers/mysql_widgets_helper.rb +0 -0
- data/test/dummy/app/helpers/sql_server_widgets_helper.rb +0 -0
- data/test/dummy/app/helpers/widgets_helper.rb +0 -0
- data/test/dummy/app/models/mysql_widget.rb +0 -0
- data/test/dummy/app/models/sql_server_widget.rb +0 -0
- data/test/dummy/app/models/widget.rb +0 -0
- data/test/dummy/app/views/layouts/application.html.erb +0 -0
- data/test/dummy/app/views/mysql_widgets/_form.html.erb +0 -0
- data/test/dummy/app/views/mysql_widgets/edit.html.erb +0 -0
- data/test/dummy/app/views/mysql_widgets/index.html.erb +0 -0
- data/test/dummy/app/views/mysql_widgets/new.html.erb +0 -0
- data/test/dummy/app/views/mysql_widgets/show.html.erb +0 -0
- data/test/dummy/app/views/sql_server_widgets/_form.html.erb +0 -0
- data/test/dummy/app/views/sql_server_widgets/edit.html.erb +0 -0
- data/test/dummy/app/views/sql_server_widgets/index.html.erb +0 -0
- data/test/dummy/app/views/sql_server_widgets/new.html.erb +0 -0
- data/test/dummy/app/views/sql_server_widgets/show.html.erb +0 -0
- data/test/dummy/app/views/widgets/_form.html.erb +0 -0
- data/test/dummy/app/views/widgets/edit.html.erb +0 -0
- data/test/dummy/app/views/widgets/index.html.erb +0 -0
- data/test/dummy/app/views/widgets/new.html.erb +0 -0
- data/test/dummy/app/views/widgets/show.html.erb +0 -0
- data/test/dummy/bin/bundle +0 -0
- data/test/dummy/bin/rails +0 -0
- data/test/dummy/bin/rake +0 -0
- data/test/dummy/config.ru +0 -0
- data/test/dummy/config/application.rb +0 -0
- data/test/dummy/config/boot.rb +0 -0
- data/test/dummy/config/environment.rb +0 -0
- data/test/dummy/config/environments/development.rb +0 -0
- data/test/dummy/config/environments/production.rb +0 -0
- data/test/dummy/config/environments/test.rb +0 -0
- data/test/dummy/config/initializers/assets.rb +0 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +0 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -0
- data/test/dummy/config/initializers/inflections.rb +0 -0
- data/test/dummy/config/initializers/mime_types.rb +0 -0
- data/test/dummy/config/initializers/session_store.rb +0 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/test/dummy/config/locales/en.yml +0 -0
- data/test/dummy/config/routes.rb +0 -0
- data/test/dummy/config/secrets.yml +0 -0
- data/test/dummy/db/development +0 -0
- data/test/dummy/db/migrate/20141208210434_create_mysql_widgets.rb +0 -0
- data/test/dummy/db/migrate/20141208221412_create_widgets.rb +0 -0
- data/test/dummy/db/migrate/20141208225325_create_sql_server_widgets.rb.ignore +0 -0
- data/test/dummy/db/schema.rb +0 -0
- data/test/dummy/public/404.html +0 -0
- data/test/dummy/public/422.html +0 -0
- data/test/dummy/public/500.html +0 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/test/controllers/mysql_widgets_controller_test.rb +0 -0
- data/test/dummy/test/controllers/sql_server_widgets_controller_test.rb +0 -0
- data/test/dummy/test/controllers/widgets_controller_test.rb +0 -0
- data/test/dummy/test/fixtures/mysql_widgets.yml +0 -0
- data/test/dummy/test/fixtures/sql_server_widgets.yml +0 -0
- data/test/dummy/test/fixtures/widgets.yml +0 -0
- data/test/dummy/test/helpers/mysql_widgets_helper_test.rb +0 -0
- data/test/dummy/test/helpers/sql_server_widgets_helper_test.rb +0 -0
- data/test/dummy/test/helpers/widgets_helper_test.rb +0 -0
- data/test/dummy/test/models/mysql_widget_test.rb +0 -0
- data/test/dummy/test/models/sql_server_widget_test.rb +0 -0
- data/test/dummy/test/models/widget_test.rb +0 -0
- data/test/integration/navigation_test.rb +0 -0
- data/test/mass_record_test.rb +0 -0
- data/test/test_helper.rb +0 -0
- metadata +18 -42
- data/test/dummy/config/database.yml +0 -70
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/production.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -197
- data/test/dummy/log/mysql_development.log +0 -13
- data/test/dummy/log/mysql_test.log +0 -7
- data/test/dummy/log/sql_server_development.log +0 -9
- data/test/dummy/log/test.log +0 -51
- data/test/dummy/tmp/sample.jpg +0 -0
- data/test/dummy/tmp/sample2.jpg +0 -0
- data/test/dummy/tmp/sample3.jpg +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9903c35f0b03224400bfb5dcf777f11f331a5d28
|
|
4
|
+
data.tar.gz: 7a8912ec47d571c7f0da3c61dd2247d5bc5c2de0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 65d3d563c121180c208effce4871c5581462b88e237d72b08eb137a398b2e9f84c2b8f2dbec8ab1e7d64e20282efb09ffe97649bf2979345a0f991a352648c26
|
|
7
|
+
data.tar.gz: 2d1f2883345c4dbe0a77f5742a18d9bdec77eddd4f3d15031e9ad32bb5323a3c7efea1ef0100e0f18a0fe01165af1f49851e923398460ddf1247a3326ba64d60
|
data/MIT-LICENSE
CHANGED
|
File without changes
|
data/README.rdoc
CHANGED
|
File without changes
|
data/Rakefile
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/config/routes.rb
CHANGED
|
File without changes
|
data/lib/mass_record.rb
CHANGED
|
@@ -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 = {}
|
data/lib/mass_record/engine.rb
CHANGED
|
File without changes
|
data/lib/mass_record/version.rb
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
module MassRecord
|
|
2
|
-
VERSION = "0.0.4.
|
|
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
|
data/test/dummy/README.rdoc
CHANGED
|
File without changes
|
data/test/dummy/Rakefile
CHANGED
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/test/dummy/bin/bundle
CHANGED
|
File without changes
|
data/test/dummy/bin/rails
CHANGED
|
File without changes
|
data/test/dummy/bin/rake
CHANGED
|
File without changes
|
data/test/dummy/config.ru
CHANGED
|
File without changes
|
|
File without changes
|
data/test/dummy/config/boot.rb
CHANGED
|
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
|
data/test/dummy/config/routes.rb
CHANGED
|
File without changes
|
|
File without changes
|
data/test/dummy/db/development
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/test/dummy/db/schema.rb
CHANGED
|
File without changes
|
data/test/dummy/public/404.html
CHANGED
|
File without changes
|
data/test/dummy/public/422.html
CHANGED
|
File without changes
|
data/test/dummy/public/500.html
CHANGED
|
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
|
data/test/mass_record_test.rb
CHANGED
|
File without changes
|
data/test/test_helper.rb
CHANGED
|
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.
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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.
|
|
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/
|
|
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/
|
|
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
|
-
|
|
Binary file
|
|
File without changes
|
data/test/dummy/db/test.sqlite3
DELETED
|
Binary file
|
|
@@ -1,197 +0,0 @@
|
|
|
1
|
-
[1m[36m (8.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
|
2
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
|
3
|
-
[1m[36m (10.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
4
|
-
[1m[35mActiveRecord::SchemaMigration Load (2.9ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
5
|
-
Migrating to CreateWidgets (20141205225041)
|
|
6
|
-
[1m[36mActiveRecord::SchemaMigration Load (2.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
7
|
-
Migrating to CreateMysqlWidgets (20141208204017)
|
|
8
|
-
[1m[36mActiveRecord::SchemaMigration Load (2.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
9
|
-
Migrating to CreateMysqlWidgets (20141208204507)
|
|
10
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36mActiveRecord::SchemaMigration Load (2.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
13
|
-
Migrating to CreateMysqlWidgets (20141208204507)
|
|
14
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36mActiveRecord::SchemaMigration Load (1.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
17
|
-
Migrating to CreateMysqlWidgets (20141208204507)
|
|
18
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36mActiveRecord::SchemaMigration Load (3.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
22
|
-
Migrating to CreateMysqlWidgets (20141208204507)
|
|
23
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36mActiveRecord::SchemaMigration Load (2.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
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
|
-
[1m[36mActiveRecord::SchemaMigration Load (1.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
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
|
-
[1m[36mActiveRecord::SchemaMigration Load (1.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
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
|
-
[1m[35m (97.5ms)[0m 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
|
-
[1m[36m (33.0ms)[0m [1mCREATE INDEX `index_mysql_widgets_on_references_id` ON `mysql_widgets` (`references_id`) [0m
|
|
36
|
-
Mysql2::Error: Table 'engine_development.schema_migrations' doesn't exist: SHOW FULL FIELDS FROM `schema_migrations`
|
|
37
|
-
[1m[36mActiveRecord::SchemaMigration Load (3.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
38
|
-
[1m[35mActiveRecord::SchemaMigration Load (2.8ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
39
|
-
[1m[36mActiveRecord::SchemaMigration Load (1.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
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
|
-
[1m[35m (11.6ms)[0m 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
|
-
[1m[36m (17.2ms)[0m [1mCREATE INDEX `index_mysql_widgets_on_references_id` ON `mysql_widgets` (`references_id`) [0m
|
|
44
|
-
[1m[35m (2.8ms)[0m BEGIN
|
|
45
|
-
[1m[36mSQL (1.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20141208210433')[0m
|
|
46
|
-
[1m[35m (3.8ms)[0m COMMIT
|
|
47
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
|
48
|
-
[1m[36mActiveRecord::SchemaMigration Load (3.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
49
|
-
[1m[35mActiveRecord::SchemaMigration Load (2.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
50
|
-
[1m[36m (10.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
|
51
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
|
52
|
-
[1m[36m (13.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
53
|
-
[1m[35m (2.6ms)[0m SELECT version FROM "schema_migrations"
|
|
54
|
-
[1m[36m (14.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
|
55
|
-
[1m[35m (11.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
56
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
57
|
-
[1m[35m (10.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
58
|
-
[1m[36m (6.6ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
59
|
-
[1m[35m (13.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
|
60
|
-
[1m[36mActiveRecord::SchemaMigration Load (3.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
61
|
-
[1m[36mActiveRecord::SchemaMigration Load (2.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
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
|
-
[1m[35m (1.3ms)[0m 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
|
-
[1m[36mActiveRecord::SchemaMigration Load (4.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
67
|
-
[1m[35mActiveRecord::SchemaMigration Load (2.9ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
68
|
-
[1m[36mActiveRecord::SchemaMigration Load (1.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
69
|
-
[1m[35mActiveRecord::SchemaMigration Load (2.0ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
|
70
|
-
[1m[36mActiveRecord::SchemaMigration Load (3.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
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
|
-
[1m[35m (0.8ms)[0m 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
|
-
[1m[36mActiveRecord::SchemaMigration Load (3.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
76
|
-
Migrating to CreateMysqlWidgets (20141208210433)
|
|
77
|
-
[1m[35m (1.1ms)[0m 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
|
-
[1m[36mActiveRecord::SchemaMigration Load (1.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
80
|
-
Migrating to CreateMysqlWidgets (20141208210433)
|
|
81
|
-
[1m[35m (7.0ms)[0m 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
|
-
[1m[36m (25.2ms)[0m [1mCREATE INDEX `index_mysql_widgets_on_references_id` ON `mysql_widgets` (`references_id`) [0m
|
|
83
|
-
[1m[35m (0.7ms)[0m BEGIN
|
|
84
|
-
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20141208210433')[0m
|
|
85
|
-
Mysql2::Error: Duplicate entry '20141208210433' for key 'unique_schema_migrations': INSERT INTO `schema_migrations` (`version`) VALUES ('20141208210433')
|
|
86
|
-
[1m[35m (8.6ms)[0m ROLLBACK
|
|
87
|
-
[1m[36m (1.3ms)[0m [1mSELECT COUNT(*) FROM `mysql_widgets`[0m
|
|
88
|
-
[1m[36mActiveRecord::SchemaMigration Load (1.9ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
89
|
-
Migrating to CreateMysqlWidgets (20141208210433)
|
|
90
|
-
[1m[35m (1.0ms)[0m 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
|
-
[1m[36mActiveRecord::SchemaMigration Load (2.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
93
|
-
Migrating to CreateMysqlWidgets (20141208210444)
|
|
94
|
-
[1m[35m (8.3ms)[0m 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
|
-
[1m[36m (20.3ms)[0m [1mCREATE INDEX `index_mysql_widgets_on_references_id` ON `mysql_widgets` (`references_id`) [0m
|
|
96
|
-
[1m[35m (0.7ms)[0m BEGIN
|
|
97
|
-
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20141208210444')[0m
|
|
98
|
-
[1m[35m (3.1ms)[0m COMMIT
|
|
99
|
-
Migrating to CreateSqliteWidgets (20141208214906)
|
|
100
|
-
[1m[36m (3.3ms)[0m [1mbegin transaction[0m
|
|
101
|
-
[1m[35m (0.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
104
|
-
[1m[36mActiveRecord::SchemaMigration Load (1.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
105
|
-
Migrating to CreateMysqlWidgets (20141208210444)
|
|
106
|
-
[1m[35m (1.2ms)[0m 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
|
-
[1m[36mActiveRecord::SchemaMigration Load (1.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
109
|
-
Migrating to CreateMysqlWidgets (20141208210434)
|
|
110
|
-
[1m[35m (11.2ms)[0m 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
|
-
[1m[36m (32.3ms)[0m [1mCREATE INDEX `index_mysql_widgets_on_references_id` ON `mysql_widgets` (`references_id`) [0m
|
|
112
|
-
[1m[35m (1.3ms)[0m BEGIN
|
|
113
|
-
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20141208210434')[0m
|
|
114
|
-
[1m[35m (4.4ms)[0m COMMIT
|
|
115
|
-
Migrating to CreateWidgets (20141208221412)
|
|
116
|
-
[1m[36m (4.1ms)[0m [1mbegin transaction[0m
|
|
117
|
-
[1m[35m (10.4ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
119
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_widgets_on_references_id" ON "widgets" ("references_id")
|
|
120
|
-
[1m[36mSQL (2.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141208221412"]]
|
|
121
|
-
[1m[35m (20.0ms)[0m commit transaction
|
|
122
|
-
[1m[36mActiveRecord::SchemaMigration Load (3.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
123
|
-
[1m[35m (3.2ms)[0m 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
|
-
[1m[36m (2.8ms)[0m [1mSELECT COUNT(*) FROM "widgets"[0m
|
|
132
|
-
[1m[35m (1.0ms)[0m SELECT COUNT(*) FROM `mysql_widgets`
|
|
133
|
-
[1m[36m (3.6ms)[0m [1mSELECT COUNT(*) FROM "widgets"[0m
|
|
134
|
-
[1m[35m (0.8ms)[0m SELECT COUNT(*) FROM `mysql_widgets`
|
|
135
|
-
[1m[36mActiveRecord::SchemaMigration Load (3.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
136
|
-
Migrating to CreateMysqlWidgets (20141208210434)
|
|
137
|
-
[1m[35m (1.3ms)[0m 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
|
-
[1m[36mActiveRecord::SchemaMigration Load (1.9ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
140
|
-
Migrating to CreateSqlServerWidgets (20141208225325)
|
|
141
|
-
[1m[35mSQL (0.9ms)[0m USE [engine_development]
|
|
142
|
-
[1m[36mSQL (3.4ms)[0m [1mBEGIN TRANSACTION[0m
|
|
143
|
-
[1m[35m (3.2ms)[0m 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
|
-
[1m[36m (20.4ms)[0m [1mEXEC sp_executesql N'EXEC sp_helpindex N''sql_server_widgets'''[0m
|
|
145
|
-
[1m[35m (1.5ms)[0m CREATE INDEX [index_sql_server_widgets_on_references_id] ON [sql_server_widgets] ([references_id])
|
|
146
|
-
[1m[36mSQL (5.6ms)[0m [1mIF @@TRANCOUNT > 0 ROLLBACK TRANSACTION[0m
|
|
147
|
-
[1m[36mActiveRecord::SchemaMigration Load (2.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
148
|
-
Migrating to CreateSqlServerWidgets (20141208225325)
|
|
149
|
-
[1m[35mSQL (0.7ms)[0m USE [engine_development]
|
|
150
|
-
[1m[36mSQL (2.7ms)[0m [1mBEGIN TRANSACTION[0m
|
|
151
|
-
[1m[35m (3.8ms)[0m 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
|
-
[1m[36m (2.4ms)[0m [1mEXEC sp_executesql N'EXEC sp_helpindex N''sql_server_widgets'''[0m
|
|
153
|
-
[1m[35m (1.3ms)[0m CREATE INDEX [index_sql_server_widgets_on_references_id] ON [sql_server_widgets] ([references_id])
|
|
154
|
-
[1m[36mSQL (4.4ms)[0m [1mIF @@TRANCOUNT > 0 ROLLBACK TRANSACTION[0m
|
|
155
|
-
[1m[36mActiveRecord::SchemaMigration Load (1.9ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
156
|
-
Migrating to CreateSqlServerWidgets (20141208225325)
|
|
157
|
-
[1m[35mSQL (0.7ms)[0m USE [engine_development]
|
|
158
|
-
[1m[36mSQL (0.6ms)[0m [1mBEGIN TRANSACTION[0m
|
|
159
|
-
[1m[35m (2.9ms)[0m 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
|
-
[1m[36m (2.7ms)[0m [1mEXEC sp_executesql N'EXEC sp_helpindex N''sql_server_widgets'''[0m
|
|
161
|
-
[1m[35m (1.4ms)[0m CREATE INDEX [index_sql_server_widgets_on_references_id] ON [sql_server_widgets] ([references_id])
|
|
162
|
-
[1m[36mSQL (3.6ms)[0m [1mIF @@TRANCOUNT > 0 ROLLBACK TRANSACTION[0m
|
|
163
|
-
[1m[36mActiveRecord::SchemaMigration Load (3.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
164
|
-
Migrating to CreateSqlServerWidgets (20141208225325)
|
|
165
|
-
[1m[35mSQL (0.9ms)[0m USE [engine_development]
|
|
166
|
-
[1m[36mSQL (0.6ms)[0m [1mBEGIN TRANSACTION[0m
|
|
167
|
-
[1m[35m (3.0ms)[0m 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
|
-
[1m[36m (2.7ms)[0m [1mEXEC sp_executesql N'EXEC sp_helpindex N''sql_server_widgets'''[0m
|
|
169
|
-
[1m[35m (1.6ms)[0m CREATE INDEX [index_sql_server_widgets_on_references_id] ON [sql_server_widgets] ([references_id])
|
|
170
|
-
[1m[36mSQL (3.0ms)[0m [1mIF @@TRANCOUNT > 0 ROLLBACK TRANSACTION[0m
|
|
171
|
-
[1m[36mSQL (0.8ms)[0m [1mUSE [engine_development][0m
|
|
172
|
-
[1m[35mActiveRecord::SchemaMigration Load (1.2ms)[0m EXEC sp_executesql N'SELECT [schema_migrations].* FROM [schema_migrations]'
|
|
173
|
-
Migrating to CreateSqlServerWidgets (20141208225325)
|
|
174
|
-
[1m[36mSQL (0.7ms)[0m [1mUSE [engine_development][0m
|
|
175
|
-
[1m[35mActiveRecord::SchemaMigration Load (1.7ms)[0m EXEC sp_executesql N'SELECT [schema_migrations].* FROM [schema_migrations]'
|
|
176
|
-
Migrating to CreateSqlServerWidgets (20141208225325)
|
|
177
|
-
[1m[36mSQL (0.7ms)[0m [1mUSE [engine_development][0m
|
|
178
|
-
[1m[35mActiveRecord::SchemaMigration Load (1.0ms)[0m EXEC sp_executesql N'SELECT [schema_migrations].* FROM [schema_migrations]'
|
|
179
|
-
Migrating to CreateSqlServerWidgets (20141208225325)
|
|
180
|
-
[1m[36mSQL (0.8ms)[0m [1mUSE [engine_development][0m
|
|
181
|
-
[1m[35mSQL (0.7ms)[0m BEGIN TRANSACTION
|
|
182
|
-
[1m[36m (3.2ms)[0m [1mCREATE 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) [0m
|
|
183
|
-
[1m[35m (3.2ms)[0m EXEC sp_executesql N'EXEC sp_helpindex N''sql_server_widgets'''
|
|
184
|
-
[1m[36m (5.3ms)[0m [1mCREATE INDEX [index_sql_server_widgets_on_references_id] ON [sql_server_widgets] ([references_id])[0m
|
|
185
|
-
[1m[35mSQL (3.7ms)[0m 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
|
-
[1m[36mSQL (4.5ms)[0m [1mCOMMIT TRANSACTION[0m
|
|
187
|
-
[1m[35mActiveRecord::SchemaMigration Load (1.1ms)[0m EXEC sp_executesql N'SELECT [schema_migrations].* FROM [schema_migrations]'
|
|
188
|
-
[1m[36m (19.6ms)[0m [1mEXEC sp_executesql N'EXEC sp_helpindex N''sql_server_widgets'''[0m
|
|
189
|
-
[1m[36m (2.7ms)[0m [1mSELECT COUNT(*) FROM "widgets"[0m
|
|
190
|
-
[1m[35m (0.9ms)[0m SELECT COUNT(*) FROM `mysql_widgets`
|
|
191
|
-
[1m[36mSQL (0.7ms)[0m [1mUSE [engine_development][0m
|
|
192
|
-
[1m[35m (1.4ms)[0m EXEC sp_executesql N'SELECT COUNT(*) FROM [sql_server_widgets]'
|
|
193
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
194
|
-
[1m[35mSQL (13.1ms)[0m 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
|
-
[1m[36m (31.0ms)[0m [1mcommit transaction[0m
|
|
196
|
-
[1m[35m (3.4ms)[0m SELECT COUNT(*) FROM "widgets"
|
|
197
|
-
[1m[36mWidget Load (3.9ms)[0m [1mSELECT "widgets".* FROM "widgets" ORDER BY "widgets"."id" ASC LIMIT 1[0m
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
[1m[36m (1.1ms)[0m [1mDROP DATABASE IF EXISTS `engine_development`[0m
|
|
2
|
-
[1m[35m (0.7ms)[0m CREATE DATABASE `engine_development` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
|
|
3
|
-
[1m[36m (7.1ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
|
4
|
-
[1m[35m (17.1ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
|
5
|
-
[1m[36m (0.9ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
|
6
|
-
[1m[35m (2.9ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('0')
|
|
7
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
|
8
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
|
9
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.5ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations`
|
|
10
|
-
Migrating to CreateMysqlWidgets (20141208210433)
|
|
11
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
|
12
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.6ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations`
|
|
13
|
-
Migrating to CreateMysqlWidgets (20141208210433)
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
[1m[36m (1.0ms)[0m [1mDROP DATABASE IF EXISTS `engine_test`[0m
|
|
2
|
-
[1m[35m (0.6ms)[0m CREATE DATABASE `engine_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`
|
|
3
|
-
[1m[36m (10.7ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
|
4
|
-
[1m[35m (15.4ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
|
5
|
-
[1m[36m (0.9ms)[0m [1mSELECT version FROM `schema_migrations`[0m
|
|
6
|
-
[1m[35m (2.2ms)[0m INSERT INTO `schema_migrations` (version) VALUES ('0')
|
|
7
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
[1m[36mSQL (0.7ms)[0m [1mUSE [engine_development][0m
|
|
2
|
-
[1m[35m (16.9ms)[0m CREATE TABLE [schema_migrations] ([version] nvarchar(255) NOT NULL)
|
|
3
|
-
[1m[36m (46.7ms)[0m [1mEXEC sp_executesql N'EXEC sp_helpindex N''schema_migrations'''[0m
|
|
4
|
-
[1m[35m (4.3ms)[0m CREATE UNIQUE INDEX [unique_schema_migrations] ON [schema_migrations] ([version])
|
|
5
|
-
[1m[36mActiveRecord::SchemaMigration Load (2.2ms)[0m [1mEXEC sp_executesql N'SELECT [schema_migrations].* FROM [schema_migrations]'[0m
|
|
6
|
-
Migrating to CreateMysqlWidgets (20141208210434)
|
|
7
|
-
[1m[36mSQL (0.9ms)[0m [1mUSE [engine_development][0m
|
|
8
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.8ms)[0m EXEC sp_executesql N'SELECT [schema_migrations].* FROM [schema_migrations]'
|
|
9
|
-
Migrating to CreateMysqlWidgets (20141208210434)
|
data/test/dummy/log/test.log
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
Mysql2::Error: Table 'engine_test.mysql_widgets' doesn't exist: SHOW FULL FIELDS FROM `mysql_widgets`
|
|
2
|
-
[1m[36mActiveRecord::SchemaMigration Load (1.9ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
3
|
-
Migrating to CreateSqlServerWidgets (20141208225325)
|
|
4
|
-
[1m[35mSQL (0.7ms)[0m USE [engine_test]
|
|
5
|
-
[1m[36mSQL (0.6ms)[0m [1mBEGIN TRANSACTION[0m
|
|
6
|
-
[1m[35m (47.5ms)[0m 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
|
-
[1m[36m (25.1ms)[0m [1mEXEC sp_executesql N'EXEC sp_helpindex N''sql_server_widgets'''[0m
|
|
8
|
-
[1m[35m (1.5ms)[0m CREATE INDEX [index_sql_server_widgets_on_references_id] ON [sql_server_widgets] ([references_id])
|
|
9
|
-
[1m[36mSQL (5.9ms)[0m [1mIF @@TRANCOUNT > 0 ROLLBACK TRANSACTION[0m
|
|
10
|
-
[1m[36mSQL (0.7ms)[0m [1mUSE [engine_test][0m
|
|
11
|
-
[1m[35m (2.6ms)[0m CREATE TABLE [schema_migrations] ([version] nvarchar(255) NOT NULL)
|
|
12
|
-
[1m[36m (1.1ms)[0m [1mEXEC sp_executesql N'EXEC sp_helpindex N''schema_migrations'''[0m
|
|
13
|
-
[1m[35m (2.0ms)[0m CREATE UNIQUE INDEX [unique_schema_migrations] ON [schema_migrations] ([version])
|
|
14
|
-
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mEXEC sp_executesql N'SELECT [schema_migrations].* FROM [schema_migrations]'[0m
|
|
15
|
-
Migrating to CreateSqlServerWidgets (20141208225325)
|
|
16
|
-
[1m[35mSQL (0.7ms)[0m USE [engine_test]
|
|
17
|
-
[1m[36mSQL (0.6ms)[0m [1mBEGIN TRANSACTION[0m
|
|
18
|
-
[1m[35m (3.7ms)[0m 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
|
-
[1m[36m (3.7ms)[0m [1mEXEC sp_executesql N'EXEC sp_helpindex N''sql_server_widgets'''[0m
|
|
20
|
-
[1m[35m (1.4ms)[0m CREATE INDEX [index_sql_server_widgets_on_references_id] ON [sql_server_widgets] ([references_id])
|
|
21
|
-
[1m[36mSQL (1.8ms)[0m [1mEXEC 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'[0m [["version", "20141208225325"]]
|
|
22
|
-
[1m[35mSQL (4.1ms)[0m COMMIT TRANSACTION
|
|
23
|
-
[1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mEXEC sp_executesql N'SELECT [schema_migrations].* FROM [schema_migrations]'[0m
|
|
24
|
-
[1m[35m (2.3ms)[0m EXEC sp_executesql N'EXEC sp_helpindex N''sql_server_widgets'''
|
|
25
|
-
[1m[36mActiveRecord::SchemaMigration Load (3.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
26
|
-
Migrating to CreateMysqlWidgets (20141208210434)
|
|
27
|
-
[1m[35m (8.7ms)[0m 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
|
-
[1m[36m (15.7ms)[0m [1mCREATE INDEX `index_mysql_widgets_on_references_id` ON `mysql_widgets` (`references_id`) [0m
|
|
29
|
-
[1m[35m (0.8ms)[0m BEGIN
|
|
30
|
-
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20141208210434')[0m
|
|
31
|
-
[1m[35m (3.1ms)[0m COMMIT
|
|
32
|
-
Migrating to CreateWidgets (20141208221412)
|
|
33
|
-
[1m[36m (3.6ms)[0m [1mbegin transaction[0m
|
|
34
|
-
[1m[35m (7.3ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
36
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_widgets_on_references_id" ON "widgets" ("references_id")
|
|
37
|
-
[1m[36mSQL (4.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20141208221412"]]
|
|
38
|
-
[1m[35m (6.5ms)[0m commit transaction
|
|
39
|
-
[1m[36mActiveRecord::SchemaMigration Load (3.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
40
|
-
[1m[35m (1.9ms)[0m 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
|
-
[1m[36m (3.1ms)[0m [1mSELECT COUNT(*) FROM "widgets"[0m
|
|
49
|
-
[1m[35m (2.2ms)[0m SELECT COUNT(*) FROM `mysql_widgets`
|
|
50
|
-
[1m[36mSQL (0.8ms)[0m [1mUSE [engine_test][0m
|
|
51
|
-
[1m[35m (1.3ms)[0m EXEC sp_executesql N'SELECT COUNT(*) FROM [sql_server_widgets]'
|
data/test/dummy/tmp/sample.jpg
DELETED
|
Binary file
|
data/test/dummy/tmp/sample2.jpg
DELETED
|
Binary file
|
data/test/dummy/tmp/sample3.jpg
DELETED
|
Binary file
|