Hi, Below is the log for the steps mentioned in the readme file. I am stuck at the point after webpack confirms that the bundle is valid. Its been stuck there for half an hour now. I was hoping that I could get some insight on how to tackle this issue.
This is my first project in ruby. I am a newbie with no prior knowledge of the language or the framework. I am using ruby 2.3.3. I modified the gemfile since it was not installing because of the ruby version mismatch.
== Installing ruby dependencies ==
The git source `git://github.com/masterexploder/font_assets.git` uses the `git` protocol, which transmits data without encryption. Disable this warning with `bundle config git.allow_insecure true`, or switch to the `https` protocol to keep your data secure.
git://github.com/masterexploder/font_assets.git (at master@ae80571) is not yet checked out. Run `bundle install` first.
The git source `git://github.com/masterexploder/font_assets.git` uses the `git` protocol, which transmits data without encryption. Disable this warning with `bundle config git.allow_insecure true`, or switch to the `https` protocol to keep your data secure.
Fetching git://github.com/masterexploder/font_assets.git
Fetching gem metadata from https://rubygems.org/.............
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies....
Installing rake 11.3.0
Installing i18n 0.7.0
Using json 1.8.3
Installing minitest 5.9.1
Installing thread_safe 0.3.5
Installing builder 3.2.2
Installing erubis 2.7.0
Installing mini_portile2 2.1.0
Installing rack 1.6.5
Installing mime-types-data 3.2016.0521
Installing thor 0.19.1
Installing arel 6.0.3
Installing public_suffix 2.0.4
Installing execjs 2.7.0
Installing awesome_print 1.7.0
Installing babel-source 5.8.35
Installing bcrypt 3.1.11 with native extensions
Installing coderay 1.1.1
Installing debug_inspector 0.0.2 with native extensions
Installing sass 3.4.22
Installing uniform_notifier 1.10.0
Using bundler 1.13.6
Installing camertron-eprun 1.1.1
Installing cancancan 1.10.1
Installing concurrent-ruby 1.0.2
Installing cldr-plurals-runtime-rb 1.0.1
Installing docile 1.1.5
Installing simplecov-html 0.10.0
Installing coffee-script-source 1.10.0
Installing colorize 0.8.1
Installing connection_pool 2.2.0
Installing safe_yaml 1.0.4
Installing dalli 2.7.6
Installing database_cleaner 1.5.3
Installing polyglot 0.3.5
Installing orm_adapter 0.5.0
Installing diff-lcs 1.2.5
Installing excon 0.54.0
Installing ffaker 2.2.0
Installing formatador 0.2.5
Installing multi_json 1.12.1
Installing ipaddress 0.8.3
Installing tilt 2.0.5
Installing hashdiff 0.3.0
Installing highline 1.6.21
Installing htmlentities 4.3.4
Installing kgio 2.10.0 with native extensions
Installing libv8 3.16.14.15
Installing method_source 0.8.2
Installing mimemagic 0.3.0
Installing sixarm_ruby_unaccent 1.1.1
Installing newrelic_rpm 3.16.0.318
Installing pg 0.18.4 with native extensions
Installing slop 3.6.0
Installing puma 3.6.0 with native extensions
Installing rack-timeout 0.4.2
Installing rails_serve_static_assets 0.0.5
Installing rails_stdout_logging 0.0.5
Installing redis 3.3.0
Installing ref 2.0.0
Installing rspec-support 3.5.0
Installing state_machines 0.4.0
Installing stringex 2.6.1
Installing truncate_html 0.9.3
Installing spring 1.7.2
Installing vcr 3.0.3
Installing i18n-js 3.0.0.rc14
Installing jsonapi 0.1.1.beta2
Installing tzinfo 1.2.2
Installing nokogiri 1.6.8.1 with native extensions
Installing rack-test 0.6.3
Installing warden 1.2.6
Using font_assets 0.1.13 from git://github.com/masterexploder/font_assets.git (at master@ae80571)
Installing rack-cache 1.6.1
Installing rack-protection 1.5.3
Installing mime-types 3.1
Installing foreman 0.82.0
Installing select2-rails 3.5.9.1
Installing spree_cmd 3.1.2
Installing addressable 2.5.0
Installing autoprefixer-rails 6.5.3
Installing uglifier 3.0.0
Installing babel-transpiler 0.7.0
Installing better_errors 2.1.1
Installing binding_of_caller 0.7.2 with native extensions
Installing sprockets 3.7.0
Installing simplecov 0.12.0
Installing coffee-script 2.4.1
Installing crack 0.4.3
Installing fog-core 1.42.0
Installing rollbar 2.13.3
Installing haml 4.0.7
Installing money 6.7.1
Installing pry 0.10.3
Installing rails_12factor 0.0.3
Installing therubyracer 0.12.2 with native extensions
Installing rspec-mocks 3.5.0
Installing rspec-core 3.5.4
Installing rspec-expectations 3.5.0
Installing spring-commands-rspec 1.0.4
Installing activesupport 4.2.7.1
Installing twitter_cldr 3.6.0
Installing loofah 2.0.3
Installing aws-sdk-v1 1.66.0
Installing xpath 2.0.0
Installing sidekiq 4.2.3
Installing mail 2.6.4
Installing launchy 2.4.3
Installing css_parser 1.4.6
Installing bootstrap-sass 3.3.7
Installing codeclimate-test-reporter 0.6.0
Installing webmock 2.1.0
Installing fog-json 1.0.2
Installing fog-xml 0.1.2
Installing monetize 1.4.0
Installing pry-nav 0.2.4
Installing pry-remote 0.1.8
Installing pry-stack_explorer 0.4.9.2
Installing rails-deprecated_sanitizer 1.0.3
Installing globalid 0.3.7
Installing activemodel 4.2.7.1
Installing activemerchant 1.61.0
Installing bullet 5.4.2
Installing carmen 1.0.2
Installing climate_control 0.0.3
Installing factory_girl 4.7.0
Installing rabl 0.12.0
Installing shoulda-matchers 3.1.1
Installing rails-html-sanitizer 1.0.3
Installing aws-sdk 1.66.0
Installing capybara 2.10.1
Installing premailer 1.8.7
Installing fog-aws 0.9.4
Installing rails-dom-testing 1.0.7
Installing activejob 4.2.7.1
Installing activerecord 4.2.7.1
Installing rspec-activemodel-mocks 1.0.3
Installing state_machines-activemodel 0.4.0
Installing cocaine 0.5.8
Installing capybara-screenshot 1.0.14
Installing actionview 4.2.7.1
Installing rspec-activejob 0.6.1
Installing acts_as_list 0.7.2
Installing awesome_nested_set 3.0.3
Installing friendly_id 5.1.0
Installing paranoia 2.1.5
Installing polyamorous 1.3.1
Installing test_after_commit 1.1.0
Installing state_machines-activerecord 0.4.0
Installing paperclip 4.3.7
Installing actionpack 4.2.7.1
Installing actionmailer 4.2.7.1
Installing railties 4.2.7.1
Installing sprockets-rails 3.2.0
Installing kaminari 0.17.0
Installing ransack 1.4.1
Installing premailer-rails 1.9.4
Installing active_model_serializers 0.10.2
Installing coffee-rails 4.1.1
Installing responders 2.3.0
Installing factory_girl_rails 4.7.0
Installing font-awesome-rails 4.7.0.0
Installing jquery-rails 4.2.1
Installing jquery-ui-rails 5.0.5
Installing quiet_assets 1.1.0
Installing react-rails 1.9.0
Installing rspec-rails 3.5.2
Installing versioncake 2.3.1
Installing web-console 3.3.0
Installing rails 4.2.7.1
Installing js-routes 1.3.0
Installing sass-rails 5.0.6
Installing devise 3.5.10
Installing canonical-rails 0.0.11
Installing deface 1.0.2
Installing devise-encryptable 0.1.2
Installing spree_core 3.1.2
Installing spree_api 3.1.2
Installing spree_sample 3.1.2
Installing spree_auth_devise 3.1.0
Installing spree_gateway 3.1.0
Installing spree_backend 3.1.2
Installing spree_frontend 3.1.2
Installing spree 3.1.2
Bundle complete! 55 Gemfile dependencies, 184 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
Post-install message from haml:
HEADS UP! Haml 4.0 has many improvements, but also has changes that may break
your application:
* Support for Ruby 1.8.6 dropped
* Support for Rails 2 dropped
* Sass filter now always outputs <style> tags
* Data attributes are now hyphenated, not underscored
* html2haml utility moved to the html2haml gem
* Textile and Maruku filters moved to the haml-contrib gem
For more info see:
http://rubydoc.info/github/haml/haml/file/CHANGELOG.md
Post-install message from money:
Please note the following API changes in Money version 6
- Money#amount, Money#dollars methods now return instances of BigDecimal (rather than Float).
Please read the migration notes at https://github.com/RubyMoney/money#migration-notes
and choose the migration that best suits your application.
Test responsibly :-)
Post-install message from webmock:
WebMock 2.0 has some breaking changes. Please check the CHANGELOG: https://goo.gl/piDGLu
== Installing node dependencies ==
npm WARN deprecated [email protected]: Babel's CLI commands have been moved from the babel package to the babel-cli package
npm WARN deprecated [email protected]: use uuid module instead
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated [email protected]: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated [email protected]: Project renamed to HSLuv
npm WARN prefer global [email protected] should be installed with -g
npm WARN prefer global [email protected] should be installed with -g
> [email protected] install /home/bhartendu/fasthardware/client/node_modules/sleep
> node-gyp rebuild
make: Entering directory '/home/bhartendu/fasthardware/client/node_modules/sleep/build'
CXX(target) Release/obj.target/node_sleep/sleep.o
SOLINK_MODULE(target) Release/obj.target/node_sleep.node
COPY Release/node_sleep.node
make: Leaving directory '/home/bhartendu/fasthardware/client/node_modules/sleep/build'
> [email protected] install /home/bhartendu/fasthardware/client/node_modules/node-sass
> node scripts/install.js
Cached binary found at /home/bhartendu/.npm/node-sass/3.13.1/linux-x64-46_binding.node
> [email protected] postinstall /home/bhartendu/fasthardware/client/node_modules/node-sass
> node scripts/build.js
Binary found at /home/bhartendu/fasthardware/client/node_modules/node-sass/vendor/linux-x64-46/binding.node
Testing binary
Binary is fine
[email protected] /home/bhartendu/fasthardware/client
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| `-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| | `-- [email protected]
| `-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| `-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
| +-- [email protected]
| `-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | | +-- [email protected]
| | | | +-- [email protected]
| | | | | `-- [email protected]
| | | | `-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | `-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | | +-- [email protected]
| | | | | `-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
+-- [email protected]
| `-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | | `-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | `-- [email protected]
| | | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | | `-- [email protected]
| | | | | `-- [email protected]
| | | | +-- [email protected]
| | | | `-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | | +-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | | +-- [email protected]
| | | | +-- [email protected]
| | | | `-- [email protected]
| | | `-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | `-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | `-- [email protected]
| | | +-- [email protected]
| | | | `-- [email protected]
| | | | `-- [email protected]
| | | | `-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| `-- [email protected]
| +-- [email protected]
| `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| `-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| `-- [email protected]
+-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| `-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| `-- [email protected]
+-- [email protected]
| `-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| `-- [email protected]
+-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| `-- [email protected]
+-- [email protected]
| `-- [email protected]
+-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| | +-- [email protected]
| | +-- [email protected]
| | | +-- [email protected]
| | | | +-- [email protected]
| | | | | +-- [email protected]
| | | | | `-- [email protected]
| | | | `-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
| `-- [email protected]
`-- [email protected]
+-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | | `-- [email protected]
| | | +-- [email protected]
| | | +-- [email protected]
| | | `-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| | +-- [email protected]
| | `-- [email protected]
| `-- [email protected]
| +-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
| +-- [email protected]
| `-- [email protected]
| `-- [email protected]
+-- [email protected]
| `-- [email protected]
| `-- [email protected]
| `-- [email protected]
+-- [email protected]
| +-- [email protected]
| | `-- [email protected]
| | `-- [email protected]
| +-- [email protected]
| +-- [email protected]
| `-- [email protected]
| `-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]
+-- [email protected]
`-- [email protected]
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
== Preparing database ==
[Spree WARNING] Missing migrations.
[Spree WARNING] add_missing_indexes_on_spree_tables from spree is missing.
[Spree WARNING] Run `bundle exec rake railties:install:migrations` to get them.
== 20151101180542 SpreeOneTwo: migrating ======================================
-- table_exists?(:spree_addresses)
-> 0.0021s
-- create_table(:spree_activators)
-> 0.1528s
-- create_table(:spree_addresses)
-> 0.1130s
-- add_index(:spree_addresses, [:firstname], {:name=>"index_addresses_on_firstname"})
-> 0.0768s
-- add_index(:spree_addresses, [:lastname], {:name=>"index_addresses_on_lastname"})
-> 0.0556s
-- create_table(:spree_adjustments)
-> 0.1116s
-- add_index(:spree_adjustments, [:adjustable_id], {:name=>"index_adjustments_on_order_id"})
-> 0.0440s
-- create_table(:spree_assets)
-> 0.1226s
-- add_index(:spree_assets, [:viewable_id], {:name=>"index_assets_on_viewable_id"})
-> 0.0656s
-- add_index(:spree_assets, [:viewable_type, :type], {:name=>"index_assets_on_viewable_type_and_type"})
-> 0.0447s
-- create_table(:spree_calculators)
-> 0.1435s
-- create_table(:spree_configurations)
-> 0.1925s
-- add_index(:spree_configurations, [:name, :type], {:name=>"index_spree_configurations_on_name_and_type"})
-> 0.0863s
-- create_table(:spree_countries)
-> 0.2120s
-- create_table(:spree_credit_cards)
-> 0.1553s
-- create_table(:spree_gateways)
-> 0.2100s
-- create_table(:spree_inventory_units)
-> 0.1839s
-- add_index(:spree_inventory_units, [:order_id], {:name=>"index_inventory_units_on_order_id"})
-> 0.1039s
-- add_index(:spree_inventory_units, [:shipment_id], {:name=>"index_inventory_units_on_shipment_id"})
-> 0.0774s
-- add_index(:spree_inventory_units, [:variant_id], {:name=>"index_inventory_units_on_variant_id"})
-> 0.0824s
-- create_table(:spree_line_items)
-> 0.0841s
-- add_index(:spree_line_items, [:order_id], {:name=>"index_spree_line_items_on_order_id"})
-> 0.0662s
-- add_index(:spree_line_items, [:variant_id], {:name=>"index_spree_line_items_on_variant_id"})
-> 0.0774s
-- create_table(:spree_log_entries)
-> 0.1995s
-- create_table(:spree_mail_methods)
-> 0.1237s
-- create_table(:spree_option_types)
-> 0.0557s
-- create_table(:spree_option_types_prototypes, {:id=>false})
-> 0.0012s
-- create_table(:spree_option_values)
-> 0.0990s
-- create_table(:spree_option_values_variants, {:id=>false})
-> 0.0021s
-- add_index(:spree_option_values_variants, [:variant_id, :option_value_id], {:name=>"index_option_values_variants_on_variant_id_and_option_value_id"})
-> 0.0861s
-- add_index(:spree_option_values_variants, [:variant_id], {:name=>"index_spree_option_values_variants_on_variant_id"})
-> 0.0555s
-- create_table(:spree_orders)
-> 0.1525s
-- add_index(:spree_orders, [:number], {:name=>"index_spree_orders_on_number"})
-> 0.0477s
-- create_table(:spree_payment_methods)
-> 0.0895s
-- create_table(:spree_payments)
-> 0.1381s
-- create_table(:spree_preferences)
-> 0.1065s
-- add_index(:spree_preferences, [:key], {:name=>"index_spree_preferences_on_key", :unique=>true})
-> 0.0459s
-- create_table(:spree_product_option_types)
-> 0.0452s
-- create_table(:spree_product_properties)
-> 0.1439s
-- add_index(:spree_product_properties, [:product_id], {:name=>"index_product_properties_on_product_id"})
-> 0.0445s
-- create_table(:spree_products)
-> 0.1115s
-- add_index(:spree_products, [:available_on], {:name=>"index_spree_products_on_available_on"})
-> 0.0558s
-- add_index(:spree_products, [:deleted_at], {:name=>"index_spree_products_on_deleted_at"})
-> 0.0555s
-- add_index(:spree_products, [:name], {:name=>"index_spree_products_on_name"})
-> 0.0556s
-- add_index(:spree_products, [:permalink], {:name=>"index_spree_products_on_permalink"})
-> 0.0886s
-- create_table(:spree_products_taxons, {:id=>false})
-> 0.0014s
-- add_index(:spree_products_taxons, [:product_id], {:name=>"index_spree_products_taxons_on_product_id"})
-> 0.0541s
-- add_index(:spree_products_taxons, [:taxon_id], {:name=>"index_spree_products_taxons_on_taxon_id"})
-> 0.0665s
-- create_table(:spree_properties)
-> 0.1663s
-- create_table(:spree_properties_prototypes, {:id=>false})
-> 0.0009s
-- create_table(:spree_prototypes)
-> 0.1227s
-- create_table(:spree_return_authorizations)
-> 1.1580s
-- create_table(:spree_roles)
-> 0.0992s
-- create_table(:spree_roles_users, {:id=>false})
-> 0.0010s
-- add_index(:spree_roles_users, [:role_id], {:name=>"index_spree_roles_users_on_role_id"})
-> 0.0655s
-- add_index(:spree_roles_users, [:user_id], {:name=>"index_spree_roles_users_on_user_id"})
-> 0.0556s
-- create_table(:spree_shipments)
-> 0.1116s
-- add_index(:spree_shipments, [:number], {:name=>"index_shipments_on_number"})
-> 0.0775s
-- create_table(:spree_shipping_categories)
-> 0.1112s
-- create_table(:spree_shipping_methods)
-> 0.1331s
-- create_table(:spree_state_changes)
-> 0.1016s
-- create_table(:spree_states)
-> 0.1114s
-- create_table(:spree_tax_categories)
-> 0.1224s
-- create_table(:spree_tax_rates)
-> 0.0447s
-- create_table(:spree_taxonomies)
-> 0.1223s
-- create_table(:spree_taxons)
-> 0.1118s
-- add_index(:spree_taxons, [:parent_id], {:name=>"index_taxons_on_parent_id"})
-> 0.0548s
-- add_index(:spree_taxons, [:permalink], {:name=>"index_taxons_on_permalink"})
-> 0.0559s
-- add_index(:spree_taxons, [:taxonomy_id], {:name=>"index_taxons_on_taxonomy_id"})
-> 0.0666s
-- create_table(:spree_tokenized_permissions, {:force=>true})
-> 0.1114s
-- add_index(:spree_tokenized_permissions, [:permissable_id, :permissable_type], {:name=>"index_tokenized_name_and_type"})
-> 0.0445s
-- create_table(:spree_trackers)
-> 0.1568s
-- create_table(:spree_users)
-> 0.1345s
-- create_table(:spree_variants)
-> 0.1106s
-- add_index(:spree_variants, [:product_id], {:name=>"index_spree_variants_on_product_id"})
-> 0.0556s
-- create_table(:spree_zone_members)
-> 0.1334s
-- create_table(:spree_zones)
-> 0.1115s
== 20151101180542 SpreeOneTwo: migrated (8.1522s) =============================
== 20151101180543 SpreePromoOneTwo: migrating =================================
-- table_exists?(:spree_products_promotion_rules)
-> 0.0020s
-- create_table(:spree_products_promotion_rules, {:id=>false, :force=>true})
-> 0.0018s
-- add_index(:spree_products_promotion_rules, [:product_id], {:name=>"index_products_promotion_rules_on_product_id"})
-> 0.0590s
-- add_index(:spree_products_promotion_rules, [:promotion_rule_id], {:name=>"index_products_promotion_rules_on_promotion_rule_id"})
-> 0.0553s
-- create_table(:spree_promotion_action_line_items, {:force=>true})
-> 0.0557s
-- create_table(:spree_promotion_actions, {:force=>true})
-> 0.1238s
-- create_table(:spree_promotion_rules, {:force=>true})
-> 0.0893s
-- add_index(:spree_promotion_rules, [:product_group_id], {:name=>"index_promotion_rules_on_product_group_id"})
-> 0.0672s
-- add_index(:spree_promotion_rules, [:user_id], {:name=>"index_promotion_rules_on_user_id"})
-> 0.0438s
-- create_table(:spree_promotion_rules_users, {:id=>false, :force=>true})
-> 0.0017s
-- add_index(:spree_promotion_rules_users, [:promotion_rule_id], {:name=>"index_promotion_rules_users_on_promotion_rule_id"})
-> 0.0538s
-- add_index(:spree_promotion_rules_users, [:user_id], {:name=>"index_promotion_rules_users_on_user_id"})
-> 0.0556s
== 20151101180543 SpreePromoOneTwo: migrated (0.6108s) ========================
== 20151101180544 AddTaxRateLabel: migrating ==================================
-- add_column(:spree_tax_rates, :name, :string)
-> 0.0996s
== 20151101180544 AddTaxRateLabel: migrated (0.0997s) =========================
== 20151101180545 AddToggleTaxRateDisplay: migrating ==========================
-- add_column(:spree_tax_rates, :show_rate_in_label, :boolean, {:default=>true})
-> 0.1420s
== 20151101180545 AddToggleTaxRateDisplay: migrated (0.1422s) =================
== 20151101180546 RemoveUnusedPreferenceColumns: migrating ====================
-- remove_column(:spree_preferences, :name)
-> 0.0013s
-- remove_column(:spree_preferences, :owner_id)
-> 0.0006s
-- remove_column(:spree_preferences, :owner_type)
-> 0.0006s
== 20151101180546 RemoveUnusedPreferenceColumns: migrated (0.0087s) ===========
== 20151101180547 AddLockVersionToVariant: migrating ==========================
-- add_column(:spree_variants, :lock_version, :integer, {:default=>0})
-> 0.1678s
== 20151101180547 AddLockVersionToVariant: migrated (0.1680s) =================
== 20151101180548 AddStatesRequiredToCountries: migrating =====================
-- add_column(:spree_countries, :states_required, :boolean, {:default=>true})
-> 0.1169s
== 20151101180548 AddStatesRequiredToCountries: migrated (0.1171s) ============
== 20151101180549 AddOnDemandToProductAndVariant: migrating ===================
-- add_column(:spree_products, :on_demand, :boolean, {:default=>false})
-> 0.3302s
-- add_column(:spree_variants, :on_demand, :boolean, {:default=>false})
-> 0.1670s
== 20151101180549 AddOnDemandToProductAndVariant: migrated (0.4974s) ==========
== 20151101180550 RemoveNotNullConstraintFromProductsOnHand: migrating ========
-- change_column(:spree_products, :count_on_hand, :integer, {:null=>true})
-> 0.0024s
-- change_column(:spree_variants, :count_on_hand, :integer, {:null=>true})
-> 0.0013s
== 20151101180550 RemoveNotNullConstraintFromProductsOnHand: migrated (0.0040s)
== 20151101180551 SplitPricesFromVariants: migrating ==========================
-- create_table(:spree_prices)
-> 0.1241s
-- remove_column(:spree_variants, :price)
-> 0.0005s
== 20151101180551 SplitPricesFromVariants: migrated (0.2485s) =================
== 20151101180552 RemoveNotNullFromSpreePricesAmount: migrating ===============
-- change_column(:spree_prices, :amount, :decimal, {:precision=>8, :scale=>2, :null=>true})
-> 0.0011s
== 20151101180552 RemoveNotNullFromSpreePricesAmount: migrated (0.0012s) ======
== 20151101180553 AddCurrencyToLineItems: migrating ===========================
-- add_column(:spree_line_items, :currency, :string)
-> 0.0594s
== 20151101180553 AddCurrencyToLineItems: migrated (0.0595s) ==================
== 20151101180554 AddCurrencyToOrders: migrating ==============================
-- add_column(:spree_orders, :currency, :string)
-> 0.0013s
== 20151101180554 AddCurrencyToOrders: migrated (0.0017s) =====================
== 20151101180555 AddCostCurrencyToVariants: migrating ========================
-- add_column(:spree_variants, :cost_currency, :string, {:after=>:cost_price})
-> 0.0008s
== 20151101180555 AddCostCurrencyToVariants: migrated (0.0009s) ===============
== 20151101180556 RemoveDisplayOnFromPaymentMethods: migrating ================
-- remove_column(:spree_payment_methods, :display_on)
-> 0.0010s
== 20151101180556 RemoveDisplayOnFromPaymentMethods: migrated (0.0012s) =======
== 20151101180557 AddPositionToTaxonomies: migrating ==========================
-- add_column(:spree_taxonomies, :position, :integer, {:default=>0})
-> 0.1053s
== 20151101180557 AddPositionToTaxonomies: migrated (0.1054s) =================
== 20151101180558 AddLastIpToSpreeOrders: migrating ===========================
-- add_column(:spree_orders, :last_ip_address, :string)
-> 0.0016s
== 20151101180558 AddLastIpToSpreeOrders: migrated (0.0017s) ==================
== 20151101180559 AddStateToSpreeAdjustments: migrating =======================
-- add_column(:spree_adjustments, :state, :string)
-> 0.0008s
-- remove_column(:spree_adjustments, :locked)
-> 0.0004s
== 20151101180559 AddStateToSpreeAdjustments: migrated (0.0014s) ==============
== 20151101180560 AddDisplayOnToSpreePaymentMethods: migrating ================
-- add_column(:spree_payment_methods, :display_on, :string)
-> 0.0019s
== 20151101180560 AddDisplayOnToSpreePaymentMethods: migrated (0.0021s) =======
== 20151101180561 AddPositionToProductProperties: migrating ===================
-- add_column(:spree_product_properties, :position, :integer, {:default=>0})
-> 0.1748s
== 20151101180561 AddPositionToProductProperties: migrated (0.1749s) ==========
== 20151101180562 AddIdentifierToSpreePayments: migrating =====================
-- add_column(:spree_payments, :identifier, :string)
-> 0.0008s
== 20151101180562 AddIdentifierToSpreePayments: migrated (0.0009s) ============
== 20151101180563 AddOrderIdIndexToPayments: migrating ========================
-- add_index(:spree_payments, :order_id)
-> 0.0519s
== 20151101180563 AddOrderIdIndexToPayments: migrated (0.0521s) ===============
== 20151101180564 AddPrimaryToSpreeProductsTaxons: migrating ==================
-- add_column(:spree_products_taxons, :id, :primary_key)
-> 0.2216s
== 20151101180564 AddPrimaryToSpreeProductsTaxons: migrated (0.2217s) =========
== 20151101180565 CreateSpreeStockItems: migrating ============================
-- create_table(:spree_stock_items)
-> 0.0520s
-- add_index(:spree_stock_items, :stock_location_id)
-> 0.0553s
-- add_index(:spree_stock_items, [:stock_location_id, :variant_id], {:name=>"stock_item_by_loc_and_var_id"})
-> 0.0779s
== 20151101180565 CreateSpreeStockItems: migrated (0.1856s) ===================
== 20151101180566 CreateSpreeStockLocations: migrating ========================
-- create_table(:spree_stock_locations)
-> 0.1013s
-- add_index(:spree_stock_locations, :address_id)
-> 0.0774s
== 20151101180566 CreateSpreeStockLocations: migrated (0.1790s) ===============
== 20151101180567 CreateDefaultStock: migrating ===============================
-- column_exists?(:spree_stock_locations, :default)
-> 0.0031s
-- add_column(:spree_stock_locations, :default, :boolean, {:null=>false, :default=>false})
-> 0.1568s
-- remove_column(:spree_variants, :count_on_hand)
-> 0.0007s
== 20151101180567 CreateDefaultStock: migrated (0.1987s) ======================
== 20151101180568 AddOrderIdIndexToShipments: migrating =======================
-- add_index(:spree_shipments, :order_id)
-> 0.0513s
== 20151101180568 AddOrderIdIndexToShipments: migrated (0.0514s) ==============
== 20151101180569 ChangeMetaDescriptionOnSpreeProductsToText: migrating =======
-- change_column(:spree_products, :meta_description, :text, {:limit=>nil})
-> 0.0008s
== 20151101180569 ChangeMetaDescriptionOnSpreeProductsToText: migrated (0.0009s)
== 20151101180570 AddStockLocationIdToSpreeShipments: migrating ===============
-- add_column(:spree_shipments, :stock_location_id, :integer)
-> 0.0010s
== 20151101180570 AddStockLocationIdToSpreeShipments: migrated (0.0011s) ======
== 20151101180571 AddPendingToInventoryUnit: migrating ========================
-- add_column(:spree_inventory_units, :pending, :boolean, {:default=>true})
-> 0.3087s
== 20151101180571 AddPendingToInventoryUnit: migrated (0.3480s) ===============
== 20151101180572 RemoveOnDemandFromProductAndVariant: migrating ==============
-- remove_column(:spree_products, :on_demand)
-> 0.0010s
-- remove_column(:spree_variants, :on_demand)
-> 0.0008s
== 20151101180572 RemoveOnDemandFromProductAndVariant: migrated (0.0019s) =====
== 20151101180573 CreateShippingMethodZone: migrating =========================
-- create_table(:shipping_methods_zones, {:id=>false})
-> 0.0015s
-- remove_column(:spree_shipping_methods, :zone_id)
-> 0.0006s
== 20151101180573 CreateShippingMethodZone: migrated (0.0671s) ================
== 20151101180574 RemoveShippingCategoryIdFromShippingMethod: migrating =======
-- remove_column(:spree_shipping_methods, :shipping_category_id)
-> 0.0006s
== 20151101180574 RemoveShippingCategoryIdFromShippingMethod: migrated (0.0007s)
== 20151101180575 CreateShippingMethodCategories: migrating ===================
-- create_table(:spree_shipping_method_categories)
-> 0.0762s
-- add_index(:spree_shipping_method_categories, :shipping_method_id)
-> 0.0466s
-- add_index(:spree_shipping_method_categories, :shipping_category_id)
-> 0.0556s
== 20151101180575 CreateShippingMethodCategories: migrated (0.1787s) ==========
== 20151101180576 AddTrackingUrlToSpreeShippingMethods: migrating =============
-- add_column(:spree_shipping_methods, :tracking_url, :string)
-> 0.0021s
== 20151101180576 AddTrackingUrlToSpreeShippingMethods: migrated (0.0023s) ====
== 20151101180577 CreateSpreeShippingRates: migrating =========================
-- create_table(:spree_shipping_rates)
-> 0.0760s
-- add_index(:spree_shipping_rates, [:shipment_id, :shipping_method_id], {:name=>"spree_shipping_rates_join_index", :unique=>true})
-> 0.0486s
== 20151101180577 CreateSpreeShippingRates: migrated (0.1248s) ================
== 20151101180578 RemoveCategoryMatchAttributesFromShippingMethod: migrating ==
-- remove_column(:spree_shipping_methods, :match_none)
-> 0.0006s
-- remove_column(:spree_shipping_methods, :match_one)
-> 0.0004s
-- remove_column(:spree_shipping_methods, :match_all)
-> 0.0004s
== 20151101180578 RemoveCategoryMatchAttributesFromShippingMethod: migrated (0.0016s)
== 20151101180579 CreateStockMovements: migrating =============================
-- create_table(:spree_stock_movements)
-> 0.1057s
-- add_index(:spree_stock_movements, :stock_item_id)
-> 0.0664s
== 20151101180579 CreateStockMovements: migrated (0.1723s) ====================
== 20151101180580 AddAddressFieldsToStockLocation: migrating ==================
-- remove_column(:spree_stock_locations, :address_id)
-> 0.0021s
-- add_column(:spree_stock_locations, :address1, :string)
-> 0.0008s
-- add_column(:spree_stock_locations, :address2, :string)
-> 0.0009s
-- add_column(:spree_stock_locations, :city, :string)
-> 0.0007s
-- add_column(:spree_stock_locations, :state_id, :integer)
-> 0.0009s
-- add_column(:spree_stock_locations, :state_name, :string)
-> 0.0015s
-- add_column(:spree_stock_locations, :country_id, :integer)
-> 0.0017s
-- add_column(:spree_stock_locations, :zipcode, :string)
-> 0.0013s
-- add_column(:spree_stock_locations, :phone, :string)
-> 0.0006s
== 20151101180580 AddAddressFieldsToStockLocation: migrated (0.0291s) =========
== 20151101180581 AddActiveFieldToStockLocations: migrating ===================
-- add_column(:spree_stock_locations, :active, :boolean, {:default=>true})
-> 0.1863s
== 20151101180581 AddActiveFieldToStockLocations: migrated (0.1864s) ==========
== 20151101180582 AddBackorderableToStockItem: migrating ======================
-- add_column(:spree_stock_items, :backorderable, :boolean, {:default=>true})
-> 0.2086s
== 20151101180582 AddBackorderableToStockItem: migrated (0.2087s) =============
== 20151101180583 AddDefaultQuantityToStockMovement: migrating ================
-- change_column(:spree_stock_movements, :quantity, :integer, {:default=>0})
-> 0.0026s
== 20151101180583 AddDefaultQuantityToStockMovement: migrated (0.0029s) =======
== 20151101180584 AddSourceAndDestinationToStockMovements: migrating ==========
-- change_table(:spree_stock_movements)
-> 0.0017s
== 20151101180584 AddSourceAndDestinationToStockMovements: migrated (0.0018s) =
== 20151101180585 ChangeOrdersTotalPrecision: migrating =======================
-- change_column(:spree_orders, :item_total, :decimal, {:precision=>10, :scale=>2, :default=>0.0, :null=>false})
-> 0.0068s
-- change_column(:spree_orders, :total, :decimal, {:precision=>10, :scale=>2, :default=>0.0, :null=>false})
-> 0.0041s
-- change_column(:spree_orders, :adjustment_total, :decimal, {:precision=>10, :scale=>2, :default=>0.0, :null=>false})
-> 0.0043s
-- change_column(:spree_orders, :payment_total, :decimal, {:precision=>10, :scale=>2, :default=>0.0})
-> 0.0024s
== 20151101180585 ChangeOrdersTotalPrecision: migrated (0.0181s) ==============
== 20151101180586 ChangeSpreePaymentsAmountPrecision: migrating ===============
-- change_column(:spree_payments, :amount, :decimal, {:precision=>10, :scale=>2, :default=>0.0, :null=>false})
-> 0.0044s
== 20151101180586 ChangeSpreePaymentsAmountPrecision: migrated (0.0046s) ======
== 20151101180587 ChangeSpreeReturnAuthorizationAmountPrecision: migrating ====
-- change_column(:spree_return_authorizations, :amount, :decimal, {:precision=>10, :scale=>2, :default=>0.0, :null=>false})
-> 0.0040s
== 20151101180587 ChangeSpreeReturnAuthorizationAmountPrecision: migrated (0.0041s)
== 20151101180588 ChangeAdjustmentsAmountPrecision: migrating =================
-- change_column(:spree_adjustments, :amount, :decimal, {:precision=>10, :scale=>2})
-> 0.0007s
== 20151101180588 ChangeAdjustmentsAmountPrecision: migrated (0.0008s) ========
== 20151101180589 AddOriginatorToStockMovement: migrating =====================
-- change_table(:spree_stock_movements)
-> 0.0011s
== 20151101180589 AddOriginatorToStockMovement: migrated (0.0012s) ============
== 20151101180590 DropSourceAndDestinationFromStockMovement: migrating ========
-- change_table(:spree_stock_movements)
-> 0.0065s
== 20151101180590 DropSourceAndDestinationFromStockMovement: migrated (0.0066s)
== 20151101180591 MigrateInventoryUnitSoldToOnHand: migrating =================
== 20151101180591 MigrateInventoryUnitSoldToOnHand: migrated (0.0014s) ========
== 20151101180592 AddStockLocationToRma: migrating ============================
-- add_column(:spree_return_authorizations, :stock_location_id, :integer)
-> 0.0020s
== 20151101180592 AddStockLocationToRma: migrated (0.0023s) ===================
== 20151101180593 UpdateShipmentStateForCanceledOrders: migrating =============
== 20151101180593 UpdateShipmentStateForCanceledOrders: migrated (0.0560s) ====
== 20151101180594 AddSeoMetasToTaxons: migrating ==============================
-- change_table(:spree_taxons)
-> 0.0051s
== 20151101180594 AddSeoMetasToTaxons: migrated (0.0052s) =====================
== 20151101180595 RemoveStockItemAndVariantLock: migrating ====================
-- remove_column(:spree_stock_items, :lock_version)
-> 0.0005s
-- remove_column(:spree_variants, :lock_version)
-> 0.0009s
== 20151101180595 RemoveStockItemAndVariantLock: migrated (0.0017s) ===========
== 20151101180596 AddNameToSpreeCreditCards: migrating ========================
-- add_column(:spree_credit_cards, :name, :string)
-> 0.0013s
== 20151101180596 AddNameToSpreeCreditCards: migrated (0.0014s) ===============
== 20151101180597 UpdateNameFieldsOnSpreeCreditCards: migrating ===============
-- execute("UPDATE spree_credit_cards SET name = first_name || ' ' || last_name")
-> 0.0008s
== 20151101180597 UpdateNameFieldsOnSpreeCreditCards: migrated (0.0009s) ======
== 20151101180598 AddIndexToSourceColumnsOnAdjustments: migrating =============
-- add_index(:spree_adjustments, [:source_type, :source_id])
-> 0.0677s
== 20151101180598 AddIndexToSourceColumnsOnAdjustments: migrated (0.0678s) ====
== 20151101180599 UpdateAdjustmentStates: migrating ===========================
== 20151101180599 UpdateAdjustmentStates: migrated (0.1064s) ==================
== 20151101180600 AddShippingRatesToShipments: migrating ======================
-- remove_column(:spree_shipments, :shipping_method_id)
-> 0.0011s
== 20151101180600 AddShippingRatesToShipments: migrated (0.0037s) =============
== 20151101180601 CreateSpreeStockTransfers: migrating ========================
-- create_table(:spree_stock_transfers)
-> 0.1356s
-- add_index(:spree_stock_transfers, :source_location_id)
-> 0.0554s
-- add_index(:spree_stock_transfers, :destination_location_id)
-> 0.0553s
== 20151101180601 CreateSpreeStockTransfers: migrated (0.2469s) ===============
== 20151101180602 DropProductsCountOnHand: migrating ==========================
-- remove_column(:spree_products, :count_on_hand)
-> 0.0013s
== 20151101180602 DropProductsCountOnHand: migrated (0.0016s) =================
== 20151101180603 SetDefaultShippingRateCost: migrating =======================
-- change_column(:spree_shipping_rates, :cost, :decimal, {:default=>0, :precision=>8, :scale=>2})
-> 0.0022s
== 20151101180603 SetDefaultShippingRateCost: migrated (0.0024s) ==============
== 20151101180604 AddNumberToStockTransfer: migrating =========================
-- remove_index(:spree_stock_transfers, :source_location_id)
-> 0.0039s
-- remove_index(:spree_stock_transfers, :destination_location_id)
-> 0.0017s
-- rename_column(:spree_stock_transfers, :reference_number, :reference)
-> 0.0046s
-- add_column(:spree_stock_transfers, :number, :string)
-> 0.0012s
-- add_index(:spree_stock_transfers, :number)
-> 0.0553s
-- add_index(:spree_stock_transfers, :source_location_id)
-> 0.0449s
-- add_index(:spree_stock_transfers, :destination_location_id)
-> 0.0447s
== 20151101180604 AddNumberToStockTransfer: migrated (0.1728s) ================
== 20151101180605 AddSkuIndexToSpreeVariants: migrating =======================
-- add_index(:spree_variants, :sku)
-> 0.0526s
== 20151101180605 AddSkuIndexToSpreeVariants: migrated (0.0527s) ==============
== 20151101180606 AddBackorderableDefaultToSpreeStockLocation: migrating ======
-- add_column(:spree_stock_locations, :backorderable_default, :boolean, {:default=>true})
-> 0.1871s
== 20151101180606 AddBackorderableDefaultToSpreeStockLocation: migrated (0.1872s)
== 20151101180607 AddPropageAllVariantsToSpreeStockLocation: migrating ========
-- add_column(:spree_stock_locations, :propagate_all_variants, :boolean, {:default=>true})
-> 0.1667s
== 20151101180607 AddPropageAllVariantsToSpreeStockLocation: migrated (0.1668s)
== 20151101180608 RenameShippingMethodsZonesToSpreeShippingMethodsZones: migrating
-- rename_table(:shipping_methods_zones, :spree_shipping_methods_zones)
-> 0.0251s
/home/bhartendu/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/associations.rb:1694: warning: already initialized constant Spree::ShippingMethod::HABTM_Zones
/home/bhartendu/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/associations.rb:1694: warning: previous definition of HABTM_Zones was here
== 20151101180608 RenameShippingMethodsZonesToSpreeShippingMethodsZones: migrated (0.0317s)
== 20151101180609 AddUserIdIndexToSpreeOrders: migrating ======================
-- add_index(:spree_orders, :user_id)
-> 0.0523s
== 20151101180609 AddUserIdIndexToSpreeOrders: migrated (0.0524s) =============
== 20151101180610 AddUpdatedAtToSpreeCountries: migrating =====================
-- add_column(:spree_countries, :updated_at, :datetime)
-> 0.0010s
== 20151101180610 AddUpdatedAtToSpreeCountries: migrated (0.0011s) ============
== 20151101180611 AddUpdatedAtToSpreeStates: migrating ========================
-- add_column(:spree_states, :updated_at, :datetime)
-> 0.0009s
== 20151101180611 AddUpdatedAtToSpreeStates: migrated (0.0012s) ===============
== 20151101180612 AddCvvResultCodeAndCvvResultMessageToSpreePayments: migrating
-- add_column(:spree_payments, :cvv_response_code, :string)
-> 0.0023s
-- add_column(:spree_payments, :cvv_response_message, :string)
-> 0.0025s
== 20151101180612 AddCvvResultCodeAndCvvResultMessageToSpreePayments: migrated (0.0054s)
== 20151101180613 AddUniqueIndexToPermalinkOnSpreeProducts: migrating =========
-- add_index("spree_products", ["permalink"], {:name=>"permalink_idx_unique", :unique=>true})
-> 0.0589s
== 20151101180613 AddUniqueIndexToPermalinkOnSpreeProducts: migrated (0.0590s)
== 20151101180614 AddUniqueIndexToOrdersShipmentsAndStockTransfers: migrating =
== 20151101180614 AddUniqueIndexToOrdersShipmentsAndStockTransfers: migrated (0.0000s)
== 20151101180615 AddDeletedAtToSpreeTaxRates: migrating ======================
-- add_column(:spree_tax_rates, :deleted_at, :datetime)
-> 0.0008s
== 20151101180615 AddDeletedAtToSpreeTaxRates: migrated (0.0009s) =============
== 20151101180616 RemoveLockVersionFromInventoryUnits: migrating ==============
-- remove_column(:spree_inventory_units, :lock_version)
-> 0.0032s
== 20151101180616 RemoveLockVersionFromInventoryUnits: migrated (0.0035s) =====
== 20151101180617 AddCostPriceToLineItem: migrating ===========================
-- add_column(:spree_line_items, :cost_price, :decimal, {:precision=>8, :scale=>2})
-> 0.0008s
== 20151101180617 AddCostPriceToLineItem: migrated (0.0009s) ==================
== 20151101180618 SetBackorderableToDefaultToFalse: migrating =================
-- change_column(:spree_stock_items, :backorderable, :boolean, {:default=>false})
-> 0.0061s
-- change_column(:spree_stock_locations, :backorderable_default, :boolean, {:default=>false})
-> 0.0035s
== 20151101180618 SetBackorderableToDefaultToFalse: migrated (0.0099s) ========
== 20151101180619 AddCreatedByIdToSpreeOrders: migrating ======================
-- add_column(:spree_orders, :created_by_id, :integer)
-> 0.0010s
== 20151101180619 AddCreatedByIdToSpreeOrders: migrated (0.0011s) =============
== 20151101180620 IndexCompletedAtOnSpreeOrders: migrating ====================
-- add_index(:spree_orders, :completed_at)
-> 0.0570s
== 20151101180620 IndexCompletedAtOnSpreeOrders: migrated (0.0571s) ===========
== 20151101180621 AddTaxCategoryIdToSpreeLineItems: migrating =================
-- add_column(:spree_line_items, :tax_category_id, :integer)
-> 0.0008s
== 20151101180621 AddTaxCategoryIdToSpreeLineItems: migrated (0.0009s) ========
== 20151101180622 MigrateTaxCategoriesToLineItems: migrating ==================
== 20151101180622 MigrateTaxCategoriesToLineItems: migrated (0.1719s) =========
== 20151101180623 DropSpreeMailMethods: migrating =============================
-- drop_table(:spree_mail_methods)
-> 0.0021s
== 20151101180623 DropSpreeMailMethods: migrated (0.0023s) ====================
== 20151101180624 SetDefaultStockLocationOnShipments: migrating ===============
== 20151101180624 SetDefaultStockLocationOnShipments: migrated (0.0013s) ======
== 20151101180625 UpgradeAdjustments: migrating ===============================
== 20151101180625 UpgradeAdjustments: migrated (0.0115s) ======================
== 20151101180626 RenameAdjustmentFields: migrating ===========================
-- remove_column(:spree_adjustments, :originator_id)
-> 0.0005s
-- remove_column(:spree_adjustments, :originator_type)
-> 0.0004s
-- column_exists?(:spree_adjustments, :order_id)
-> 0.0011s
-- add_column(:spree_adjustments, :order_id, :integer)
-> 0.0006s
== 20151101180626 RenameAdjustmentFields: migrated (0.0059s) ==================
== 20151101180627 AddAdminNameColumnToSpreeShippingMethods: migrating =========
-- add_column(:spree_shipping_methods, :admin_name, :string)
-> 0.0009s
== 20151101180627 AddAdminNameColumnToSpreeShippingMethods: migrated (0.0010s)
== 20151101180628 AddAdminNameColumnToSpreeStockLocations: migrating ==========
-- add_column(:spree_stock_locations, :admin_name, :string)
-> 0.0009s
== 20151101180628 AddAdminNameColumnToSpreeStockLocations: migrated (0.0010s) =
== 20151101180629 AddShipmentTotalToSpreeOrders: migrating ====================
-- add_column(:spree_orders, :shipment_total, :decimal, {:precision=>10, :scale=>2, :default=>0.0, :null=>false})
-> 0.2858s
== 20151101180629 AddShipmentTotalToSpreeOrders: migrated (0.2859s) ===========
== 20151101180630 ExpandOrderNumberSize: migrating ============================
-- change_column(:spree_orders, :number, :string, {:limit=>32})
-> 0.0016s
== 20151101180630 ExpandOrderNumberSize: migrated (0.0017s) ===================
== 20151101180631 RenameActivatorsToPromotions: migrating =====================
-- rename_table(:spree_activators, :spree_promotions)
-> 0.0055s
== 20151101180631 RenameActivatorsToPromotions: migrated (0.0057s) ============
== 20151101180632 AddAdjustmentTotalToLineItems: migrating ====================
-- add_column(:spree_line_items, :adjustment_total, :decimal, {:precision=>10, :scale=>2, :default=>0.0})
-> 0.2558s
== 20151101180632 AddAdjustmentTotalToLineItems: migrated (0.2559s) ===========
== 20151101180633 AddAdjustmentTotalToShipments: migrating ====================
-- add_column(:spree_shipments, :adjustment_total, :decimal, {:precision=>10, :scale=>2, :default=>0.0})
-> 0.2999s
== 20151101180633 AddAdjustmentTotalToShipments: migrated (0.3001s) ===========
== 20151101180634 AddDepthToSpreeTaxons: migrating ============================
-- add_column(:spree_taxons, :depth, :integer)
-> 0.0008s
-- Update depth on all taxons
-> 0.0038s
== 20151101180634 AddDepthToSpreeTaxons: migrated (0.1619s) ===================
== 20151101180635 AddTaxTotalToLineItemsShipmentsAndOrders: migrating =========
-- add_column(:spree_line_items, :tax_total, :decimal, {:precision=>10, :scale=>2, :default=>0.0})
-> 0.2957s
-- add_column(:spree_shipments, :tax_total, :decimal, {:precision=>10, :scale=>2, :default=>0.0})
-> 0.2556s
-- add_column(:spree_orders, :tax_total, :decimal, {:precision=>10, :scale=>2, :default=>0.0})
-> 0.3109s
== 20151101180635 AddTaxTotalToLineItemsShipmentsAndOrders: migrated (0.8628s)
== 20151101180636 AddShippingCategoryToShippingMethodsAndProducts: migrating ==
== 20151101180636 AddShippingCategoryToShippingMethodsAndProducts: migrated (0.2221s)
== 20151101180637 MigrateOldShippingCalculators: migrating ====================
== 20151101180637 MigrateOldShippingCalculators: migrated (0.0020s) ===========
== 20151101180638 AddCodeToSpreePromotionRules: migrating =====================
-- add_column(:spree_promotion_rules, :code, :string)
-> 0.0012s
== 20151101180638 AddCodeToSpreePromotionRules: migrated (0.0014s) ============
== 20151101180639 ChangeStatesRequiredForCountries: migrating =================
-- change_column_default(:spree_countries, :states_required, false)
-> 0.0027s
== 20151101180639 ChangeStatesRequiredForCountries: migrated (0.0028s) ========
== 20151101180640 AddDeletedAtToSpreeStockItems: migrating ====================
-- add_column(:spree_stock_items, :deleted_at, :datetime)
-> 0.0008s
== 20151101180640 AddDeletedAtToSpreeStockItems: migrated (0.0009s) ===========
== 20151101180641 RemovePromotionsEventNameField: migrating ===================
-- remove_column(:spree_promotions, :event_name)
-> 0.0006s
== 20151101180641 RemovePromotionsEventNameField: migrated (0.0007s) ==========
== 20151101180642 AddPromoTotalToLineItemsAndShipmentsAndOrders: migrating ====
-- add_column(:spree_line_items, :promo_total, :decimal, {:precision=>10, :scale=>2, :default=>0.0})
-> 0.2735s
-- add_column(:spree_shipments, :promo_total, :decimal, {:precision=>10, :scale=>2, :default=>0.0})
-> 0.2333s
-- add_column(:spree_orders, :promo_total, :decimal, {:precision=>10, :scale=>2, :default=>0.0})
-> 0.2893s
== 20151101180642 AddPromoTotalToLineItemsAndShipmentsAndOrders: migrated (0.7966s)
== 20151101180643 RemoveUnusedCreditCardFields: migrating =====================
-- remove_column(:spree_credit_cards, :start_month)
-> 0.0005s
-- remove_column(:spree_credit_cards, :start_year)
-> 0.0004s
-- remove_column(:spree_credit_cards, :issue_number)
-> 0.0004s
== 20151101180643 RemoveUnusedCreditCardFields: migrated (0.0051s) ============
== 20151101180644 AddTrackInventoryToVariant: migrating =======================
-- add_column(:spree_variants, :track_inventory, :boolean, {:default=>true})
-> 0.2915s
== 20151101180644 AddTrackInventoryToVariant: migrated (0.2916s) ==============
== 20151101180645 AddTaxCategoryToVariants: migrating =========================
-- add_column(:spree_variants, :tax_category_id, :integer)
-> 0.0016s
-- add_index(:spree_variants, :tax_category_id)
-> 0.0522s
== 20151101180645 AddTaxCategoryToVariants: migrated (0.0543s) ================
== 20151101180646 AddChannelToSpreeOrders: migrating ==========================
-- add_column(:spree_orders, :channel, :string, {:default=>"spree"})
-> 0.4455s
== 20151101180646 AddChannelToSpreeOrders: migrated (0.4456s) =================
== 20151101180647 AddIncludedToAdjustments: migrating =========================
-- add_column(:spree_adjustments, :included, :boolean, {:default=>false})
-> 0.2051s
== 20151101180647 AddIncludedToAdjustments: migrated (0.2054s) ================
== 20151101180648 RenameTaxTotalFields: migrating =============================
-- rename_column(:spree_line_items, :tax_total, :additional_tax_total)
-> 0.0045s
-- rename_column(:spree_shipments, :tax_total, :additional_tax_total)
-> 0.0022s
-- rename_column(:spree_orders, :tax_total, :additional_tax_total)
-> 0.0024s
-- add_column(:spree_line_items, :included_tax_total, :decimal, {:precision=>10, :scale=>2, :null=>false, :default=>0.0})
-> 0.3091s
-- add_column(:spree_shipments, :included_tax_total, :decimal, {:precision=>10, :scale=>2, :null=>false, :default=>0.0})
-> 0.3223s
-- add_column(:spree_orders, :included_tax_total, :decimal, {:precision=>10, :scale=>2, :null=>false, :default=>0.0})
-> 0.2892s
== 20151101180648 RenameTaxTotalFields: migrated (0.9305s) ====================
== 20151101180649 AddLineItemIdToSpreeInventoryUnits: migrating ===============
-- column_exists?("spree_inventory_units", :line_item_id)
-> 0.0012s
-- add_column(:spree_inventory_units, :line_item_id, :integer)
-> 0.0006s
-- add_index(:spree_inventory_units, :line_item_id)
-> 0.0474s
== 20151101180649 AddLineItemIdToSpreeInventoryUnits: migrated (0.0512s) ======
== 20151101180650 AddUpdatedAtToVariants: migrating ===========================
-- add_column(:spree_variants, :updated_at, :datetime)
-> 0.0007s
== 20151101180650 AddUpdatedAtToVariants: migrated (0.0008s) ==================
== 20151101180651 AddPositionToClassifications: migrating =====================
-- add_column(:spree_products_taxons, :position, :integer)
-> 0.0009s
== 20151101180651 AddPositionToClassifications: migrated (0.0010s) ============
== 20151101180652 CreateSpreeOrdersPromotions: migrating ======================
-- create_table(:spree_orders_promotions, {:id=>false})
-> 0.0020s
== 20151101180652 CreateSpreeOrdersPromotions: migrated (0.0024s) =============
== 20151101180653 UniqueShippingMethodCategories: migrating ===================
-- Find duplicate Spree::ShippingMethodCategory records
-- Delete all but the oldest duplicate Spree::ShippingMethodCategory record
-- Add unique index to spree_shipping_method_categories for ["shipping_category_id", "shipping_method_id"]
-- add_index("spree_shipping_method_categories", ["shipping_category_id", "shipping_method_id"], {:unique=>true, :name=>"unique_spree_shipping_method_categories"})
-> 0.0554s
-- Remove redundant simple index on spree_shipping_method_categories
-- remove_index("spree_shipping_method_categories", {:name=>"index_spree_shipping_method_categories_on_shipping_category_id"})
-> 0.0022s
== 20151101180653 UniqueShippingMethodCategories: migrated (0.0745s) ==========
== 20151101180654 AddItemCountToSpreeOrders: migrating ========================
-- add_column(:spree_orders, :item_count, :integer, {:default=>0})
-> 0.3089s
== 20151101180654 AddItemCountToSpreeOrders: migrated (0.3090s) ===============
== 20151101180655 RemoveValueTypeFromSpreePreferences: migrating ==============
-- remove_column(:spree_preferences, :value_type)
-> 0.0007s
== 20151101180655 RemoveValueTypeFromSpreePreferences: migrated (0.0008s) =====
== 20151101180656 RenamePermalinkToSlugForProducts: migrating =================
-- rename_column(:spree_products, :permalink, :slug)
-> 0.0037s
== 20151101180656 RenamePermalinkToSlugForProducts: migrated (0.0038s) ========
== 20151101180657 AddIndexToVariantIdAndCurrencyOnPrices: migrating ===========
-- add_index(:spree_prices, [:variant_id, :currency])
-> 0.0582s
== 20151101180657 AddIndexToVariantIdAndCurrencyOnPrices: migrated (0.0583s) ==
== 20151101180658 RenameActivatorIdInRulesAndActionsToPromotionId: migrating ==
-- rename_column(:spree_promotion_rules, :activator_id, :promotion_id)
-> 0.0055s
-- rename_column(:spree_promotion_actions, :activator_id, :promotion_id)
-> 0.0017s
== 20151101180658 RenameActivatorIdInRulesAndActionsToPromotionId: migrated (0.0076s)
== 20151101180659 AddDeletedAtToSpreePrices: migrating ========================
-- add_column(:spree_prices, :deleted_at, :datetime)
-> 0.0006s
== 20151101180659 AddDeletedAtToSpreePrices: migrated (0.0007s) ===============
== 20151101180660 AddApproverIdAndApprovedAtToOrders: migrating ===============
-- add_column(:spree_orders, :approver_id, :integer)
-> 0.0025s
-- add_column(:spree_orders, :approved_at, :datetime)
-> 0.0037s
== 20151101180660 AddApproverIdAndApprovedAtToOrders: migrated (0.0065s) ======
== 20151101180661 AddConfirmationDeliveredToSpreeOrders: migrating ============
-- add_column(:spree_orders, :confirmation_delivered, :boolean, {:default=>false})
-> 0.2930s
== 20151101180661 AddConfirmationDeliveredToSpreeOrders: migrated (0.2931s) ===
== 20151101180662 AddAutoCaptureToPaymentMethods: migrating ===================
-- add_column(:spree_payment_methods, :auto_capture, :boolean)
-> 0.0021s
== 20151101180662 AddAutoCaptureToPaymentMethods: migrated (0.0022s) ==========
== 20151101180663 CreateSpreePaymentCaptureEvents: migrating ==================
-- create_table(:spree_payment_capture_events)
-> 0.0497s
-- add_index(:spree_payment_capture_events, :payment_id)
-> 0.0691s
== 20151101180663 CreateSpreePaymentCaptureEvents: migrated (0.1190s) =========
== 20151101180664 AddUncapturedAmountToPayments: migrating ====================
-- add_column(:spree_payments, :uncaptured_amount, :decimal, {:precision=>10, :scale=>2, :default=>0.0})
-> 0.1656s
== 20151101180664 AddUncapturedAmountToPayments: migrated (0.1657s) ===========
== 20151101180665 DefaultVariantWeightToZero: migrating =======================
-- change_column(:spree_variants, :weight, :decimal, {:precision=>8, :scale=>2, :default=>0.0})
-> 0.0026s
== 20151101180665 DefaultVariantWeightToZero: migrated (0.0045s) ==============
== 20151101180666 AddTaxCategoryIdToShippingMethods: migrating ================
-- add_column(:spree_shipping_methods, :tax_category_id, :integer)
-> 0.0008s
== 20151101180666 AddTaxCategoryIdToShippingMethods: migrated (0.0009s) =======
== 20151101180667 AddTaxRateIdToShippingRates: migrating ======================
-- add_column(:spree_shipping_rates, :tax_rate_id, :integer)
-> 0.0008s
== 20151101180667 AddTaxRateIdToShippingRates: migrated (0.0009s) =============
== 20151101180668 AddPreTaxAmountToLineItemsAndShipments: migrating ===========
-- add_column(:spree_line_items, :pre_tax_amount, :decimal, {:precision=>8, :scale=>2})
-> 0.0008s
-- add_column(:spree_shipments, :pre_tax_amount, :decimal, {:precision=>8, :scale=>2})
-> 0.0005s
== 20151101180668 AddPreTaxAmountToLineItemsAndShipments: migrated (0.0015s) ==
== 20151101180669 AddMoreIndexes: migrating ===================================
-- add_index(:spree_payment_methods, [:id, :type])
-> 0.0558s
-- add_index(:spree_calculators, [:id, :type])
-> 0.0555s
-- add_index(:spree_calculators, [:calculable_id, :calculable_type])
-> 0.0445s
-- add_index(:spree_payments, :payment_method_id)
-> 0.0668s
-- add_index(:spree_promotion_actions, [:id, :type])
-> 0.0444s
-- add_index(:spree_promotion_actions, :promotion_id)
-> 0.0556s
-- add_index(:spree_promotions, [:id, :type])
-> 0.0557s
-- add_index(:spree_option_values, :option_type_id)
-> 0.0775s
-- add_index(:spree_shipments, :stock_location_id)
-> 0.0446s
== 20151101180669 AddMoreIndexes: migrated (0.5013s) ==========================
== 20151101180670 AddConsideredRiskyToOrders: migrating =======================
-- add_column(:spree_orders, :considered_risky, :boolean, {:default=>false})
-> 0.2515s
== 20151101180670 AddConsideredRiskyToOrders: migrated (0.2516s) ==============
== 20151101180671 AddPreferenceStoreToEverything: migrating ===================
-- add_column(:spree_calculators, :preferences, :text)
-> 0.0006s
-- add_column(:spree_gateways, :preferences, :text)
-> 0.0004s
-- add_column(:spree_payment_methods, :preferences, :text)
-> 0.0005s
-- add_column(:spree_promotion_rules, :preferences, :text)
-> 0.0005s
== 20151101180671 AddPreferenceStoreToEverything: migrated (0.0023s) ==========
== 20151101180672 AddUserIdToSpreeCreditCards: migrating ======================
-- add_column(:spree_credit_cards, :user_id, :integer)
-> 0.0007s
-- add_index(:spree_credit_cards, :user_id)
-> 0.0461s
-- add_column(:spree_credit_cards, :payment_method_id, :integer)
-> 0.0005s
-- add_index(:spree_credit_cards, :payment_method_id)
-> 0.0549s
== 20151101180672 AddUserIdToSpreeCreditCards: migrated (0.1110s) =============
== 20151101180673 MigrateOldPreferences: migrating ============================
== 20151101180673 MigrateOldPreferences: migrated (0.0217s) ===================
== 20151101180674 CreateSpreeStores: migrating ================================
-- table_exists?(:spree_stores)
-> 0.0008s
-- create_table(:spree_stores)
-> 0.1230s
== 20151101180674 CreateSpreeStores: migrated (0.1239s) =======================
== 20151101180675 CreateStoreFromPreferences: migrating =======================
== 20151101180675 CreateStoreFromPreferences: migrated (0.0355s) ==============
== 20151101180676 AddTimestampsToSpreeAssets: migrating =======================
-- add_column(:spree_assets, :created_at, :datetime)
-> 0.0009s
-- add_column(:spree_assets, :updated_at, :datetime)
-> 0.0005s
== 20151101180676 AddTimestampsToSpreeAssets: migrated (0.0016s) ==============
== 20151101180677 CreateSpreeTaxonsPromotionRules: migrating ==================
-- create_table(:spree_taxons_promotion_rules)
-> 0.2006s
== 20151101180677 CreateSpreeTaxonsPromotionRules: migrated (0.2008s) =========
== 20151101180678 AddAdditionalStoreFields: migrating =========================
-- column_exists?(:spree_stores, :code)
-> 0.0026s
-- column_exists?(:spree_stores, :default)
-> 0.0029s
-- add_index(:spree_stores, :code)
-> 0.0521s
-- add_index(:spree_stores, :default)
-> 0.0931s
== 20151101180678 AddAdditionalStoreFields: migrated (0.1514s) ================
== 20151101180679 AddManyMissingIndexes: migrating ============================
-- add_index(:spree_adjustments, [:adjustable_id, :adjustable_type])
-> 0.0610s
-- add_index(:spree_adjustments, :eligible)
-> 0.0777s
-- add_index(:spree_adjustments, :order_id)
-> 0.0557s
-- add_index(:spree_promotions, :code)
-> 0.0672s
-- add_index(:spree_promotions, :expires_at)
-> 0.1562s
-- add_index(:spree_states, :country_id)
-> 0.1115s
-- add_index(:spree_stock_items, :deleted_at)
-> 0.0770s
-- add_index(:spree_option_types, :position)
-> 0.0773s
-- add_index(:spree_option_values, :position)
-> 0.0770s
-- add_index(:spree_product_option_types, :option_type_id)
-> 0.0454s
-- add_index(:spree_product_option_types, :product_id)
-> 0.0777s
-- add_index(:spree_products_taxons, :position)
-> 0.0776s
-- add_index(:spree_promotions, :starts_at)
-> 0.0667s
-- add_index(:spree_stores, :url)
-> 0.0556s
== 20151101180679 AddManyMissingIndexes: migrated (1.0852s) ===================
== 20151101180680 CorrectSomePolymorphicIndexAndAddMoreMissing: migrating =====
-- add_index(:spree_addresses, :country_id)
-> 0.0687s
-- add_index(:spree_addresses, :state_id)
-> 0.0556s
-- remove_index(:spree_adjustments, [:source_type, :source_id])
-> 0.0029s
-- add_index(:spree_adjustments, [:source_id, :source_type])
-> 0.0906s
-- add_index(:spree_credit_cards, :address_id)
-> 0.0727s
-- add_index(:spree_gateways, :active)
-> 0.0445s
-- add_index(:spree_gateways, :test_mode)
-> 0.0570s
-- add_index(:spree_inventory_units, :return_authorization_id)
-> 0.0784s
-- add_index(:spree_line_items, :tax_category_id)
-> 0.0437s
-- add_index(:spree_log_entries, [:source_id, :source_type])
-> 0.0446s
-- add_index(:spree_orders, :approver_id)
-> 0.0556s
-- add_index(:spree_orders, :bill_address_id)
-> 0.0556s
-- add_index(:spree_orders, :confirmation_delivered)
-> 0.0885s
-- add_index(:spree_orders, :considered_risky)
-> 0.0555s
-- add_index(:spree_orders, :created_by_id)
-> 0.0555s
-- add_index(:spree_orders, :ship_address_id)
-> 0.0556s
-- add_index(:spree_orders, :shipping_method_id)
-> 0.0555s
-- add_index(:spree_orders_promotions, [:order_id, :promotion_id])
-> 0.0555s
-- add_index(:spree_payments, [:source_id, :source_type])
-> 0.0556s
-- add_index(:spree_prices, :deleted_at)
-> 0.0667s
-- add_index(:spree_product_option_types, :position)
-> 0.0553s
-- add_index(:spree_product_properties, :position)
-> 0.0449s
-- add_index(:spree_product_properties, :property_id)
-> 0.0459s
-- add_index(:spree_products, :shipping_category_id)
-> 0.0667s
-- add_index(:spree_products, :tax_category_id)
-> 0.0555s
-- add_index(:spree_promotion_action_line_items, :promotion_action_id)
-> 0.0555s
-- add_index(:spree_promotion_action_line_items, :variant_id)
-> 0.0556s
-- add_index(:spree_promotion_rules, :promotion_id)
-> 0.0556s
-- add_index(:spree_promotions, :advertise)
-> 0.0665s
-- add_index(:spree_return_authorizations, :number)
-> 0.0555s
-- add_index(:spree_return_authorizations, :order_id)
-> 0.0446s
-- add_index(:spree_return_authorizations, :stock_location_id)
-> 0.0446s
-- add_index(:spree_shipments, :address_id)
-> 0.0665s
-- add_index(:spree_shipping_methods, :deleted_at)
-> 0.0556s
-- add_index(:spree_shipping_methods, :tax_category_id)
-> 0.0555s
-- add_index(:spree_shipping_rates, :selected)
-> 0.0556s
-- add_index(:spree_shipping_rates, :tax_rate_id)
-> 0.0551s
-- add_index(:spree_state_changes, [:stateful_id, :stateful_type])
-> 0.0556s
-- add_index(:spree_state_changes, :user_id)
-> 0.0557s
-- add_index(:spree_stock_items, :backorderable)
-> 0.0678s
-- add_index(:spree_stock_locations, :active)
-> 0.0779s
-- add_index(:spree_stock_locations, :backorderable_default)
-> 0.0556s
-- add_index(:spree_stock_locations, :country_id)
-> 0.0556s
-- add_index(:spree_stock_locations, :propagate_all_variants)
-> 0.0556s
-- add_index(:spree_stock_locations, :state_id)
-> 0.0555s
-- add_index(:spree_tax_categories, :deleted_at)
-> 0.0555s
-- add_index(:spree_tax_categories, :is_default)
-> 0.0445s
-- add_index(:spree_tax_rates, :deleted_at)
-> 0.0830s
-- add_index(:spree_tax_rates, :included_in_price)
-> 0.0502s
-- add_index(:spree_tax_rates, :show_rate_in_label)
-> 0.0445s
-- add_index(:spree_tax_rates, :tax_category_id)
-> 0.0555s
-- add_index(:spree_tax_rates, :zone_id)
-> 0.0555s
-- add_index(:spree_taxonomies, :position)
-> 0.0776s
-- add_index(:spree_taxons, :position)
-> 0.0556s
-- add_index(:spree_trackers, :active)
-> 0.0556s
-- add_index(:spree_variants, :deleted_at)
-> 0.0556s
-- add_index(:spree_variants, :is_master)
-> 0.0899s
-- add_index(:spree_variants, :position)
-> 0.0561s
-- add_index(:spree_variants, :track_inventory)
-> 0.0664s
-- add_index(:spree_zone_members, :zone_id)
-> 0.0555s
-- add_index(:spree_zone_members, [:zoneable_id, :zoneable_type])
-> 0.0445s
-- add_index(:spree_zones, :default_tax)
-> 0.0445s
== 20151101180680 CorrectSomePolymorphicIndexAndAddMoreMissing: migrated (3.5696s)
== 20151101180681 AddUserIdCreatedByIdIndexToOrder: migrating =================
-- add_index(:spree_orders, [:user_id, :created_by_id])
-> 0.0631s
== 20151101180681 AddUserIdCreatedByIdIndexToOrder: migrated (0.0632s) ========
== 20151101180682 ChangeSpreePriceAmountPrecision: migrating ==================
-- change_column(:spree_prices, :amount, :decimal, {:precision=>10, :scale=>2})
-> 0.0020s
-- change_column(:spree_line_items, :price, :decimal, {:precision=>10, :scale=>2})
-> 0.0012s
-- change_column(:spree_line_items, :cost_price, :decimal, {:precision=>10, :scale=>2})
-> 0.0007s
-- change_column(:spree_variants, :cost_price, :decimal, {:precision=>10, :scale=>2})
-> 0.0004s
== 20151101180682 ChangeSpreePriceAmountPrecision: migrated (0.0049s) =========
== 20151101180683 AddTokenToSpreeOrders: migrating ============================
-- add_column(:spree_orders, :guest_token, :string)
-> 0.0010s
== 20151101180683 AddTokenToSpreeOrders: migrated (0.0011s) ===================
== 20151101180684 MoveOrderTokenFromTokenizedPermission: migrating ============
-- execute("UPDATE spree_orders\n SET guest_token = spree_tokenized_permissions.token\n FROM spree_tokenized_permissions\n WHERE spree_tokenized_permissions.permissable_id = spree_orders.id\n AND spree_tokenized_permissions.permissable_type = 'Spree::Order'")
-> 0.0033s
== 20151101180684 MoveOrderTokenFromTokenizedPermission: migrated (0.0038s) ===
== 20151101180685 SetShipmentTotalForUsersUpgrading: migrating ================
== 20151101180685 SetShipmentTotalForUsersUpgrading: migrated (0.0024s) =======
== 20151101180686 DropCreditCardFirstNameAndLastName: migrating ===============
-- remove_column(:spree_credit_cards, :first_name, :string)
-> 0.0005s
-- remove_column(:spree_credit_cards, :last_name, :string)
-> 0.0003s
== 20151101180686 DropCreditCardFirstNameAndLastName: migrated (0.0010s) ======
== 20151101180687 AddDeletedAtToSpreePromotionActions: migrating ==============
-- add_column(:spree_promotion_actions, :deleted_at, :datetime)
-> 0.0007s
-- add_index(:spree_promotion_actions, :deleted_at)
-> 0.0609s
== 20151101180687 AddDeletedAtToSpreePromotionActions: migrated (0.0619s) =====
== 20151101180688 RemoveUncapturedAmountFromSpreePayments: migrating ==========
-- remove_column(:spree_payments, :uncaptured_amount)
-> 0.0007s
== 20151101180688 RemoveUncapturedAmountFromSpreePayments: migrated (0.0008s) =
== 20151101180689 CreateSpreeRefunds: migrating ===============================
-- create_table(:spree_refunds)
-> 0.2251s
== 20151101180689 CreateSpreeRefunds: migrated (0.2252s) ======================
== 20151101180690 CreateSpreeReturnAuthorizationInventoryUnit: migrating ======
-- create_table(:spree_return_authorization_inventory_units)
-> 0.0735s
== 20151101180690 CreateSpreeReturnAuthorizationInventoryUnit: migrated (0.0737s)
== 20151101180691 RenameReturnAuthorizationInventoryUnitToReturnItems: migrating
-- rename_table(:spree_return_authorization_inventory_units, :spree_return_items)
-> 0.0064s
== 20151101180691 RenameReturnAuthorizationInventoryUnitToReturnItems: migrated (0.0066s)
== 20151101180692 BackfillLineItemPreTaxAmount: migrating =====================
-- execute(" UPDATE spree_line_items\n SET pre_tax_amount = ((price * quantity) + promo_total) - included_tax_total\n WHERE pre_tax_amount IS NULL;\n")
-> 0.0010s
== 20151101180692 BackfillLineItemPreTaxAmount: migrated (0.0011s) ============
== 20151101180693 RecreateSpreeReturnAuthorizations: migrating ================
-- drop_table(:spree_return_authorizations)
-> 0.0016s
-- remove_column(:spree_inventory_units, :return_authorization_id)
-> 0.0005s
-- create_table(:spree_return_authorizations)
-> 0.1764s
== 20151101180693 RecreateSpreeReturnAuthorizations: migrated (0.2111s) =======
== 20151101180694 AddAmountFieldsToReturnItems: migrating =====================
-- add_column(:spree_return_items, :pre_tax_amount, :decimal, {:precision=>10, :scale=>2, :default=>0.0, :null=>false})
-> 0.0885s
-- add_column(:spree_return_items, :included_tax_total, :decimal, {:precision=>10, :scale=>2, :default=>0.0, :null=>false})
-> 0.1001s
-- add_column(:spree_return_items, :additional_tax_total, :decimal, {:precision=>10, :scale=>2, :default=>0.0, :null=>false})
-> 0.0674s
== 20151101180694 AddAmountFieldsToReturnItems: migrated (0.2566s) ============
== 20151101180695 DropReturnAuthorizationAmount: migrating ====================
-- remove_column(:spree_return_authorizations, :amount)
-> 0.0011s
== 20151101180695 DropReturnAuthorizationAmount: migrated (0.0013s) ===========
== 20151101180696 CreateSpreeReturnAuthorizationReasons: migrating ============
-- create_table(:spree_return_authorization_reasons)
-> 0.1064s
-- add_column(:spree_return_authorizations, :return_authorization_reason_id, :integer)
-> 0.0009s
-- add_index(:spree_return_authorizations, :return_authorization_reason_id, {:name=>"index_return_authorizations_on_return_authorization_reason_id"})
-> 0.0861s
== 20151101180696 CreateSpreeReturnAuthorizationReasons: migrated (0.2519s) ===
== 20151101180697 CreateSpreeRefundReasons: migrating =========================
-- create_table(:spree_refund_reasons)
-> 0.1304s
-- add_column(:spree_refunds, :refund_reason_id, :integer)
-> 0.0008s
-- add_index(:spree_refunds, :refund_reason_id, {:name=>"index_refunds_on_refund_reason_id"})
-> 0.0549s
== 20151101180697 CreateSpreeRefundReasons: migrated (0.1864s) ================
== 20151101180698 RenameReturnAuthorizationReason: migrating ==================
-- rename_column(:spree_return_authorizations, :reason, :memo)
-> 0.0020s
== 20151101180698 RenameReturnAuthorizationReason: migrated (0.0021s) =========
== 20151101180699 CreateSpreePromotionCategories: migrating ===================
-- create_table(:spree_promotion_categories)
-> 0.1433s
-- add_column(:spree_promotions, :promotion_category_id, :integer)
-> 0.0007s
-- add_index(:spree_promotions, :promotion_category_id)
-> 0.0437s
== 20151101180699 CreateSpreePromotionCategories: migrated (0.1880s) ==========
== 20151101180700 DropReceivedAtOnReturnItems: migrating ======================
-- remove_column(:spree_return_items, :received_at)
-> 0.0006s
== 20151101180700 DropReceivedAtOnReturnItems: migrated (0.0007s) =============
== 20151101180701 AddReceptionAndAcceptanceStatusToReturnItems: migrating =====
-- add_column(:spree_return_items, :reception_status, :string)
-> 0.0695s
-- add_column(:spree_return_items, :acceptance_status, :string)
-> 0.0005s
== 20151101180701 AddReceptionAndAcceptanceStatusToReturnItems: migrated (0.0702s)
== 20151101180702 CreateDefaultRefundReason: migrating ========================
== 20151101180702 CreateDefaultRefundReason: migrated (0.0237s) ===============
== 20151101180703 AddDefaultToSpreeStockLocations: migrating ==================
-- column_exists?(:spree_stock_locations, :default)
-> 0.0016s
== 20151101180703 AddDefaultToSpreeStockLocations: migrated (0.0017s) =========
== 20151101180704 CreateSpreeCustomerReturns: migrating =======================
-- create_table(:spree_customer_returns)
-> 0.1138s
== 20151101180704 CreateSpreeCustomerReturns: migrated (0.1139s) ==============
== 20151101180705 AddCustomerReturnIdToReturnItem: migrating ==================
-- add_column(:spree_return_items, :customer_return_id, :integer)
-> 0.0027s
-- add_index(:spree_return_items, :customer_return_id, {:name=>"index_return_items_on_customer_return_id"})
-> 0.0768s
== 20151101180705 AddCustomerReturnIdToReturnItem: migrated (0.0802s) =========
== 20151101180706 CreateFriendlyIdSlugs: migrating ============================
-- create_table(:friendly_id_slugs)
-> 0.1697s
-- add_index(:friendly_id_slugs, :sluggable_id)
-> 0.0554s
-- add_index(:friendly_id_slugs, [:slug, :sluggable_type])
-> 0.0556s
-- add_index(:friendly_id_slugs, [:slug, :sluggable_type, :scope], {:unique=>true})
-> 0.0790s
-- add_index(:friendly_id_slugs, :sluggable_type)
-> 0.0760s
== 20151101180706 CreateFriendlyIdSlugs: migrated (0.4366s) ===================
== 20151101180707 RenameSpreeRefundReturnAuthorizationId: migrating ===========
-- rename_column(:spree_refunds, :return_authorization_id, :customer_return_id)
-> 0.0020s
== 20151101180707 RenameSpreeRefundReturnAuthorizationId: migrated (0.0021s) ==
== 20151101180708 IncreaseReturnItemPreTaxAmountPrecision: migrating ==========
-- change_column(:spree_return_items, :pre_tax_amount, :decimal, {:precision=>12, :scale=>4, :default=>0.0, :null=>false})
-> 0.2132s
-- change_column(:spree_return_items, :included_tax_total, :decimal, {:precision=>12, :scale=>4, :default=>0.0, :null=>false})
-> 0.1862s
-- change_column(:spree_return_items, :additional_tax_total, :decimal, {:precision=>12, :scale=>4, :default=>0.0, :null=>false})
-> 0.2034s
== 20151101180708 IncreaseReturnItemPreTaxAmountPrecision: migrated (0.6032s) =
== 20151101180709 CopyProductSlugsToSlugHistory: migrating ====================
== 20151101180709 CopyProductSlugsToSlugHistory: migrated (0.0019s) ===========
== 20151101180710 CreateSpreeReimbursements: migrating ========================
-- create_table(:spree_reimbursements)
-> 0.1271s
-- add_index(:spree_reimbursements, :customer_return_id)
-> 0.0559s
-- add_index(:spree_reimbursements, :order_id)
-> 0.0879s
-- remove_column(:spree_refunds, :customer_return_id, :integer)
-> 0.0005s
-- add_column(:spree_refunds, :reimbursement_id, :integer)
-> 0.0005s
-- add_column(:spree_return_items, :reimbursement_id, :integer)
-> 0.0006s
== 20151101180710 CreateSpreeReimbursements: migrated (0.2733s) ===============
== 20151101180711 AddPromotionableToSpreeProducts: migrating ==================
-- add_column(:spree_products, :promotionable, :boolean, {:default=>true})
-> 0.5867s
== 20151101180711 AddPromotionableToSpreeProducts: migrated (0.5869s) =========
== 20151101180712 AddExchangeInventoryUnitForeignKeys: migrating ==============
-- add_column(:spree_return_items, :exchange_inventory_unit_id, :integer)
-> 0.0021s
-- add_index(:spree_return_items, :exchange_inventory_unit_id)
-> 0.0930s
== 20151101180712 AddExchangeInventoryUnitForeignKeys: migrated (0.0955s) =====
== 20151101180713 AddAcceptanceStatusErrorsToReturnItem: migrating ============
-- add_column(:spree_return_items, :acceptance_status_errors, :text)
-> 0.0009s
== 20151101180713 AddAcceptanceStatusErrorsToReturnItem: migrated (0.0010s) ===
== 20151101180714 CreateSpreeReimbursementTypes: migrating ====================
-- create_table(:spree_reimbursement_types)
-> 0.1256s
-- add_column(:spree_return_items, :preferred_reimbursement_type_id, :integer)
-> 0.0010s
-- add_column(:spree_return_items, :override_reimbursement_type_id, :integer)
-> 0.0005s
== 20151101180714 CreateSpreeReimbursementTypes: migrated (0.1465s) ===========
== 20151101180715 AddDefaultToShipmentCost: migrating =========================
-- change_column(:spree_shipments, :cost, :decimal, {:precision=>10, :scale=>2, :default=>0.0})
-> 0.0029s
== 20151101180715 AddDefaultToShipmentCost: migrated (0.0044s) ================
== 20151101180716 AddDefaultToSpreeCreditCards: migrating =====================
-- add_column(:spree_credit_cards, :default, :boolean, {:null=>false, :default=>false})
-> 0.3052s
== 20151101180716 AddDefaultToSpreeCreditCards: migrated (0.3054s) ============
== 20151101180717 MakeExistingCreditCardsDefault: migrating ===================
== 20151101180717 MakeExistingCreditCardsDefault: migrated (0.0066s) ==========
== 20151101180718 AddTypeToReimbursementType: migrating =======================
-- add_column(:spree_reimbursement_types, :type, :string)
-> 0.0007s
-- add_index(:spree_reimbursement_types, :type)
-> 0.0518s
== 20151101180718 AddTypeToReimbursementType: migrated (0.0792s) ==============
== 20151101180719 CreateSpreeReimbursementCredits: migrating ==================
-- create_table(:spree_reimbursement_credits)
-> 0.1092s
== 20151101180719 CreateSpreeReimbursementCredits: migrated (0.1093s) =========
== 20151101180720 AddMetaTitleToSpreeProducts: migrating ======================
-- change_table(:spree_products)
-> 0.0014s
== 20151101180720 AddMetaTitleToSpreeProducts: migrated (0.0016s) =============
== 20151101180721 AddKindToZone: migrating ====================================
-- add_column(:spree_zones, :kind, :string)
-> 0.0009s
-- add_index(:spree_zones, :kind)
-> 0.3108s
== 20151101180721 AddKindToZone: migrated (0.3384s) ===========================
== 20151101180722 AddCodeToSpreeTaxCategories: migrating ======================
-- add_column(:spree_tax_categories, :tax_code, :string)
-> 0.0008s
== 20151101180722 AddCodeToSpreeTaxCategories: migrated (0.0009s) =============
== 20151101180723 DefaultPreTaxAmountShouldBeZero: migrating ==================
-- change_column(:spree_line_items, :pre_tax_amount, :decimal, {:precision=>8, :scale=>2, :default=>0})
-> 0.0028s
-- change_column(:spree_shipments, :pre_tax_amount, :decimal, {:precision=>8, :scale=>2, :default=>0})
-> 0.0026s
== 20151101180723 DefaultPreTaxAmountShouldBeZero: migrated (0.0057s) =========
== 20151101180724 AddCodeToSpreeShippingMethods: migrating ====================
-- add_column(:spree_shipping_methods, :code, :string)
-> 0.0008s
== 20151101180724 AddCodeToSpreeShippingMethods: migrated (0.0009s) ===========
== 20151101180725 AddCancelAuditFieldsToSpreeOrders: migrating ================
-- add_column(:spree_orders, :canceled_at, :datetime)
-> 0.0017s
-- add_column(:spree_orders, :canceler_id, :integer)
-> 0.0006s
== 20151101180725 AddCancelAuditFieldsToSpreeOrders: migrated (0.0025s) =======
== 20151101180726 AddStoreIdToOrders: migrating ===============================
-- add_column(:spree_orders, :store_id, :integer)
-> 0.0009s
== 20151101180726 AddStoreIdToOrders: migrated (0.0184s) ======================
== 20151101180727 CreateSpreeTaxonsPrototypes: migrating ======================
-- create_table(:spree_taxons_prototypes)
-> 0.1696s
== 20151101180727 CreateSpreeTaxonsPrototypes: migrated (0.1698s) =============
== 20151101180728 AddStateLockVersionToOrder: migrating =======================
-- add_column(:spree_orders, :state_lock_version, :integer, {:default=>0, :null=>false})
-> 0.7922s
== 20151101180728 AddStateLockVersionToOrder: migrated (0.7924s) ==============
== 20151101180729 AddCounterCacheFromSpreeVariantsToSpreeStockItems: migrating
-- add_column(:spree_variants, :stock_items_count, :integer, {:default=>0, :null=>false})
-> 0.5439s
== 20151101180729 AddCounterCacheFromSpreeVariantsToSpreeStockItems: migrated (0.5461s)
== 20151101180730 FixAdjustmentOrderPresence: migrating =======================
-- Fixing adjustments without direct order reference
== 20151101180730 FixAdjustmentOrderPresence: migrated (0.0034s) ==============
== 20151101180731 UpdateClassificationsPositions: migrating ===================
== 20151101180731 UpdateClassificationsPositions: migrated (0.0014s) ==========
== 20151101180732 AddGuestTokenIndexToSpreeOrders: migrating ==================
-- add_index(:spree_orders, :guest_token)
-> 0.0744s
== 20151101180732 AddGuestTokenIndexToSpreeOrders: migrated (0.0745s) =========
== 20151101180733 RemoveTokenPermissionsTable: migrating ======================
-- drop_table(:spree_tokenized_permissions)
-> 0.0016s
== 20151101180733 RemoveTokenPermissionsTable: migrated (0.0017s) =============
== 20151101180734 RemoveExtraProductsSlugIndex: migrating =====================
-- remove_index(:spree_products, {:name=>:permalink_idx_unique})
-> 0.0018s
== 20151101180734 RemoveExtraProductsSlugIndex: migrated (0.0019s) ============
== 20151101180735 UpdateProductSlugIndex: migrating ===========================
-- index_exists?(:spree_products, :slug)
-> 0.0036s
-- remove_index(:spree_products, :slug)
-> 0.0015s
-- add_index(:spree_products, :slug, {:unique=>true})
-> 0.0699s
== 20151101180735 UpdateProductSlugIndex: migrated (0.0752s) ==================
== 20151101180736 RenameIdentifierToNumberForPayment: migrating ===============
-- rename_column(:spree_payments, :identifier, :number)
-> 0.0029s
== 20151101180736 RenameIdentifierToNumberForPayment: migrated (0.0030s) ======
== 20151101180737 RemoveEnvironmentFromPaymentMethod: migrating ===============
-- remove_column(:spree_payment_methods, :environment)
-> 0.0006s
== 20151101180737 RemoveEnvironmentFromPaymentMethod: migrated (0.0022s) ======
== 20151101180738 AddResellableToReturnItems: migrating =======================
-- add_column(:spree_return_items, :resellable, :boolean, {:default=>true, :null=>false})
-> 0.2775s
== 20151101180738 AddResellableToReturnItems: migrated (0.2776s) ==============
== 20151101180739 AddCodeToSpreePromotionCategories: migrating ================
-- add_column(:spree_promotion_categories, :code, :string)
-> 0.0020s
== 20151101180739 AddCodeToSpreePromotionCategories: migrated (0.0022s) =======
== 20151101180740 RemoveEnvironmentFromTracker: migrating =====================
-- remove_column(:spree_trackers, :environment)
-> 0.0004s
== 20151101180740 RemoveEnvironmentFromTracker: migrated (0.0068s) ============
== 20151101180741 RemoveSpreeConfigurations: migrating ========================
-- drop_table("spree_configurations")
-> 0.0018s
== 20151101180741 RemoveSpreeConfigurations: migrated (0.0019s) ===============
== 20151101180742 AddIndexToSpreeStockItemsVariantId: migrating ===============
-- index_exists?(:spree_stock_items, :variant_id)
-> 0.0027s
-- add_index(:spree_stock_items, :variant_id)
-> 0.0775s
== 20151101180742 AddIndexToSpreeStockItemsVariantId: migrated (0.0803s) ======
== 20151101180743 EnsurePaymentsHaveNumbers: migrating ========================
-- index_exists?(:spree_payments, :number)
-> 0.0073s
-- add_index(:spree_payments, :number)
-> 0.0723s
== 20151101180743 EnsurePaymentsHaveNumbers: migrated (0.1225s) ===============
== 20151101180744 FixAdjustmentOrderId: migrating =============================
-- Populate order_id from adjustable_id where appropriate
-- execute("UPDATE spree_adjustments SET order_id = adjustable_id WHERE adjustable_type = 'Spree::Order' ;")
-> 0.0005s
-- execute("UPDATE spree_adjustments SET order_id = (SELECT order_id FROM spree_line_items WHERE spree_line_items.id = spree_adjustments.adjustable_id) WHERE adjustable_type = 'Spree::LineItem'")
-> 0.0007s
-- Fix schema for spree_adjustments order_id column
-- change_table(:spree_adjustments)
-> 0.0013s
== 20151101180744 FixAdjustmentOrderId: migrated (0.0031s) ====================
== 20151101180745 AddDeletedAtToFriendlyIdSlugs: migrating ====================
-- add_column(:friendly_id_slugs, :deleted_at, :datetime)
-> 0.0007s
-- add_index(:friendly_id_slugs, :deleted_at)
-> 0.0703s
== 20151101180745 AddDeletedAtToFriendlyIdSlugs: migrated (0.0712s) ===========
== 20151101180746 IncreaseScaleOnPreTaxAmounts: migrating =====================
-- execute(" UPDATE spree_shipments\n SET pre_tax_amount = (cost + promo_total) - included_tax_total\n WHERE pre_tax_amount IS NULL;\n")
-> 0.0014s
-- change_column(:spree_line_items, :pre_tax_amount, :decimal, {:precision=>12, :scale=>4, :default=>0.0, :null=>false})
-> 0.3061s
-- change_column(:spree_shipments, :pre_tax_amount, :decimal, {:precision=>12, :scale=>4, :default=>0.0, :null=>false})
-> 0.3672s
== 20151101180746 IncreaseScaleOnPreTaxAmounts: migrated (0.6752s) ============
== 20151101180747 EnableActsAsParanoidOnCalculators: migrating ================
-- add_column(:spree_calculators, :deleted_at, :datetime)
-> 0.0007s
-- add_index(:spree_calculators, :deleted_at)
-> 0.0606s
== 20151101180747 EnableActsAsParanoidOnCalculators: migrated (0.0615s) =======
== 20151101180748 AddApiKeyToSpreeUsers: migrating ============================
-- add_column(:spree_users, :api_key, :string, {:limit=>40})
-> 0.0015s
== 20151101180748 AddApiKeyToSpreeUsers: migrated (0.0018s) ===================
== 20151101180749 ResizeApiKeyField: migrating ================================
-- change_column(:spree_users, :api_key, :string, {:limit=>48})
-> 0.0018s
== 20151101180749 ResizeApiKeyField: migrated (0.0021s) =======================
== 20151101180750 RenameApiKeyToSpreeApiKey: migrating ========================
-- rename_column(:spree_users, :api_key, :spree_api_key)
-> 0.0024s
== 20151101180750 RenameApiKeyToSpreeApiKey: migrated (0.0026s) ===============
== 20151101180751 AddIndexToUserSpreeApiKey: migrating ========================
-- add_index(:spree_users, :spree_api_key)
-> 0.0759s
== 20151101180751 AddIndexToUserSpreeApiKey: migrated (0.0761s) ===============
== 20151101180752 CreateSkrillTransactions: migrating =========================
-- create_table(:spree_skrill_transactions)
-> 0.3126s
== 20151101180752 CreateSkrillTransactions: migrated (0.3127s) ================
== 20151101180753 UpdateBraintreePaymentMethodType: migrating =================
== 20151101180753 UpdateBraintreePaymentMethodType: migrated (0.0053s) ========
== 20151101180754 UpdateStripePaymentMethodType: migrating ====================
== 20151101180754 UpdateStripePaymentMethodType: migrated (0.0015s) ===========
== 20151101180755 UpdateBalancedPaymentMethodType: migrating ==================
== 20151101180755 UpdateBalancedPaymentMethodType: migrated (0.0041s) =========
== 20151101180756 UpdatePaypalPaymentMethodType: migrating ====================
== 20151101180756 UpdatePaypalPaymentMethodType: migrated (0.0019s) ===========
== 20151101180757 MigrateStripePreferences: migrating =========================
== 20151101180757 MigrateStripePreferences: migrated (0.0076s) ================
== 20151101180758 CreateUsers: migrating ======================================
-- table_exists?("spree_users")
-> 0.0012s
== 20151101180758 CreateUsers: migrated (0.0013s) =============================
== 20151101180759 RenameColumnsForDevise: migrating ===========================
-- column_exists?(:spree_users, :password_salt)
-> 0.0043s
== 20151101180759 RenameColumnsForDevise: migrated (0.0046s) ==================
== 20151101180760 ConvertUserRememberField: migrating =========================
-- remove_column(:spree_users, :remember_created_at)
-> 0.0006s
-- add_column(:spree_users, :remember_created_at, :datetime)
-> 0.0008s
== 20151101180760 ConvertUserRememberField: migrated (0.0015s) ================
== 20151101180761 AddResetPasswordSentAtToSpreeUsers: migrating ===============
== 20151101180761 AddResetPasswordSentAtToSpreeUsers: migrated (0.0055s) ======
== 20151101180762 MakeUsersEmailIndexUnique: migrating ========================
-- add_index("spree_users", ["email"], {:name=>"email_idx_unique", :unique=>true})
-> 0.0710s
== 20151101180762 MakeUsersEmailIndexUnique: migrated (0.0711s) ===============
== 20151101180763 AddDeletedAtToUsers: migrating ==============================
-- add_column(:spree_users, :deleted_at, :datetime)
-> 0.0028s
-- add_index(:spree_users, :deleted_at)
-> 0.0826s
== 20151101180763 AddDeletedAtToUsers: migrated (0.0856s) =====================
== 20151101180764 AddConfirmableToUsers: migrating ============================
-- add_column(:spree_users, :confirmation_token, :string)
-> 0.0008s
-- add_column(:spree_users, :confirmed_at, :datetime)
-> 0.0007s
-- add_column(:spree_users, :confirmation_sent_at, :datetime)
-> 0.0013s
== 20151101180764 AddConfirmableToUsers: migrated (0.0031s) ===================
== 20160620111916 CreateSpreeStoreCredits: migrating ==========================
-- create_table(:spree_store_credits)
-> 0.1284s
-- add_index(:spree_store_credits, :deleted_at)
-> 0.0554s
-- add_index(:spree_store_credits, :user_id)
-> 0.0886s
-- add_index(:spree_store_credits, :type_id)
-> 0.0555s
-- add_index(:spree_store_credits, [:originator_id, :originator_type], {:name=>:spree_store_credits_originator})
-> 0.0554s
== 20160620111916 CreateSpreeStoreCredits: migrated (0.3839s) =================
== 20160620111917 CreateSpreeStoreCreditCategories: migrating =================
-- create_table(:spree_store_credit_categories)
-> 0.1318s
== 20160620111917 CreateSpreeStoreCreditCategories: migrated (0.1319s) ========
== 20160620111918 CreateSpreeStoreCreditEvents: migrating =====================
-- create_table(:spree_store_credit_events)
-> 0.1552s
-- add_index(:spree_store_credit_events, :store_credit_id)
-> 0.0678s
-- add_index(:spree_store_credit_events, [:originator_id, :originator_type], {:name=>:spree_store_credit_events_originator})
-> 0.0554s
== 20160620111918 CreateSpreeStoreCreditEvents: migrated (0.2788s) ============
== 20160620111919 CreateSpreeStoreCreditTypes: migrating ======================
-- create_table(:spree_store_credit_types)
-> 0.1263s
-- add_index(:spree_store_credit_types, :priority)
-> 0.0554s
== 20160620111919 CreateSpreeStoreCreditTypes: migrated (0.1819s) =============
== 20160620111920 AddMissingIndexes: migrating ================================
-- add_index(:spree_promotion_rules_users, [:user_id, :promotion_rule_id], {:name=>"index_promotion_rules_users_on_user_id_and_promotion_rule_id"})
-> 0.0719s
-- add_index(:spree_products_promotion_rules, [:promotion_rule_id, :product_id], {:name=>"index_products_promotion_rules_on_promotion_rule_and_product"})
-> 0.0555s
-- add_index(:spree_orders, :canceler_id)
-> 0.0555s
-- add_index(:spree_orders, :store_id)
-> 0.0795s
-- add_index(:spree_orders_promotions, [:promotion_id, :order_id])
-> 0.0755s
-- add_index(:spree_properties_prototypes, :prototype_id)
-> 0.0556s
-- add_index(:spree_properties_prototypes, [:prototype_id, :property_id], {:name=>"index_properties_prototypes_on_prototype_and_property"})
-> 0.0664s
-- add_index(:spree_taxons_prototypes, [:prototype_id, :taxon_id])
-> 0.0886s
-- add_index(:spree_option_types_prototypes, :prototype_id)
-> 0.0555s
-- add_index(:spree_option_types_prototypes, [:prototype_id, :option_type_id], {:name=>"index_option_types_prototypes_on_prototype_and_option_type"})
-> 0.0555s
-- add_index(:spree_option_values_variants, [:option_value_id, :variant_id], {:name=>"index_option_values_variants_on_option_value_and_variant"})
-> 0.0754s
== 20160620111920 AddMissingIndexes: migrated (0.7362s) =======================
== 20160620111921 RemoveDuplicatedIndexesFromMultiColumns: migrating ==========
-- remove_index(:spree_adjustments, {:name=>"index_adjustments_on_order_id"})
-> 0.0044s
-- remove_index(:spree_option_types_prototypes, :prototype_id)
-> 0.0039s
-- add_index(:spree_option_types_prototypes, :option_type_id)
-> 0.0689s
-- remove_index(:spree_option_values_variants, {:name=>"index_option_values_variants_on_option_value_and_variant"})
-> 0.0018s
-- remove_index(:spree_option_values_variants, :variant_id)
-> 0.0016s
-- add_index(:spree_option_values_variants, :option_value_id)
-> 0.0647s
-- remove_index(:spree_orders, :user_id)
-> 0.0018s
-- remove_index(:spree_orders_promotions, [:order_id, :promotion_id])
-> 0.0016s
-- add_index(:spree_orders_promotions, :order_id)
-> 0.0519s
-- remove_index(:spree_products_promotion_rules, {:name=>"index_products_promotion_rules_on_promotion_rule_id"})
-> 0.0017s
-- remove_index(:spree_promotion_rules_users, {:name=>"index_promotion_rules_users_on_user_id"})
-> 0.0016s
-- remove_index(:spree_properties_prototypes, :prototype_id)
-> 0.0046s
-- remove_index(:spree_stock_items, :stock_location_id)
-> 0.0055s
-- remove_index(:spree_taxons_prototypes, :prototype_id)
-> 0.0027s
== 20160620111921 RemoveDuplicatedIndexesFromMultiColumns: migrated (0.2193s) =
== 20160620111922 RemoveUserIndexFromSpreeStateChanges: migrating =============
-- index_exists?(:spree_state_changes, :user_id)
-> 0.0055s
-- remove_index(:spree_state_changes, :user_id)
-> 0.0022s
== 20160620111922 RemoveUserIndexFromSpreeStateChanges: migrated (0.0079s) ====
== 20160620111923 AddPositionToSpreePaymentMethods: migrating =================
-- add_column(:spree_payment_methods, :position, :integer, {:default=>0})
-> 0.1839s
== 20160620111923 AddPositionToSpreePaymentMethods: migrated (0.1840s) ========
== 20160620111924 AddTaxableAdjustmentTotalToLineItem: migrating ==============
-- add_column(:spree_line_items, :taxable_adjustment_total, :decimal, {:precision=>10, :scale=>2, :default=>0.0, :null=>false})
-> 0.3070s
-- add_column(:spree_line_items, :non_taxable_adjustment_total, :decimal, {:precision=>10, :scale=>2, :default=>0.0, :null=>false})
-> 0.3108s
-- add_column(:spree_shipments, :taxable_adjustment_total, :decimal, {:precision=>10, :scale=>2, :default=>0.0, :null=>false})
-> 0.3811s
-- add_column(:spree_shipments, :non_taxable_adjustment_total, :decimal, {:precision=>10, :scale=>2, :default=>0.0, :null=>false})
-> 0.3866s
-- add_column(:spree_orders, :taxable_adjustment_total, :decimal, {:precision=>10, :scale=>2, :default=>0.0, :null=>false})
-> 0.8799s
-- add_column(:spree_orders, :non_taxable_adjustment_total, :decimal, {:precision=>10, :scale=>2, :default=>0.0, :null=>false})
-> 0.8803s
== 20160620111924 AddTaxableAdjustmentTotalToLineItem: migrated (3.1465s) =====
== 20160620111925 MigratePaymentMethodsDisplay: migrating =====================
-- change_column(:spree_payment_methods, :display_on, :string, {:default=>"both"})
-> 0.0023s
== 20160620111925 MigratePaymentMethodsDisplay: migrated (0.0043s) ============
== 20160620111926 SpreePaymentMethodStoreCredits: migrating ===================
== 20160620111926 SpreePaymentMethodStoreCredits: migrated (0.0336s) ==========
== 20160620111927 RenameHasAndBelongsToAssociationsToModelNames: migrating ====
-- rename_table("spree_option_types_prototypes", "spree_option_type_prototypes")
-> 0.0103s
-- rename_table("spree_option_values_variants", "spree_option_value_variants")
-> 0.0094s
-- rename_table("spree_orders_promotions", "spree_order_promotions")
-> 0.0063s
-- rename_table("spree_products_promotion_rules", "spree_product_promotion_rules")
-> 0.0063s
-- rename_table("spree_taxons_promotion_rules", "spree_promotion_rule_taxons")
-> 0.0056s
-- rename_table("spree_promotion_rules_users", "spree_promotion_rule_users")
-> 0.0116s
-- rename_table("spree_properties_prototypes", "spree_property_prototypes")
-> 0.0059s
-- rename_table("spree_taxons_prototypes", "spree_prototype_taxons")
-> 0.0054s
-- rename_table("spree_roles_users", "spree_role_users")
-> 0.0066s
-- rename_table("spree_shipping_methods_zones", "spree_shipping_method_zones")
-> 0.0050s
== 20160620111927 RenameHasAndBelongsToAssociationsToModelNames: migrated (0.0737s)
== 20160620111928 SpreeStoreCreditTypes: migrating ============================
== 20160620111928 SpreeStoreCreditTypes: migrated (0.0171s) ===================
== 20160620111929 AddDiscontinuedToProductsAndVariants: migrating =============
-- add_column(:spree_products, :discontinue_on, :datetime, {:after=>:available_on})
-> 0.0008s
-- add_column(:spree_variants, :discontinue_on, :datetime, {:after=>:deleted_at})
-> 0.0005s
-- add_index(:spree_products, :discontinue_on)
-> 0.0739s
-- add_index(:spree_variants, :discontinue_on)
-> 0.0555s
Warning: This migration changes the meaning of 'deleted'. Before this change, 'deleted' meant products that were no longer being sold in your store. After this change, you can only delete a product or variant if it has not already been sold to a customer (a model-level check enforces this). Instead, you should use the new field 'discontinue_on' for products or variants which were sold in the past but no longer for sale. This fixes bugs when other objects are attached to deleted products and variants. (Even though acts_as_paranoid gem keeps the records in the database, most associations are automatically scoped to exclude the deleted records.) In thew meaning of 'deleted,' you can still use the delete function on products & variants which are *truly user-error mistakes*, specifically before an order has been placed or the items have gone on sale. You also must use the soft-delete function (which still works after this change) to clean up slug (product) and SKU (variant) duplicates. Otherwise, you should generally over ever need to discontinue products.
Data Fix: We will attempt to reverse engineer the old meaning of 'deleted' (no longer for sale) to the new database field 'discontinue_on'. However, since Slugs and SKUs cannot be duplicated on Products and Variants, we cannot gaurantee this to be foolproof if you have deteled Products and Variants that have duplicate Slugs or SKUs in non-deleted records. In these cases, we recommend you use the additional rake task to clean up your old records (see rake db:fix_orphan_line_items). If you have such records, this migration will leave them in place, preferring the non-deleted records over the deleted ones. However, since old line items will still be associated with deleted objects, you will still the bugs in your app until you run:
rake db:fix_orphan_line_items
We will print out a report of the data we are fixing now:
== 20160620111929 AddDiscontinuedToProductsAndVariants: migrated (0.1352s) ====
== 20160620111930 RemoveShippingMethodIdFromSpreeOrders: migrating ============
-- column_exists?(:spree_orders, :shipping_method_id, :integer)
-> 0.0022s
-- remove_column(:spree_orders, :shipping_method_id, :integer)
-> 0.0008s
== 20160620111930 RemoveShippingMethodIdFromSpreeOrders: migrated (0.0031s) ===
== 20160620111931 AddIdColumnToEarlierHabtmTables: migrating ==================
-- add_column(:spree_option_type_prototypes, :id, :primary_key)
-> 0.2409s
-- add_column(:spree_option_value_variants, :id, :primary_key)
-> 0.2446s
-- add_column(:spree_order_promotions, :id, :primary_key)
-> 0.2128s
-- add_column(:spree_product_promotion_rules, :id, :primary_key)
-> 0.1677s
-- add_column(:spree_promotion_rule_users, :id, :primary_key)
-> 0.2222s
-- add_column(:spree_property_prototypes, :id, :primary_key)
-> 0.1664s
-- add_column(:spree_role_users, :id, :primary_key)
-> 0.2130s
-- add_column(:spree_shipping_method_zones, :id, :primary_key)
-> 0.0781s
== 20160620111931 AddIdColumnToEarlierHabtmTables: migrated (1.5467s) =========
== 20160620111932 AddIndexes: migrating =======================================
-- add_index(:spree_assets, :position)
-> 0.0507s
-- add_index(:spree_option_types, :name)
-> 0.0555s
-- add_index(:spree_option_values, :name)
-> 0.0555s
-- add_index(:spree_prices, :variant_id)
-> 0.0554s
-- add_index(:spree_properties, :name)
-> 0.0762s
-- add_index(:spree_roles, :name)
-> 0.0787s
-- add_index(:spree_shipping_categories, :name)
-> 0.0665s
-- add_index(:spree_taxons, :lft)
-> 0.0555s
-- add_index(:spree_taxons, :rgt)
-> 0.0666s
-- add_index(:spree_taxons, :name)
-> 0.0555s
== 20160620111932 AddIndexes: migrated (0.6172s) ==============================
== 20160620111933 AddMissingIndicesOnUser: migrating ==========================
-- index_exists?(:spree_users, :bill_address_id)
-> 0.0045s
-- add_index(:spree_users, :bill_address_id)
-> 0.0753s
-- index_exists?(:spree_users, :ship_address_id)
-> 0.0037s
-- add_index(:spree_users, :ship_address_id)
-> 0.0631s
== 20160620111933 AddMissingIndicesOnUser: migrated (0.1473s) =================
[Spree WARNING] Missing migrations.
[Spree WARNING] add_missing_indexes_on_spree_tables from spree is missing.
[Spree WARNING] Run `bundle exec rake railties:install:migrations` to get them.
Seeds /home/bhartendu/fasthardware/db/seeds/001_spree.rb ...
loading ruby /home/bhartendu/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/spree_core-3.1.2/db/default/spree/countries.rb
loading ruby /home/bhartendu/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/spree_core-3.1.2/db/default/spree/default_reimbursement_type.rb
loading ruby /home/bhartendu/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/spree_core-3.1.2/db/default/spree/roles.rb
loading ruby /home/bhartendu/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/spree_core-3.1.2/db/default/spree/states.rb
loading ruby /home/bhartendu/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/spree_core-3.1.2/db/default/spree/stores.rb
loading ruby /home/bhartendu/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/spree_core-3.1.2/db/default/spree/zones.rb
loading ruby /home/bhartendu/.rbenv/versions/2.3.3/lib/ruby/gems/2.3.0/gems/spree_auth_devise-3.1.0/db/default/users.rb
Create the admin user (press enter for defaults).
Email [[email protected]]: [email protected]
Password [spree123]:
Done!
Load sample data? (y/n)
y
== Loading Spree sample data ==
[Spree WARNING] Missing migrations.
[Spree WARNING] add_missing_indexes_on_spree_tables from spree is missing.
[Spree WARNING] Run `bundle exec rake railties:install:migrations` to get them.
Running via Spring preloader in process 11093
Loaded Payment Methods samples
Loaded Shipping Categories samples
Loaded Shipping Methods samples
Loaded Tax Categories samples
Loaded Tax Rates samples
Loaded Products samples
Loaded Taxonomies samples
Loaded Taxons samples
Loaded Option Types samples
Loaded Option Values samples
Loaded Product Option Types samples
Loaded Product Properties samples
Loaded Prototypes samples
Loaded Variants samples
Loaded Stock samples
Loading images for Ruby on Rails Tote
Loading images for Ruby on Rails Bag
Loading images for Ruby on Rails Baseball Jersey
Loading images for Ruby on Rails Jr. Spaghetti
Loading images for Ruby on Rails Mug
Loading images for Ruby on Rails Ringer T-Shirt
Loading images for Ruby on Rails Stein
Loading images for Apache Baseball Jersey
Loading images for Ruby Baseball Jersey
Loading images for Spree Bag
Loading images for Spree Tote
Loading images for Spree Ringer T-Shirt
Loading images for Spree Jr. Spaghetti
Loading images for Spree Baseball Jersey
Loading images for Spree Stein
Loading images for Spree Mug
Loaded Assets samples
Loaded Addresses samples
Loaded Orders samples
Loaded Adjustments samples
Loaded Payments samples
Loaded Store Credit Categories samples
== Removing old logs and tempfiles ==
bhartendu@bhartendu-PC:~/fasthardware/bin$ cd ..
bhartendu@bhartendu-PC:~/fasthardware$ foreman start -f Procfile.dev
06:59:09 rails.1 | started with pid 12878
06:59:09 rails-assets.1 | started with pid 12879
06:59:09 rails-server-assets.1 | started with pid 12880
06:59:09 rails-spec.1 | started with pid 12882
06:59:09 rails-assets.1 | rm: cannot remove 'app/assets/webpack/*': No such file or directory
06:59:11 rails-spec.1 |
06:59:11 rails-spec.1 | > [email protected] build:test:client /home/bhartendu/fasthardware
06:59:11 rails-spec.1 | > (cd client && npm run build:test:client --silent)
06:59:11 rails-spec.1 |
06:59:11 rails-assets.1 |
06:59:11 rails-assets.1 | > [email protected] build:dev:client /home/bhartendu/fasthardware
06:59:11 rails-assets.1 | > (cd client && npm run build:dev:client --silent)
06:59:11 rails-assets.1 |
06:59:11 rails-server-assets.1 |
06:59:11 rails-server-assets.1 | > [email protected] build:dev:server /home/bhartendu/fasthardware
06:59:11 rails-server-assets.1 | > (cd client && npm run build:dev:server --silent)
06:59:11 rails-server-assets.1 |
06:59:14 rails-spec.1 | Webpack dev build for Rails
06:59:17 rails.1 | => Booting Puma
06:59:17 rails.1 | => Rails 4.2.7.1 application starting in development on http://localhost:3000
06:59:17 rails.1 | => Run `rails server -h` for more startup options
06:59:17 rails.1 | => Ctrl-C to shutdown server
06:59:19 rails-assets.1 | Webpack dev build for Rails
06:59:19 rails-assets.1 | => 🔥 Webpack development server is running on port 3500
06:59:20 rails.1 | [Spree WARNING] Missing migrations.
06:59:20 rails.1 | [Spree WARNING] add_missing_indexes_on_spree_tables from spree is missing.
06:59:20 rails.1 | [Spree WARNING] Run `bundle exec rake railties:install:migrations` to get them.
06:59:20 rails.1 |
06:59:22 rails.1 | [12878] Puma starting in cluster mode...
06:59:22 rails.1 | [12878] * Version 3.6.0 (ruby 2.3.3-p222), codename: Sleepy Sunday Serenity
06:59:22 rails.1 | [12878] * Min threads: 5, max threads: 5
06:59:22 rails.1 | [12878] * Environment: development
06:59:22 rails.1 | [12878] * Process workers: 2
06:59:22 rails.1 | [12878] * Preloading application
06:59:22 rails.1 | [12878] * Listening on tcp://localhost:3000
06:59:22 rails.1 | [12878] Use Ctrl-C to stop
06:59:22 rails.1 | [12878] - Worker 0 (pid: 13011) booted, phase: 0
06:59:22 rails.1 | [12878] - Worker 1 (pid: 13013) booted, phase: 0
06:59:38 rails-server-assets.1 | Hash: 828646f2d6f2e194f8cc
06:59:38 rails-server-assets.1 | Version: webpack 1.14.0
06:59:38 rails-server-assets.1 | Time: 24560ms
06:59:38 rails-server-assets.1 | Asset Size Chunks Chunk Names
06:59:38 rails-server-assets.1 | server-bundle.js 2.46 MB 0 [emitted] main
06:59:38 rails-server-assets.1 | [0] multi main 52 bytes {0} [built]
06:59:38 rails-server-assets.1 | [554] ./img/noimage ^\.\/.*\.png$ 225 bytes {0} [built]
06:59:38 rails-server-assets.1 | + 1323 hidden modules
07:00:25 rails-spec.1 | Hash: 05e21296be3f20900080
07:00:25 rails-spec.1 | Version: webpack 1.14.0
07:00:25 rails-spec.1 | Time: 70724ms
07:00:25 rails-spec.1 | Asset Size Chunks Chunk Names
07:00:25 rails-spec.1 | 8f4541b15e629f667c25f920c160ebdf.png 14.3 kB [emitted]
07:00:25 rails-spec.1 | ecb4572a5e478b107dfcb60c16a7eefa.ttf 107 kB [emitted]
07:00:25 rails-spec.1 | 448c34a56d699c29117adc64c43affeb.woff2 18 kB [emitted]
07:00:25 rails-spec.1 | fa2772327f55d8198301fdb8bcfc8158.woff 23.4 kB [emitted]
07:00:25 rails-spec.1 | e18bbf611f2a2e43afc071aa2f4e1512.ttf 45.4 kB [emitted]
07:00:25 rails-spec.1 | 89889688147bd7575d6327160d64e760.svg 109 kB [emitted]
07:00:25 rails-spec.1 | f4769f9bdb7466be65088239c12046d1.eot 20.1 kB [emitted]
07:00:25 rails-spec.1 | 8f4541b15e629f667c25f920c160ebdf.jpg 14.3 kB [emitted]
07:00:25 rails-spec.1 | app-bundle.js 3.97 MB 0 [emitted] app
07:00:25 rails-spec.1 | vendor-bundle.js 3.82 MB 1 [emitted] vendor
07:00:25 rails-spec.1 | app-bundle.css 112 bytes 0 [emitted] app
07:00:25 rails-spec.1 | vendor-bundle.css 150 kB 1 [emitted] vendor
07:00:25 rails-spec.1 | [0] multi app 28 bytes {0} [built]
07:00:25 rails-spec.1 | [0] multi vendor 112 bytes {1} [built]
07:00:25 rails-spec.1 | [257] ./img/noimage ^\.\/.*\.png$ 225 bytes {0} [built]
07:00:25 rails-spec.1 | + 1408 hidden modules
07:00:25 rails-spec.1 | Child extract-text-webpack-plugin:
07:00:25 rails-spec.1 | + 2 hidden modules
07:00:25 rails-spec.1 | Child extract-text-webpack-plugin:
07:00:25 rails-spec.1 | + 2 hidden modules
07:00:25 rails-spec.1 | Child extract-text-webpack-plugin:
07:00:25 rails-spec.1 | Asset Size Chunks Chunk Names
07:00:25 rails-spec.1 | ecb4572a5e478b107dfcb60c16a7eefa.ttf 107 kB [emitted]
07:00:25 rails-spec.1 | f4769f9bdb7466be65088239c12046d1.eot 20.1 kB [emitted]
07:00:25 rails-spec.1 | 448c34a56d699c29117adc64c43affeb.woff2 18 kB [emitted]
07:00:25 rails-spec.1 | fa2772327f55d8198301fdb8bcfc8158.woff 23.4 kB [emitted]
07:00:25 rails-spec.1 | e18bbf611f2a2e43afc071aa2f4e1512.ttf 45.4 kB [emitted]
07:00:25 rails-spec.1 | 89889688147bd7575d6327160d64e760.svg 109 kB [emitted]
07:00:25 rails-spec.1 | 8f4541b15e629f667c25f920c160ebdf.png 14.3 kB [emitted]
07:00:25 rails-spec.1 | 8f4541b15e629f667c25f920c160ebdf.jpg 14.3 kB [emitted]
07:00:25 rails-spec.1 | + 10 hidden modules
07:00:29 rails-assets.1 | Time: 70292ms
07:00:29 rails-assets.1 | Asset Size Chunks Chunk Names
07:00:29 rails-assets.1 | ecb4572a5e478b107dfcb60c16a7eefa.ttf 107 kB [emitted]
07:00:29 rails-assets.1 | f4769f9bdb7466be65088239c12046d1.eot 20.1 kB [emitted]
07:00:29 rails-assets.1 | 448c34a56d699c29117adc64c43affeb.woff2 18 kB [emitted]
07:00:29 rails-assets.1 | fa2772327f55d8198301fdb8bcfc8158.woff 23.4 kB [emitted]
07:00:29 rails-assets.1 | e18bbf611f2a2e43afc071aa2f4e1512.ttf 45.4 kB [emitted]
07:00:29 rails-assets.1 | 89889688147bd7575d6327160d64e760.svg 109 kB [emitted]
07:00:29 rails-assets.1 | 8f4541b15e629f667c25f920c160ebdf.png 14.3 kB [emitted]
07:00:29 rails-assets.1 | 8f4541b15e629f667c25f920c160ebdf.jpg 14.3 kB [emitted]
07:00:29 rails-assets.1 | app-bundle.js 4.91 MB 0 [emitted] app
07:00:29 rails-assets.1 | vendor-bundle.js 5.01 MB 1 [emitted] vendor
07:00:29 rails-assets.1 | webpack: bundle is now VALID.