rails_marketplace 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -20
- data/README.rdoc +2 -2
- data/Rakefile +37 -37
- data/app/assets/javascripts/rails_marketplace/application.js +46 -46
- data/app/assets/javascripts/rails_marketplace/catalog.coffee +3 -3
- data/app/assets/javascripts/rails_marketplace/flash.js +6 -6
- data/app/assets/javascripts/rails_marketplace/footermanifest.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/autocomplete/countries.js +266 -266
- data/app/assets/javascripts/rails_marketplace/js/autocomplete/jquery.autocomplete.js +986 -986
- data/app/assets/javascripts/rails_marketplace/js/bootstrap.min.js +6 -6
- data/app/assets/javascripts/rails_marketplace/js/calendar/fullcalendar.min.js +8 -8
- data/app/assets/javascripts/rails_marketplace/js/chartjs/chart.min.js +13 -13
- data/app/assets/javascripts/rails_marketplace/js/colorpicker/bootstrap-colorpicker.min.js +1087 -1087
- data/app/assets/javascripts/rails_marketplace/js/colorpicker/docs.js +17 -17
- data/app/assets/javascripts/rails_marketplace/js/cropping/cropper.min.js +9 -9
- data/app/assets/javascripts/rails_marketplace/js/cropping/main.js +321 -321
- data/app/assets/javascripts/rails_marketplace/js/cropping/main2.js +160 -160
- data/app/assets/javascripts/rails_marketplace/js/custom.js +379 -379
- data/app/assets/javascripts/rails_marketplace/js/datatables/buttons.bootstrap.min.css +1 -1
- data/app/assets/javascripts/rails_marketplace/js/datatables/buttons.bootstrap.min.js +6 -6
- data/app/assets/javascripts/rails_marketplace/js/datatables/buttons.html5.min.js +22 -22
- data/app/assets/javascripts/rails_marketplace/js/datatables/buttons.print.min.js +4 -4
- data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.bootstrap.js +8 -8
- data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.buttons.min.js +36 -36
- data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.fixedHeader.min.js +17 -17
- data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.keyTable.min.js +18 -18
- data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.responsive.min.js +25 -25
- data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.scroller.min.js +26 -26
- data/app/assets/javascripts/rails_marketplace/js/datatables/fixedHeader.bootstrap.min.css +1 -1
- data/app/assets/javascripts/rails_marketplace/js/datatables/jquery.dataTables.min.css +333 -333
- data/app/assets/javascripts/rails_marketplace/js/datatables/jquery.dataTables.min.js +166 -166
- data/app/assets/javascripts/rails_marketplace/js/datatables/json/scroller-demo.json +2501 -2501
- data/app/assets/javascripts/rails_marketplace/js/datatables/jszip.min.js +14 -14
- data/app/assets/javascripts/rails_marketplace/js/datatables/pdfmake.min.js +21 -21
- data/app/assets/javascripts/rails_marketplace/js/datatables/responsive.bootstrap.min.css +1 -1
- data/app/assets/javascripts/rails_marketplace/js/datatables/responsive.bootstrap.min.js +7 -7
- data/app/assets/javascripts/rails_marketplace/js/datatables/scroller.bootstrap.min.css +1 -1
- data/app/assets/javascripts/rails_marketplace/js/dropzone/dropzone.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/easypie/jquery.easypiechart.min.js +9 -9
- data/app/assets/javascripts/rails_marketplace/js/echart/echarts-all.js +35 -35
- data/app/assets/javascripts/rails_marketplace/js/echart/green.js +212 -212
- data/app/assets/javascripts/rails_marketplace/js/editor/bootstrap-wysiwyg.js +200 -200
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-apollo.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-basic.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-clj.js +18 -18
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-css.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-dart.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-erlang.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-go.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-hs.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-lisp.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-llvm.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-lua.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-matlab.js +6 -6
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-ml.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-mumps.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-n.js +4 -4
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-pascal.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-proto.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-r.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-rd.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-scala.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-sql.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-tcl.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-tex.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-vb.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-vhdl.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-wiki.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-xq.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-yaml.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/prettify.js +30 -30
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/run_prettify.js +34 -34
- data/app/assets/javascripts/rails_marketplace/js/editor/external/jquery.hotkeys.js +99 -99
- data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.orderBars.js +200 -200
- data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.pie.js +820 -820
- data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.resize.js +57 -57
- data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.stack.js +188 -188
- data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.tooltip.min.js +11 -11
- data/app/assets/javascripts/rails_marketplace/js/gauge/gauge.min.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/gauge/gauge_demo.js +21 -21
- data/app/assets/javascripts/rails_marketplace/js/icheck/icheck.min.js +11 -11
- data/app/assets/javascripts/rails_marketplace/js/input_mask/jquery.inputmask.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/jquery.min.js +5 -5
- data/app/assets/javascripts/rails_marketplace/js/maps/gdp-data.js +184 -184
- data/app/assets/javascripts/rails_marketplace/js/maps/jquery-jvectormap-2.0.3.min.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/moment/moment.min.js +6 -6
- data/app/assets/javascripts/rails_marketplace/js/moris/example.js +127 -127
- data/app/assets/javascripts/rails_marketplace/js/moris/morris.min.js +7 -7
- data/app/assets/javascripts/rails_marketplace/js/moris/raphael-min.js +11 -11
- data/app/assets/javascripts/rails_marketplace/js/notify/pnotify.buttons.js +132 -132
- data/app/assets/javascripts/rails_marketplace/js/notify/pnotify.nonblock.js +151 -151
- data/app/assets/javascripts/rails_marketplace/js/nprogress.js +476 -476
- data/app/assets/javascripts/rails_marketplace/js/pace/pace.min.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/parsley/parsley.min.js +8 -8
- data/app/assets/javascripts/rails_marketplace/js/progressbar/bootstrap-progressbar.min.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/select/select2.full.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/sidebar/classie.js +80 -80
- data/app/assets/javascripts/rails_marketplace/js/sidebar/component.css +569 -569
- data/app/assets/javascripts/rails_marketplace/js/sidebar/modernizr.custom.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/sidebar/sidebarEffects.js +62 -62
- data/app/assets/javascripts/rails_marketplace/js/skycons/skycons.min.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/sparkline/jquery.sparkline.min.js +4 -4
- data/app/assets/javascripts/rails_marketplace/js/textarea/autosize.min.js +5 -5
- data/app/assets/javascripts/rails_marketplace/less/custom.css +6355 -6355
- data/app/assets/javascripts/rails_marketplace/marketplace.js +17 -17
- data/app/assets/javascripts/rails_marketplace/welcome.coffee +3 -3
- data/app/assets/stylesheets/rails_marketplace/application.scss +30 -30
- data/app/assets/stylesheets/rails_marketplace/catalog.scss +131 -131
- data/app/assets/stylesheets/rails_marketplace/css/animate.min.css +11 -11
- data/app/assets/stylesheets/rails_marketplace/css/bootstrap.min.css +5 -5
- data/app/assets/stylesheets/rails_marketplace/css/calendar/fullcalendar.css +1116 -1116
- data/app/assets/stylesheets/rails_marketplace/css/calendar/fullcalendar.min.css +4 -4
- data/app/assets/stylesheets/rails_marketplace/css/calendar/fullcalendar.print.css +208 -208
- data/app/assets/stylesheets/rails_marketplace/css/colorpicker/bootstrap-colorpicker.min.css +8 -8
- data/app/assets/stylesheets/rails_marketplace/css/custom.css +5347 -5347
- data/app/assets/stylesheets/rails_marketplace/css/datatables/css/demo_page.css +103 -103
- data/app/assets/stylesheets/rails_marketplace/css/datatables/css/demo_table.css +258 -258
- data/app/assets/stylesheets/rails_marketplace/css/datatables/css/demo_table_jui.css +500 -500
- data/app/assets/stylesheets/rails_marketplace/css/datatables/css/jquery.dataTables.css +221 -221
- data/app/assets/stylesheets/rails_marketplace/css/datatables/css/jquery.dataTables_themeroller.css +244 -244
- data/app/assets/stylesheets/rails_marketplace/css/datatables/tools/css/dataTables.tableTools.css +336 -336
- data/app/assets/stylesheets/rails_marketplace/css/editor/index.css +42 -42
- data/app/assets/stylesheets/rails_marketplace/css/floatexamples.css +21 -21
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/_all.css +529 -529
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/aero.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/blue.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/flat.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/green.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/grey.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/orange.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/pink.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/purple.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/red.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/yellow.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/ion.rangeSlider.css +146 -146
- data/app/assets/stylesheets/rails_marketplace/css/ion.rangeSlider.skinFlat.css +106 -106
- data/app/assets/stylesheets/rails_marketplace/css/maps/jquery-jvectormap-2.0.3.css +135 -135
- data/app/assets/stylesheets/rails_marketplace/css/normalize.css +421 -421
- data/app/assets/stylesheets/rails_marketplace/css/nprogress.css +74 -74
- data/app/assets/stylesheets/rails_marketplace/css/progressbar/bootstrap-progressbar-3.3.0.css +161 -161
- data/app/assets/stylesheets/rails_marketplace/css/select/select2.min.css +403 -403
- data/app/assets/stylesheets/rails_marketplace/fonts/css/font-awesome.css +2086 -2086
- data/app/assets/stylesheets/rails_marketplace/fonts/css/font-awesome.min.css +4 -4
- data/app/assets/stylesheets/rails_marketplace/fonts/fonts/FontAwesome.otf +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.svg +654 -654
- data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.woff +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.woff2 +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.svg +287 -287
- data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/less/animated.less +34 -34
- data/app/assets/stylesheets/rails_marketplace/fonts/less/bordered-pulled.less +25 -25
- data/app/assets/stylesheets/rails_marketplace/fonts/less/core.less +12 -12
- data/app/assets/stylesheets/rails_marketplace/fonts/less/fixed-width.less +6 -6
- data/app/assets/stylesheets/rails_marketplace/fonts/less/font-awesome.less +17 -17
- data/app/assets/stylesheets/rails_marketplace/fonts/less/icons.less +697 -697
- data/app/assets/stylesheets/rails_marketplace/fonts/less/larger.less +13 -13
- data/app/assets/stylesheets/rails_marketplace/fonts/less/list.less +19 -19
- data/app/assets/stylesheets/rails_marketplace/fonts/less/mixins.less +26 -26
- data/app/assets/stylesheets/rails_marketplace/fonts/less/path.less +15 -15
- data/app/assets/stylesheets/rails_marketplace/fonts/less/rotated-flipped.less +20 -20
- data/app/assets/stylesheets/rails_marketplace/fonts/less/spinning.less +29 -29
- data/app/assets/stylesheets/rails_marketplace/fonts/less/stacked.less +20 -20
- data/app/assets/stylesheets/rails_marketplace/fonts/less/variables.less +708 -708
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_animated.scss +34 -34
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_bordered-pulled.scss +25 -25
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_core.scss +12 -12
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_fixed-width.scss +6 -6
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_icons.scss +697 -697
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_larger.scss +13 -13
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_list.scss +19 -19
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_mixins.scss +26 -26
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_path.scss +15 -15
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_rotated-flipped.scss +20 -20
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_spinning.scss +29 -29
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_stacked.scss +20 -20
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_variables.scss +708 -708
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/font-awesome.scss +17 -17
- data/app/assets/stylesheets/rails_marketplace/images/loading.gif +0 -0
- data/app/assets/stylesheets/rails_marketplace/marketplace.scss +19 -19
- data/app/assets/stylesheets/rails_marketplace/pace.css +76 -76
- data/app/assets/stylesheets/rails_marketplace/welcome.scss +3 -3
- data/app/assets/stylesheets/scaffold.css +56 -56
- data/app/controllers/rails_marketplace/admin_controller.rb +150 -150
- data/app/controllers/rails_marketplace/application_controller.rb +4 -4
- data/app/controllers/rails_marketplace/catalog_controller.rb +171 -171
- data/app/controllers/rails_marketplace/seller_controller.rb +180 -180
- data/app/helpers/rails_marketplace/admin_helper.rb +16 -16
- data/app/helpers/rails_marketplace/application_helper.rb +4 -4
- data/app/helpers/rails_marketplace/catalog_helper.rb +4 -4
- data/app/helpers/rails_marketplace/plainpage_helper.rb +4 -4
- data/app/helpers/rails_marketplace/seller_helper.rb +15 -15
- data/app/models/rails_marketplace/admin.rb +9 -9
- data/app/models/rails_marketplace/admin_setting.rb +13 -13
- data/app/models/rails_marketplace/cart.rb +48 -48
- data/app/models/rails_marketplace/cart_product.rb +6 -6
- data/app/models/rails_marketplace/category.rb +21 -21
- data/app/models/rails_marketplace/category_product.rb +5 -5
- data/app/models/rails_marketplace/customer.rb +5 -5
- data/app/models/rails_marketplace/order.rb +21 -21
- data/app/models/rails_marketplace/order_product.rb +6 -6
- data/app/models/rails_marketplace/product.rb +33 -33
- data/app/models/rails_marketplace/seller.rb +12 -12
- data/app/models/rails_marketplace/seller_setting.rb +5 -5
- data/app/views/layouts/rails_marketplace/application.html.erb +37 -37
- data/app/views/layouts/rails_marketplace/seller_central.html.erb +58 -58
- data/app/views/layouts/rails_marketplace/super_admin.html.erb +58 -58
- data/app/views/rails_marketplace/admin/add_category.html.erb +63 -63
- data/app/views/rails_marketplace/admin/categories.html.erb +50 -50
- data/app/views/rails_marketplace/admin/category_products.html.erb +54 -54
- data/app/views/rails_marketplace/admin/dashboard.html.erb +49 -49
- data/app/views/rails_marketplace/admin/edit_category.html.erb +63 -63
- data/app/views/rails_marketplace/admin/login_form.html.erb +19 -19
- data/app/views/rails_marketplace/admin/products.html.erb +54 -54
- data/app/views/rails_marketplace/admin/seller_products.html.erb +54 -54
- data/app/views/rails_marketplace/admin/sellers.html.erb +48 -48
- data/app/views/rails_marketplace/admin/settings_form.html.erb +38 -38
- data/app/views/rails_marketplace/admin/signup_form.html.erb +24 -24
- data/app/views/rails_marketplace/catalog/cart.html.erb +80 -80
- data/app/views/rails_marketplace/catalog/category_products.html.erb +52 -52
- data/app/views/rails_marketplace/catalog/checkout.html.erb +207 -207
- data/app/views/rails_marketplace/catalog/checkout_success.html.erb +14 -14
- data/app/views/rails_marketplace/catalog/index.html.erb +0 -0
- data/app/views/rails_marketplace/catalog/product_detail.html.erb +87 -87
- data/app/views/rails_marketplace/partials/_admin_sidenav.html.erb +80 -80
- data/app/views/rails_marketplace/partials/_admin_topnav.html.erb +111 -111
- data/app/views/rails_marketplace/partials/_footer.html.erb +19 -19
- data/app/views/rails_marketplace/partials/_menu.html.erb +41 -41
- data/app/views/rails_marketplace/partials/_sidenav.html.erb +77 -77
- data/app/views/rails_marketplace/partials/_topnav.html.erb +105 -105
- data/app/views/rails_marketplace/seller/add_bulk_products.html.erb +0 -0
- data/app/views/rails_marketplace/seller/add_product.html.erb +66 -66
- data/app/views/rails_marketplace/seller/dashboard.html.erb +50 -50
- data/app/views/rails_marketplace/seller/edit_product.html.erb +68 -68
- data/app/views/rails_marketplace/seller/login_form.html.erb +36 -36
- data/app/views/rails_marketplace/seller/order_details.html.erb +69 -69
- data/app/views/rails_marketplace/seller/orders.html.erb +68 -68
- data/app/views/rails_marketplace/seller/products.html.erb +55 -55
- data/app/views/rails_marketplace/seller/settings_general.html.erb +64 -64
- data/app/views/rails_marketplace/seller/settings_payment.html.erb +34 -34
- data/app/views/rails_marketplace/seller/settings_shipping.html.erb +34 -34
- data/app/views/rails_marketplace/seller/settings_tax.html.erb +34 -34
- data/app/views/rails_marketplace/seller/signup_form.html.erb +27 -27
- data/app/views/rails_marketplace/seller/step_two.html.erb +16 -16
- data/app/views/rails_marketplace/shared/_admin_error_messages.html.erb +11 -11
- data/app/views/rails_marketplace/shared/_product_error_messages.html.erb +11 -11
- data/app/views/rails_marketplace/shared/_seller_error_messages.html.erb +11 -11
- data/config/routes.rb +58 -58
- data/db/migrate/20161013194852_create_sellers.rb +13 -13
- data/db/migrate/20161013195006_create_customers.rb +13 -13
- data/db/migrate/20161013195758_create_orders.rb +8 -8
- data/db/migrate/20161014013032_create_category_products.rb +10 -10
- data/db/migrate/20161014013058_create_order_products.rb +13 -13
- data/db/migrate/20161017185755_create_admins.rb +12 -12
- data/db/migrate/20161017232347_create_products.rb +14 -14
- data/db/migrate/20161019012043_add_reference_product_seller.rb +5 -5
- data/db/migrate/20161019013502_change_data_type_images_files.rb +6 -6
- data/db/migrate/20161019022020_add_reference_order_customers.rb +5 -5
- data/db/migrate/20161109191644_create_categories.rb +15 -15
- data/db/migrate/20161110021043_create_friendly_id_slugs.rb +15 -15
- data/db/migrate/20161110021131_add_slug_to_category.rb +6 -6
- data/db/migrate/20161110024118_add_slug_to_product.rb +6 -6
- data/db/migrate/20161111001446_create_carts.rb +8 -8
- data/db/migrate/20161111004451_create_cart_products.rb +12 -12
- data/db/migrate/20161115013956_add_currency_format_to_price.rb +6 -6
- data/db/migrate/20161115015227_monetize_product.rb +5 -5
- data/db/migrate/20161115032905_add_stripe_key_to_admin.rb +6 -6
- data/db/migrate/20161124015608_add_order_fields.rb +16 -16
- data/db/migrate/20161207193917_add_seller_to_orders.rb +6 -6
- data/db/migrate/20161208012601_add_price_to_cart_products.rb +6 -6
- data/db/migrate/20161208013402_add_money_to_cart_products.rb +6 -6
- data/db/migrate/20170217183953_create_seller_settings.rb +29 -29
- data/db/migrate/20170218003202_create_admin_settings.rb +24 -24
- data/db/migrate/20170224230449_create_stripe_managed_accounts.rb +9 -9
- data/db/migrate/20170224233736_add_stripe_to_admin_settings.rb +9 -9
- data/db/migrate/20170224235259_add_id_to_settings.rb +6 -6
- data/db/migrate/20170225002939_delete_stripe_accounts.rb +8 -8
- data/db/migrate/20170225003252_add_stripe_account_id_to_seller_settings.rb +5 -5
- data/lib/rails_marketplace.rb +4 -4
- data/lib/rails_marketplace/engine.rb +9 -9
- data/lib/rails_marketplace/version.rb +3 -3
- data/lib/tasks/rails_marketplace_tasks.rake +4 -4
- data/spec/controllers/rails_marketplace/catalog_controller_spec.rb +75 -75
- data/spec/dummy/README.rdoc +28 -28
- data/spec/dummy/Rakefile +6 -6
- data/spec/dummy/app/assets/javascripts/application.js +13 -13
- data/spec/dummy/app/assets/stylesheets/application.css +15 -15
- data/spec/dummy/app/controllers/application_controller.rb +5 -5
- data/spec/dummy/app/helpers/application_helper.rb +2 -2
- data/spec/dummy/app/views/layouts/application.html.erb +14 -14
- data/spec/dummy/bin/bundle +3 -3
- data/spec/dummy/bin/rails +4 -4
- data/spec/dummy/bin/rake +4 -4
- data/spec/dummy/bin/setup +29 -29
- data/spec/dummy/config.ru +4 -4
- data/spec/dummy/config/application.rb +32 -32
- data/spec/dummy/config/boot.rb +5 -5
- data/spec/dummy/config/database.yml +25 -25
- data/spec/dummy/config/environment.rb +5 -5
- data/spec/dummy/config/environments/development.rb +41 -41
- data/spec/dummy/config/environments/production.rb +79 -79
- data/spec/dummy/config/environments/test.rb +42 -42
- data/spec/dummy/config/initializers/assets.rb +11 -11
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -7
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -3
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -4
- data/spec/dummy/config/initializers/inflections.rb +16 -16
- data/spec/dummy/config/initializers/mime_types.rb +4 -4
- data/spec/dummy/config/initializers/session_store.rb +3 -3
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -14
- data/spec/dummy/config/locales/en.yml +23 -23
- data/spec/dummy/config/routes.rb +4 -4
- data/spec/dummy/config/secrets.yml +22 -22
- data/spec/dummy/db/schema.rb +194 -194
- data/spec/dummy/log/development.log +889 -889
- data/spec/dummy/log/test.log +1229 -1229
- data/spec/dummy/public/404.html +67 -67
- data/spec/dummy/public/422.html +67 -67
- data/spec/dummy/public/500.html +66 -66
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/helpers/rails_marketplace/catalog_helper_spec.rb +17 -17
- data/spec/routing/rails_marketplace/catalog_routing_spec.rb +44 -44
- data/spec/spec_helper.rb +44 -44
- data/spec/views/rails_marketplace/catalog/edit.html.erb_spec.rb +15 -15
- data/spec/views/rails_marketplace/catalog/index.html.erb_spec.rb +15 -15
- data/spec/views/rails_marketplace/catalog/new.html.erb_spec.rb +15 -15
- data/spec/views/rails_marketplace/catalog/show.html.erb_spec.rb +12 -12
- metadata +37 -38
data/spec/dummy/log/test.log
CHANGED
@@ -1,1229 +1,1229 @@
|
|
1
|
-
[1m[36m (129.1ms)[0m [1mCREATE TABLE "rails_marketplace_admin_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "timezone" varchar, "unit_system" varchar, "weight_unit" varchar, "order_prefix" varchar, "order_suffix" varchar, "checkout_customer_account" varchar, "checkout_req_last_name" varchar, "checkout_req_company_name" varchar, "checkout_req_address2" varchar, "checkout_req_phone" varchar, "checkout_same_shipping_billing" boolean, "checkout_agree_promotion" varchar, "refund_policy" text, "privacy_policy" text, "terms_of_service" text, "stripe_publishable_key" varchar, "stripe_secret_key" varchar, "admin_id" varchar) [0m
|
2
|
-
[1m[35m (134.7ms)[0m CREATE TABLE "rails_marketplace_admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "password" varchar, "password_digest" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
3
|
-
[1m[36m (110.9ms)[0m [1mCREATE TABLE "rails_marketplace_cart_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "quantity" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "price" decimal(8,2)) [0m
|
4
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
5
|
-
[1m[36m (121.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_cart_products_on_cart_id" ON "rails_marketplace_cart_products" ("cart_id")[0m
|
6
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
7
|
-
FROM sqlite_master
|
8
|
-
WHERE name='index_rails_marketplace_cart_products_on_cart_id' AND type='index'
|
9
|
-
UNION ALL
|
10
|
-
SELECT sql
|
11
|
-
FROM sqlite_temp_master
|
12
|
-
WHERE name='index_rails_marketplace_cart_products_on_cart_id' AND type='index'
|
13
|
-
|
14
|
-
[1m[36m (132.4ms)[0m [1mCREATE INDEX "index_rails_marketplace_cart_products_on_product_id" ON "rails_marketplace_cart_products" ("product_id")[0m
|
15
|
-
[1m[35m (133.2ms)[0m CREATE TABLE "rails_marketplace_carts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
16
|
-
[1m[36m (122.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_carts_on_customer_id" ON "rails_marketplace_carts" ("customer_id")[0m
|
17
|
-
[1m[35m (132.0ms)[0m CREATE TABLE "rails_marketplace_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "description" text, "image" varchar, "parent_id" integer, "depth" integer DEFAULT 0 NOT NULL, "slug" varchar)
|
18
|
-
[1m[36m (111.1ms)[0m [1mCREATE INDEX "index_rails_marketplace_categories_on_parent_id" ON "rails_marketplace_categories" ("parent_id")[0m
|
19
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
20
|
-
FROM sqlite_master
|
21
|
-
WHERE name='index_rails_marketplace_categories_on_parent_id' AND type='index'
|
22
|
-
UNION ALL
|
23
|
-
SELECT sql
|
24
|
-
FROM sqlite_temp_master
|
25
|
-
WHERE name='index_rails_marketplace_categories_on_parent_id' AND type='index'
|
26
|
-
|
27
|
-
[1m[36m (121.6ms)[0m [1mCREATE UNIQUE INDEX "index_rails_marketplace_categories_on_slug" ON "rails_marketplace_categories" ("slug")[0m
|
28
|
-
[1m[35m (133.4ms)[0m CREATE TABLE "rails_marketplace_category_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "category_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
29
|
-
[1m[36m (133.1ms)[0m [1mCREATE INDEX "index_rails_marketplace_category_products_on_category_id" ON "rails_marketplace_category_products" ("category_id")[0m
|
30
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
31
|
-
FROM sqlite_master
|
32
|
-
WHERE name='index_rails_marketplace_category_products_on_category_id' AND type='index'
|
33
|
-
UNION ALL
|
34
|
-
SELECT sql
|
35
|
-
FROM sqlite_temp_master
|
36
|
-
WHERE name='index_rails_marketplace_category_products_on_category_id' AND type='index'
|
37
|
-
|
38
|
-
[1m[36m (132.7ms)[0m [1mCREATE INDEX "index_rails_marketplace_category_products_on_product_id" ON "rails_marketplace_category_products" ("product_id")[0m
|
39
|
-
[1m[35m (135.0ms)[0m CREATE TABLE "rails_marketplace_customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password" varchar, "phone_number" varchar, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40
|
-
[1m[36m (133.0ms)[0m [1mCREATE TABLE "rails_marketplace_friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar, "created_at" datetime) [0m
|
41
|
-
[1m[35m (133.4ms)[0m CREATE INDEX "index_rails_marketplace_friendly_id_slugs_on_sluggable_id" ON "rails_marketplace_friendly_id_slugs" ("sluggable_id")
|
42
|
-
[1m[36m (167.5ms)[0m [1mCREATE TABLE "rails_marketplace_order_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "order_id" integer, "quantity" integer, "price" decimal(8,2), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
43
|
-
[1m[35m (133.4ms)[0m CREATE INDEX "index_rails_marketplace_order_products_on_order_id" ON "rails_marketplace_order_products" ("order_id")
|
44
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
45
|
-
FROM sqlite_master
|
46
|
-
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
47
|
-
UNION ALL
|
48
|
-
SELECT sql
|
49
|
-
FROM sqlite_temp_master
|
50
|
-
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
51
|
-
[0m
|
52
|
-
[1m[35m (132.7ms)[0m CREATE INDEX "index_rails_marketplace_order_products_on_product_id" ON "rails_marketplace_order_products" ("product_id")
|
53
|
-
[1m[36m (133.0ms)[0m [1mCREATE TABLE "rails_marketplace_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "customer_id" integer, "email" varchar, "fullname" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state" varchar, "zip" varchar, "country" varchar, "phone" varchar, "shipping_method" varchar, "is_gift" boolean, "gift_message" text, "seller_id" integer) [0m
|
54
|
-
[1m[35m (166.6ms)[0m CREATE INDEX "index_rails_marketplace_orders_on_customer_id" ON "rails_marketplace_orders" ("customer_id")
|
55
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
56
|
-
FROM sqlite_master
|
57
|
-
WHERE name='index_rails_marketplace_orders_on_customer_id' AND type='index'
|
58
|
-
UNION ALL
|
59
|
-
SELECT sql
|
60
|
-
FROM sqlite_temp_master
|
61
|
-
WHERE name='index_rails_marketplace_orders_on_customer_id' AND type='index'
|
62
|
-
[0m
|
63
|
-
[1m[35m (132.5ms)[0m CREATE INDEX "index_rails_marketplace_orders_on_seller_id" ON "rails_marketplace_orders" ("seller_id")
|
64
|
-
[1m[36m (133.3ms)[0m [1mCREATE TABLE "rails_marketplace_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "images" text, "price" decimal(8,2), "quantity" integer, "files" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "seller_id" integer, "slug" varchar) [0m
|
65
|
-
[1m[35m (111.0ms)[0m CREATE INDEX "index_rails_marketplace_products_on_price" ON "rails_marketplace_products" ("price")
|
66
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
67
|
-
FROM sqlite_master
|
68
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
69
|
-
UNION ALL
|
70
|
-
SELECT sql
|
71
|
-
FROM sqlite_temp_master
|
72
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
73
|
-
[0m
|
74
|
-
[1m[35m (134.6ms)[0m CREATE INDEX "index_rails_marketplace_products_on_seller_id" ON "rails_marketplace_products" ("seller_id")
|
75
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
76
|
-
FROM sqlite_master
|
77
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
78
|
-
UNION ALL
|
79
|
-
SELECT sql
|
80
|
-
FROM sqlite_temp_master
|
81
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
82
|
-
[0m
|
83
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
84
|
-
FROM sqlite_master
|
85
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
86
|
-
UNION ALL
|
87
|
-
SELECT sql
|
88
|
-
FROM sqlite_temp_master
|
89
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
90
|
-
|
91
|
-
[1m[36m (132.2ms)[0m [1mCREATE UNIQUE INDEX "index_rails_marketplace_products_on_slug" ON "rails_marketplace_products" ("slug")[0m
|
92
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
93
|
-
FROM sqlite_master
|
94
|
-
WHERE name='index_rails_marketplace_products_on_slug' AND type='index'
|
95
|
-
UNION ALL
|
96
|
-
SELECT sql
|
97
|
-
FROM sqlite_temp_master
|
98
|
-
WHERE name='index_rails_marketplace_products_on_slug' AND type='index'
|
99
|
-
|
100
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
101
|
-
FROM sqlite_master
|
102
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
103
|
-
UNION ALL
|
104
|
-
SELECT sql
|
105
|
-
FROM sqlite_temp_master
|
106
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
107
|
-
[0m
|
108
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
109
|
-
FROM sqlite_master
|
110
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
111
|
-
UNION ALL
|
112
|
-
SELECT sql
|
113
|
-
FROM sqlite_temp_master
|
114
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
115
|
-
|
116
|
-
[1m[36m (131.7ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_title" ON "rails_marketplace_products" ("title")[0m
|
117
|
-
[1m[35m (110.5ms)[0m CREATE TABLE "rails_marketplace_seller_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "store_name" varchar, "store_customer_email" varchar, "shipping_origin_company_name" varchar, "shipping_origin_address1" varchar, "shipping_origin_address2" varchar, "shipping_origin_city" varchar, "shipping_origin_zip" varchar, "shipping_origin_country" varchar, "shipping_origin_state" varchar, "shipping_origin_phone" varchar, "shipping_standard_enabled" boolean, "shipping_standard_fee" varchar, "shipping_standard_delivery_date" varchar, "shipping_expediate_enabled" boolean, "shipping_expediate_fee" varchar, "shipping_expediate_delivery_date" varchar, "store_status" varchar, "seller_id" varchar, "stripe_publishable_key" varchar, "stripe_secret_key" varchar, "stripe_account_id" varchar)
|
118
|
-
[1m[36m (133.2ms)[0m [1mCREATE TABLE "rails_marketplace_sellers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password" varchar, "password_digest" varchar, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
119
|
-
[1m[35m (113.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
120
|
-
[1m[36m (122.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
121
|
-
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
122
|
-
[1m[36m (133.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170225003252')[0m
|
123
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
124
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
125
|
-
Migrating to CreateSellers (20161013194852)
|
126
|
-
[1m[35m (0.1ms)[0m begin transaction
|
127
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "rails_marketplace_sellers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password" varchar, "password_digest" varchar, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
128
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
129
|
-
[1m[36m (132.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
130
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
131
|
-
[1m[36m (132.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
132
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
133
|
-
Migrating to CreateSellers (20161013194852)
|
134
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
135
|
-
[1m[35m (0.9ms)[0m CREATE TABLE "rails_marketplace_sellers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password" varchar, "password_digest" varchar, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
136
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161013194852"]]
|
137
|
-
[1m[35m (135.6ms)[0m commit transaction
|
138
|
-
Migrating to CreateCustomers (20161013195006)
|
139
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
140
|
-
[1m[35m (0.5ms)[0m CREATE TABLE "rails_marketplace_customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password" varchar, "phone_number" varchar, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
141
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161013195006"]]
|
142
|
-
[1m[35m (130.3ms)[0m commit transaction
|
143
|
-
Migrating to CreateOrders (20161013195758)
|
144
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
145
|
-
[1m[35m (0.5ms)[0m CREATE TABLE "rails_marketplace_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
146
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161013195758"]]
|
147
|
-
[1m[35m (130.7ms)[0m commit transaction
|
148
|
-
Migrating to CreateCategoryProducts (20161014013032)
|
149
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
150
|
-
[1m[35m (0.5ms)[0m CREATE TABLE "rails_marketplace_category_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "category_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
151
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_category_products_on_product_id" ON "rails_marketplace_category_products" ("product_id")[0m
|
152
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
153
|
-
FROM sqlite_master
|
154
|
-
WHERE name='index_rails_marketplace_category_products_on_product_id' AND type='index'
|
155
|
-
UNION ALL
|
156
|
-
SELECT sql
|
157
|
-
FROM sqlite_temp_master
|
158
|
-
WHERE name='index_rails_marketplace_category_products_on_product_id' AND type='index'
|
159
|
-
|
160
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_category_products_on_category_id" ON "rails_marketplace_category_products" ("category_id")[0m
|
161
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161014013032"]]
|
162
|
-
[1m[36m (140.8ms)[0m [1mcommit transaction[0m
|
163
|
-
Migrating to CreateOrderProducts (20161014013058)
|
164
|
-
[1m[35m (0.1ms)[0m begin transaction
|
165
|
-
[1m[36m (0.6ms)[0m [1mCREATE TABLE "rails_marketplace_order_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "order_id" integer, "seller_id" integer, "quantity" integer, "price" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
166
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_order_products_on_product_id" ON "rails_marketplace_order_products" ("product_id")
|
167
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
168
|
-
FROM sqlite_master
|
169
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
170
|
-
UNION ALL
|
171
|
-
SELECT sql
|
172
|
-
FROM sqlite_temp_master
|
173
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
174
|
-
[0m
|
175
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_order_products_on_order_id" ON "rails_marketplace_order_products" ("order_id")
|
176
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
177
|
-
FROM sqlite_master
|
178
|
-
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
179
|
-
UNION ALL
|
180
|
-
SELECT sql
|
181
|
-
FROM sqlite_temp_master
|
182
|
-
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
183
|
-
[0m
|
184
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
185
|
-
FROM sqlite_master
|
186
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
187
|
-
UNION ALL
|
188
|
-
SELECT sql
|
189
|
-
FROM sqlite_temp_master
|
190
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
191
|
-
|
192
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_order_products_on_seller_id" ON "rails_marketplace_order_products" ("seller_id")[0m
|
193
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161014013058"]]
|
194
|
-
[1m[36m (138.4ms)[0m [1mcommit transaction[0m
|
195
|
-
Migrating to CreateAdmins (20161017185755)
|
196
|
-
[1m[35m (0.1ms)[0m begin transaction
|
197
|
-
[1m[36m (0.5ms)[0m [1mCREATE TABLE "rails_marketplace_admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "password" varchar, "password_digest" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
198
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161017185755"]]
|
199
|
-
[1m[36m (141.1ms)[0m [1mcommit transaction[0m
|
200
|
-
Migrating to CreateProducts (20161017232347)
|
201
|
-
[1m[35m (0.1ms)[0m begin transaction
|
202
|
-
[1m[36m (0.5ms)[0m [1mCREATE TABLE "rails_marketplace_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "images" varchar, "price" decimal(8,2), "quantity" integer, "files" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
203
|
-
[1m[35m (0.3ms)[0m CREATE INDEX "index_rails_marketplace_products_on_title" ON "rails_marketplace_products" ("title")
|
204
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
205
|
-
FROM sqlite_master
|
206
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
207
|
-
UNION ALL
|
208
|
-
SELECT sql
|
209
|
-
FROM sqlite_temp_master
|
210
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
211
|
-
[0m
|
212
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_products_on_price" ON "rails_marketplace_products" ("price")
|
213
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161017232347"]]
|
214
|
-
[1m[35m (150.5ms)[0m commit transaction
|
215
|
-
Migrating to AddReferenceProductSeller (20161019012043)
|
216
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
217
|
-
[1m[35m (0.6ms)[0m ALTER TABLE "rails_marketplace_products" ADD "seller_id" integer
|
218
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
219
|
-
FROM sqlite_master
|
220
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
221
|
-
UNION ALL
|
222
|
-
SELECT sql
|
223
|
-
FROM sqlite_temp_master
|
224
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
225
|
-
[0m
|
226
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
227
|
-
FROM sqlite_master
|
228
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
229
|
-
UNION ALL
|
230
|
-
SELECT sql
|
231
|
-
FROM sqlite_temp_master
|
232
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
233
|
-
|
234
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_seller_id" ON "rails_marketplace_products" ("seller_id")[0m
|
235
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161019012043"]]
|
236
|
-
[1m[36m (151.4ms)[0m [1mcommit transaction[0m
|
237
|
-
Migrating to ChangeDataTypeImagesFiles (20161019013502)
|
238
|
-
[1m[35m (0.1ms)[0m begin transaction
|
239
|
-
[1m[36m (0.9ms)[0m [1mCREATE TEMPORARY TABLE "arails_marketplace_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "images" varchar, "price" decimal(8,2), "quantity" integer, "files" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "seller_id" integer) [0m
|
240
|
-
[1m[35m (0.3ms)[0m SELECT sql
|
241
|
-
FROM sqlite_master
|
242
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
243
|
-
UNION ALL
|
244
|
-
SELECT sql
|
245
|
-
FROM sqlite_temp_master
|
246
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
247
|
-
|
248
|
-
[1m[36m (0.3ms)[0m [1m SELECT sql
|
249
|
-
FROM sqlite_master
|
250
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
251
|
-
UNION ALL
|
252
|
-
SELECT sql
|
253
|
-
FROM sqlite_temp_master
|
254
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
255
|
-
[0m
|
256
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
257
|
-
FROM sqlite_master
|
258
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
259
|
-
UNION ALL
|
260
|
-
SELECT sql
|
261
|
-
FROM sqlite_temp_master
|
262
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
263
|
-
|
264
|
-
[1m[36m (0.4ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_products_on_seller_id" ON "arails_marketplace_products" ("seller_id")[0m
|
265
|
-
[1m[35m (0.3ms)[0m CREATE INDEX "tindex_arails_marketplace_products_on_price" ON "arails_marketplace_products" ("price")
|
266
|
-
[1m[36m (0.4ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_products_on_title" ON "arails_marketplace_products" ("title")[0m
|
267
|
-
[1m[35m (0.3ms)[0m SELECT * FROM "rails_marketplace_products"
|
268
|
-
[1m[36m (0.6ms)[0m [1mDROP TABLE "rails_marketplace_products"[0m
|
269
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "rails_marketplace_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "images" text, "price" decimal(8,2), "quantity" integer, "files" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "seller_id" integer)
|
270
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
271
|
-
FROM sqlite_master
|
272
|
-
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
273
|
-
UNION ALL
|
274
|
-
SELECT sql
|
275
|
-
FROM sqlite_temp_master
|
276
|
-
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
277
|
-
[0m
|
278
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
279
|
-
FROM sqlite_master
|
280
|
-
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
281
|
-
UNION ALL
|
282
|
-
SELECT sql
|
283
|
-
FROM sqlite_temp_master
|
284
|
-
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
285
|
-
|
286
|
-
[1m[36m (0.3ms)[0m [1m SELECT sql
|
287
|
-
FROM sqlite_master
|
288
|
-
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
289
|
-
UNION ALL
|
290
|
-
SELECT sql
|
291
|
-
FROM sqlite_temp_master
|
292
|
-
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
293
|
-
[0m
|
294
|
-
[1m[35m (0.4ms)[0m CREATE INDEX "index_rails_marketplace_products_on_title" ON "rails_marketplace_products" ("title")
|
295
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
296
|
-
FROM sqlite_master
|
297
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
298
|
-
UNION ALL
|
299
|
-
SELECT sql
|
300
|
-
FROM sqlite_temp_master
|
301
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
302
|
-
[0m
|
303
|
-
[1m[35m (0.3ms)[0m CREATE INDEX "index_rails_marketplace_products_on_price" ON "rails_marketplace_products" ("price")
|
304
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
305
|
-
FROM sqlite_master
|
306
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
307
|
-
UNION ALL
|
308
|
-
SELECT sql
|
309
|
-
FROM sqlite_temp_master
|
310
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
311
|
-
[0m
|
312
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
313
|
-
FROM sqlite_master
|
314
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
315
|
-
UNION ALL
|
316
|
-
SELECT sql
|
317
|
-
FROM sqlite_temp_master
|
318
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
319
|
-
|
320
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_seller_id" ON "rails_marketplace_products" ("seller_id")[0m
|
321
|
-
[1m[35m (0.1ms)[0m SELECT * FROM "arails_marketplace_products"
|
322
|
-
[1m[36m (0.5ms)[0m [1mDROP TABLE "arails_marketplace_products"[0m
|
323
|
-
[1m[35m (0.3ms)[0m CREATE TEMPORARY TABLE "arails_marketplace_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "images" text, "price" decimal(8,2), "quantity" integer, "files" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "seller_id" integer)
|
324
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
325
|
-
FROM sqlite_master
|
326
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
327
|
-
UNION ALL
|
328
|
-
SELECT sql
|
329
|
-
FROM sqlite_temp_master
|
330
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
331
|
-
[0m
|
332
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
333
|
-
FROM sqlite_master
|
334
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
335
|
-
UNION ALL
|
336
|
-
SELECT sql
|
337
|
-
FROM sqlite_temp_master
|
338
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
339
|
-
|
340
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
341
|
-
FROM sqlite_master
|
342
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
343
|
-
UNION ALL
|
344
|
-
SELECT sql
|
345
|
-
FROM sqlite_temp_master
|
346
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
347
|
-
[0m
|
348
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "tindex_arails_marketplace_products_on_seller_id" ON "arails_marketplace_products" ("seller_id")
|
349
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_products_on_price" ON "arails_marketplace_products" ("price")[0m
|
350
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "tindex_arails_marketplace_products_on_title" ON "arails_marketplace_products" ("title")
|
351
|
-
[1m[36m (0.1ms)[0m [1mSELECT * FROM "rails_marketplace_products"[0m
|
352
|
-
[1m[35m (0.5ms)[0m DROP TABLE "rails_marketplace_products"
|
353
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "rails_marketplace_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "images" text, "price" decimal(8,2), "quantity" integer, "files" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "seller_id" integer) [0m
|
354
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
355
|
-
FROM sqlite_master
|
356
|
-
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
357
|
-
UNION ALL
|
358
|
-
SELECT sql
|
359
|
-
FROM sqlite_temp_master
|
360
|
-
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
361
|
-
|
362
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
363
|
-
FROM sqlite_master
|
364
|
-
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
365
|
-
UNION ALL
|
366
|
-
SELECT sql
|
367
|
-
FROM sqlite_temp_master
|
368
|
-
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
369
|
-
[0m
|
370
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
371
|
-
FROM sqlite_master
|
372
|
-
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
373
|
-
UNION ALL
|
374
|
-
SELECT sql
|
375
|
-
FROM sqlite_temp_master
|
376
|
-
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
377
|
-
|
378
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_title" ON "rails_marketplace_products" ("title")[0m
|
379
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
380
|
-
FROM sqlite_master
|
381
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
382
|
-
UNION ALL
|
383
|
-
SELECT sql
|
384
|
-
FROM sqlite_temp_master
|
385
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
386
|
-
|
387
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_price" ON "rails_marketplace_products" ("price")[0m
|
388
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
389
|
-
FROM sqlite_master
|
390
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
391
|
-
UNION ALL
|
392
|
-
SELECT sql
|
393
|
-
FROM sqlite_temp_master
|
394
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
395
|
-
|
396
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
397
|
-
FROM sqlite_master
|
398
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
399
|
-
UNION ALL
|
400
|
-
SELECT sql
|
401
|
-
FROM sqlite_temp_master
|
402
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
403
|
-
[0m
|
404
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_products_on_seller_id" ON "rails_marketplace_products" ("seller_id")
|
405
|
-
[1m[36m (0.1ms)[0m [1mSELECT * FROM "arails_marketplace_products"[0m
|
406
|
-
[1m[35m (0.3ms)[0m DROP TABLE "arails_marketplace_products"
|
407
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161019013502"]]
|
408
|
-
[1m[35m (126.7ms)[0m commit transaction
|
409
|
-
Migrating to AddReferenceOrderCustomers (20161019022020)
|
410
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
411
|
-
[1m[35m (0.6ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "customer_id" integer
|
412
|
-
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_rails_marketplace_orders_on_customer_id" ON "rails_marketplace_orders" ("customer_id")[0m
|
413
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161019022020"]]
|
414
|
-
[1m[36m (129.0ms)[0m [1mcommit transaction[0m
|
415
|
-
Migrating to CreateCategories (20161109191644)
|
416
|
-
[1m[35m (0.1ms)[0m begin transaction
|
417
|
-
[1m[36m (0.5ms)[0m [1mCREATE TABLE "rails_marketplace_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "description" text, "image" varchar, "parent_id" integer, "depth" integer DEFAULT 0 NOT NULL) [0m
|
418
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_categories_on_parent_id" ON "rails_marketplace_categories" ("parent_id")
|
419
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161109191644"]]
|
420
|
-
[1m[35m (118.4ms)[0m commit transaction
|
421
|
-
Migrating to CreateFriendlyIdSlugs (20161110021043)
|
422
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
423
|
-
[1m[35m (0.6ms)[0m CREATE TABLE "rails_marketplace_friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar, "created_at" datetime)
|
424
|
-
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_rails_marketplace_friendly_id_slugs_on_sluggable_id" ON "rails_marketplace_friendly_id_slugs" ("sluggable_id")[0m
|
425
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161110021043"]]
|
426
|
-
[1m[36m (117.3ms)[0m [1mcommit transaction[0m
|
427
|
-
Migrating to AddSlugToCategory (20161110021131)
|
428
|
-
[1m[35m (0.1ms)[0m begin transaction
|
429
|
-
[1m[36m (0.9ms)[0m [1mALTER TABLE "rails_marketplace_categories" ADD "slug" varchar[0m
|
430
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
431
|
-
FROM sqlite_master
|
432
|
-
WHERE name='index_rails_marketplace_categories_on_parent_id' AND type='index'
|
433
|
-
UNION ALL
|
434
|
-
SELECT sql
|
435
|
-
FROM sqlite_temp_master
|
436
|
-
WHERE name='index_rails_marketplace_categories_on_parent_id' AND type='index'
|
437
|
-
|
438
|
-
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_rails_marketplace_categories_on_slug" ON "rails_marketplace_categories" ("slug")[0m
|
439
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161110021131"]]
|
440
|
-
[1m[36m (150.8ms)[0m [1mcommit transaction[0m
|
441
|
-
Migrating to AddSlugToProduct (20161110024118)
|
442
|
-
[1m[35m (0.1ms)[0m begin transaction
|
443
|
-
[1m[36m (0.6ms)[0m [1mALTER TABLE "rails_marketplace_products" ADD "slug" varchar[0m
|
444
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
445
|
-
FROM sqlite_master
|
446
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
447
|
-
UNION ALL
|
448
|
-
SELECT sql
|
449
|
-
FROM sqlite_temp_master
|
450
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
451
|
-
|
452
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
453
|
-
FROM sqlite_master
|
454
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
455
|
-
UNION ALL
|
456
|
-
SELECT sql
|
457
|
-
FROM sqlite_temp_master
|
458
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
459
|
-
[0m
|
460
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
461
|
-
FROM sqlite_master
|
462
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
463
|
-
UNION ALL
|
464
|
-
SELECT sql
|
465
|
-
FROM sqlite_temp_master
|
466
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
467
|
-
|
468
|
-
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_rails_marketplace_products_on_slug" ON "rails_marketplace_products" ("slug")[0m
|
469
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161110024118"]]
|
470
|
-
[1m[36m (151.0ms)[0m [1mcommit transaction[0m
|
471
|
-
Migrating to CreateCarts (20161111001446)
|
472
|
-
[1m[35m (0.1ms)[0m begin transaction
|
473
|
-
[1m[36m (0.5ms)[0m [1mCREATE TABLE "rails_marketplace_carts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
474
|
-
[1m[35m (0.4ms)[0m CREATE INDEX "index_rails_marketplace_carts_on_customer_id" ON "rails_marketplace_carts" ("customer_id")
|
475
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161111001446"]]
|
476
|
-
[1m[35m (150.9ms)[0m commit transaction
|
477
|
-
Migrating to CreateCartProducts (20161111004451)
|
478
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
479
|
-
[1m[35m (0.5ms)[0m CREATE TABLE "rails_marketplace_cart_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "quantity" integer, "price" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
480
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_cart_products_on_product_id" ON "rails_marketplace_cart_products" ("product_id")[0m
|
481
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
482
|
-
FROM sqlite_master
|
483
|
-
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
484
|
-
UNION ALL
|
485
|
-
SELECT sql
|
486
|
-
FROM sqlite_temp_master
|
487
|
-
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
488
|
-
|
489
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_cart_products_on_cart_id" ON "rails_marketplace_cart_products" ("cart_id")[0m
|
490
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161111004451"]]
|
491
|
-
[1m[36m (150.7ms)[0m [1mcommit transaction[0m
|
492
|
-
Migrating to AddCurrencyFormatToPrice (20161115013956)
|
493
|
-
[1m[35m (0.1ms)[0m begin transaction
|
494
|
-
[1m[36m (0.3ms)[0m [1mCREATE TEMPORARY TABLE "arails_marketplace_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "images" text, "price" decimal(8,2), "quantity" integer, "files" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "seller_id" integer, "slug" varchar) [0m
|
495
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
496
|
-
FROM sqlite_master
|
497
|
-
WHERE name='index_rails_marketplace_products_on_slug' AND type='index'
|
498
|
-
UNION ALL
|
499
|
-
SELECT sql
|
500
|
-
FROM sqlite_temp_master
|
501
|
-
WHERE name='index_rails_marketplace_products_on_slug' AND type='index'
|
502
|
-
|
503
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
504
|
-
FROM sqlite_master
|
505
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
506
|
-
UNION ALL
|
507
|
-
SELECT sql
|
508
|
-
FROM sqlite_temp_master
|
509
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
510
|
-
[0m
|
511
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
512
|
-
FROM sqlite_master
|
513
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
514
|
-
UNION ALL
|
515
|
-
SELECT sql
|
516
|
-
FROM sqlite_temp_master
|
517
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
518
|
-
|
519
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
520
|
-
FROM sqlite_master
|
521
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
522
|
-
UNION ALL
|
523
|
-
SELECT sql
|
524
|
-
FROM sqlite_temp_master
|
525
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
526
|
-
[0m
|
527
|
-
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "tindex_arails_marketplace_products_on_slug" ON "arails_marketplace_products" ("slug")
|
528
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_products_on_seller_id" ON "arails_marketplace_products" ("seller_id")[0m
|
529
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "tindex_arails_marketplace_products_on_price" ON "arails_marketplace_products" ("price")
|
530
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_products_on_title" ON "arails_marketplace_products" ("title")[0m
|
531
|
-
[1m[35m (0.2ms)[0m SELECT * FROM "rails_marketplace_products"
|
532
|
-
[1m[36m (0.9ms)[0m [1mDROP TABLE "rails_marketplace_products"[0m
|
533
|
-
[1m[35m (0.7ms)[0m CREATE TABLE "rails_marketplace_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "images" text, "price" decimal(8,2), "quantity" integer, "files" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "seller_id" integer, "slug" varchar)
|
534
|
-
[1m[36m (0.4ms)[0m [1m SELECT sql
|
535
|
-
FROM sqlite_master
|
536
|
-
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
537
|
-
UNION ALL
|
538
|
-
SELECT sql
|
539
|
-
FROM sqlite_temp_master
|
540
|
-
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
541
|
-
[0m
|
542
|
-
[1m[35m (0.3ms)[0m SELECT sql
|
543
|
-
FROM sqlite_master
|
544
|
-
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
545
|
-
UNION ALL
|
546
|
-
SELECT sql
|
547
|
-
FROM sqlite_temp_master
|
548
|
-
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
549
|
-
|
550
|
-
[1m[36m (0.3ms)[0m [1m SELECT sql
|
551
|
-
FROM sqlite_master
|
552
|
-
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
553
|
-
UNION ALL
|
554
|
-
SELECT sql
|
555
|
-
FROM sqlite_temp_master
|
556
|
-
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
557
|
-
[0m
|
558
|
-
[1m[35m (0.3ms)[0m SELECT sql
|
559
|
-
FROM sqlite_master
|
560
|
-
WHERE name='tindex_arails_marketplace_products_on_slug' AND type='index'
|
561
|
-
UNION ALL
|
562
|
-
SELECT sql
|
563
|
-
FROM sqlite_temp_master
|
564
|
-
WHERE name='tindex_arails_marketplace_products_on_slug' AND type='index'
|
565
|
-
|
566
|
-
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_title" ON "rails_marketplace_products" ("title")[0m
|
567
|
-
[1m[35m (0.3ms)[0m SELECT sql
|
568
|
-
FROM sqlite_master
|
569
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
570
|
-
UNION ALL
|
571
|
-
SELECT sql
|
572
|
-
FROM sqlite_temp_master
|
573
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
574
|
-
|
575
|
-
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_price" ON "rails_marketplace_products" ("price")[0m
|
576
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
577
|
-
FROM sqlite_master
|
578
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
579
|
-
UNION ALL
|
580
|
-
SELECT sql
|
581
|
-
FROM sqlite_temp_master
|
582
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
583
|
-
|
584
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
585
|
-
FROM sqlite_master
|
586
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
587
|
-
UNION ALL
|
588
|
-
SELECT sql
|
589
|
-
FROM sqlite_temp_master
|
590
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
591
|
-
[0m
|
592
|
-
[1m[35m (0.3ms)[0m CREATE INDEX "index_rails_marketplace_products_on_seller_id" ON "rails_marketplace_products" ("seller_id")
|
593
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
594
|
-
FROM sqlite_master
|
595
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
596
|
-
UNION ALL
|
597
|
-
SELECT sql
|
598
|
-
FROM sqlite_temp_master
|
599
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
600
|
-
[0m
|
601
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
602
|
-
FROM sqlite_master
|
603
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
604
|
-
UNION ALL
|
605
|
-
SELECT sql
|
606
|
-
FROM sqlite_temp_master
|
607
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
608
|
-
|
609
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
610
|
-
FROM sqlite_master
|
611
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
612
|
-
UNION ALL
|
613
|
-
SELECT sql
|
614
|
-
FROM sqlite_temp_master
|
615
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
616
|
-
[0m
|
617
|
-
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_rails_marketplace_products_on_slug" ON "rails_marketplace_products" ("slug")
|
618
|
-
[1m[36m (0.1ms)[0m [1mSELECT * FROM "arails_marketplace_products"[0m
|
619
|
-
[1m[35m (0.4ms)[0m DROP TABLE "arails_marketplace_products"
|
620
|
-
[1m[36m (0.3ms)[0m [1mCREATE TEMPORARY TABLE "arails_marketplace_cart_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "quantity" integer, "price" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
621
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
622
|
-
FROM sqlite_master
|
623
|
-
WHERE name='index_rails_marketplace_cart_products_on_cart_id' AND type='index'
|
624
|
-
UNION ALL
|
625
|
-
SELECT sql
|
626
|
-
FROM sqlite_temp_master
|
627
|
-
WHERE name='index_rails_marketplace_cart_products_on_cart_id' AND type='index'
|
628
|
-
|
629
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
630
|
-
FROM sqlite_master
|
631
|
-
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
632
|
-
UNION ALL
|
633
|
-
SELECT sql
|
634
|
-
FROM sqlite_temp_master
|
635
|
-
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
636
|
-
[0m
|
637
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "tindex_arails_marketplace_cart_products_on_cart_id" ON "arails_marketplace_cart_products" ("cart_id")
|
638
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_cart_products_on_product_id" ON "arails_marketplace_cart_products" ("product_id")[0m
|
639
|
-
[1m[35m (0.2ms)[0m SELECT * FROM "rails_marketplace_cart_products"
|
640
|
-
[1m[36m (0.4ms)[0m [1mDROP TABLE "rails_marketplace_cart_products"[0m
|
641
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "rails_marketplace_cart_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "quantity" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
642
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
643
|
-
FROM sqlite_master
|
644
|
-
WHERE name='tindex_arails_marketplace_cart_products_on_product_id' AND type='index'
|
645
|
-
UNION ALL
|
646
|
-
SELECT sql
|
647
|
-
FROM sqlite_temp_master
|
648
|
-
WHERE name='tindex_arails_marketplace_cart_products_on_product_id' AND type='index'
|
649
|
-
[0m
|
650
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
651
|
-
FROM sqlite_master
|
652
|
-
WHERE name='tindex_arails_marketplace_cart_products_on_cart_id' AND type='index'
|
653
|
-
UNION ALL
|
654
|
-
SELECT sql
|
655
|
-
FROM sqlite_temp_master
|
656
|
-
WHERE name='tindex_arails_marketplace_cart_products_on_cart_id' AND type='index'
|
657
|
-
|
658
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_cart_products_on_product_id" ON "rails_marketplace_cart_products" ("product_id")[0m
|
659
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
660
|
-
FROM sqlite_master
|
661
|
-
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
662
|
-
UNION ALL
|
663
|
-
SELECT sql
|
664
|
-
FROM sqlite_temp_master
|
665
|
-
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
666
|
-
|
667
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_cart_products_on_cart_id" ON "rails_marketplace_cart_products" ("cart_id")[0m
|
668
|
-
[1m[35m (0.1ms)[0m SELECT * FROM "arails_marketplace_cart_products"
|
669
|
-
[1m[36m (0.3ms)[0m [1mDROP TABLE "arails_marketplace_cart_products"[0m
|
670
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161115013956"]]
|
671
|
-
[1m[36m (139.7ms)[0m [1mcommit transaction[0m
|
672
|
-
Migrating to MonetizeProduct (20161115015227)
|
673
|
-
[1m[35m (0.1ms)[0m begin transaction
|
674
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161115015227"]]
|
675
|
-
[1m[35m (120.9ms)[0m commit transaction
|
676
|
-
Migrating to AddStripeKeyToAdmin (20161115032905)
|
677
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
678
|
-
[1m[35m (0.8ms)[0m ALTER TABLE "rails_marketplace_admins" ADD "stripe_publishable_key" varchar
|
679
|
-
[1m[36m (0.5ms)[0m [1mALTER TABLE "rails_marketplace_admins" ADD "stripe_secret_key" varchar[0m
|
680
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161115032905"]]
|
681
|
-
[1m[36m (128.3ms)[0m [1mcommit transaction[0m
|
682
|
-
Migrating to AddOrderFields (20161124015608)
|
683
|
-
[1m[35m (0.1ms)[0m begin transaction
|
684
|
-
[1m[36m (0.6ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "email" varchar[0m
|
685
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "fullname" varchar
|
686
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "address1" varchar[0m
|
687
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "address2" varchar
|
688
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "city" varchar[0m
|
689
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "state" varchar
|
690
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "zip" varchar[0m
|
691
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "country" varchar
|
692
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "phone" varchar[0m
|
693
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "shipping_method" varchar
|
694
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "is_gift" boolean[0m
|
695
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "gift_message" text
|
696
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161124015608"]]
|
697
|
-
[1m[35m (156.7ms)[0m commit transaction
|
698
|
-
Migrating to AddSellerToOrders (20161207193917)
|
699
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
700
|
-
[1m[35m (0.9ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "seller_id" integer
|
701
|
-
[1m[36m (0.3ms)[0m [1m SELECT sql
|
702
|
-
FROM sqlite_master
|
703
|
-
WHERE name='index_rails_marketplace_orders_on_customer_id' AND type='index'
|
704
|
-
UNION ALL
|
705
|
-
SELECT sql
|
706
|
-
FROM sqlite_temp_master
|
707
|
-
WHERE name='index_rails_marketplace_orders_on_customer_id' AND type='index'
|
708
|
-
[0m
|
709
|
-
[1m[35m (0.3ms)[0m CREATE INDEX "index_rails_marketplace_orders_on_seller_id" ON "rails_marketplace_orders" ("seller_id")
|
710
|
-
[1m[36m (0.4ms)[0m [1mCREATE TEMPORARY TABLE "arails_marketplace_order_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "order_id" integer, "seller_id" integer, "quantity" integer, "price" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
711
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
712
|
-
FROM sqlite_master
|
713
|
-
WHERE name='index_rails_marketplace_order_products_on_seller_id' AND type='index'
|
714
|
-
UNION ALL
|
715
|
-
SELECT sql
|
716
|
-
FROM sqlite_temp_master
|
717
|
-
WHERE name='index_rails_marketplace_order_products_on_seller_id' AND type='index'
|
718
|
-
|
719
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
720
|
-
FROM sqlite_master
|
721
|
-
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
722
|
-
UNION ALL
|
723
|
-
SELECT sql
|
724
|
-
FROM sqlite_temp_master
|
725
|
-
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
726
|
-
[0m
|
727
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
728
|
-
FROM sqlite_master
|
729
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
730
|
-
UNION ALL
|
731
|
-
SELECT sql
|
732
|
-
FROM sqlite_temp_master
|
733
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
734
|
-
|
735
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_order_products_on_seller_id" ON "arails_marketplace_order_products" ("seller_id")[0m
|
736
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "tindex_arails_marketplace_order_products_on_order_id" ON "arails_marketplace_order_products" ("order_id")
|
737
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_order_products_on_product_id" ON "arails_marketplace_order_products" ("product_id")[0m
|
738
|
-
[1m[35m (0.1ms)[0m SELECT * FROM "rails_marketplace_order_products"
|
739
|
-
[1m[36m (0.6ms)[0m [1mDROP TABLE "rails_marketplace_order_products"[0m
|
740
|
-
[1m[35m (0.5ms)[0m CREATE TABLE "rails_marketplace_order_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "order_id" integer, "quantity" integer, "price" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
741
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
742
|
-
FROM sqlite_master
|
743
|
-
WHERE name='tindex_arails_marketplace_order_products_on_product_id' AND type='index'
|
744
|
-
UNION ALL
|
745
|
-
SELECT sql
|
746
|
-
FROM sqlite_temp_master
|
747
|
-
WHERE name='tindex_arails_marketplace_order_products_on_product_id' AND type='index'
|
748
|
-
[0m
|
749
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
750
|
-
FROM sqlite_master
|
751
|
-
WHERE name='tindex_arails_marketplace_order_products_on_order_id' AND type='index'
|
752
|
-
UNION ALL
|
753
|
-
SELECT sql
|
754
|
-
FROM sqlite_temp_master
|
755
|
-
WHERE name='tindex_arails_marketplace_order_products_on_order_id' AND type='index'
|
756
|
-
|
757
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
758
|
-
FROM sqlite_master
|
759
|
-
WHERE name='tindex_arails_marketplace_order_products_on_seller_id' AND type='index'
|
760
|
-
UNION ALL
|
761
|
-
SELECT sql
|
762
|
-
FROM sqlite_temp_master
|
763
|
-
WHERE name='tindex_arails_marketplace_order_products_on_seller_id' AND type='index'
|
764
|
-
[0m
|
765
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_order_products_on_product_id" ON "rails_marketplace_order_products" ("product_id")
|
766
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
767
|
-
FROM sqlite_master
|
768
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
769
|
-
UNION ALL
|
770
|
-
SELECT sql
|
771
|
-
FROM sqlite_temp_master
|
772
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
773
|
-
[0m
|
774
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_order_products_on_order_id" ON "rails_marketplace_order_products" ("order_id")
|
775
|
-
[1m[36m (0.2ms)[0m [1mSELECT * FROM "arails_marketplace_order_products"[0m
|
776
|
-
[1m[35m (0.4ms)[0m DROP TABLE "arails_marketplace_order_products"
|
777
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161207193917"]]
|
778
|
-
[1m[35m (130.8ms)[0m commit transaction
|
779
|
-
Migrating to AddPriceToCartProducts (20161208012601)
|
780
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
781
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "rails_marketplace_cart_products" ADD "price" decimal(8,2)
|
782
|
-
[1m[36m (0.3ms)[0m [1mCREATE TEMPORARY TABLE "arails_marketplace_order_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "order_id" integer, "quantity" integer, "price" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
783
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
784
|
-
FROM sqlite_master
|
785
|
-
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
786
|
-
UNION ALL
|
787
|
-
SELECT sql
|
788
|
-
FROM sqlite_temp_master
|
789
|
-
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
790
|
-
|
791
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
792
|
-
FROM sqlite_master
|
793
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
794
|
-
UNION ALL
|
795
|
-
SELECT sql
|
796
|
-
FROM sqlite_temp_master
|
797
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
798
|
-
[0m
|
799
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "tindex_arails_marketplace_order_products_on_order_id" ON "arails_marketplace_order_products" ("order_id")
|
800
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_order_products_on_product_id" ON "arails_marketplace_order_products" ("product_id")[0m
|
801
|
-
[1m[35m (0.1ms)[0m SELECT * FROM "rails_marketplace_order_products"
|
802
|
-
[1m[36m (0.5ms)[0m [1mDROP TABLE "rails_marketplace_order_products"[0m
|
803
|
-
[1m[35m (0.3ms)[0m CREATE TABLE "rails_marketplace_order_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "order_id" integer, "quantity" integer, "price" decimal(8,2), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
804
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
805
|
-
FROM sqlite_master
|
806
|
-
WHERE name='tindex_arails_marketplace_order_products_on_product_id' AND type='index'
|
807
|
-
UNION ALL
|
808
|
-
SELECT sql
|
809
|
-
FROM sqlite_temp_master
|
810
|
-
WHERE name='tindex_arails_marketplace_order_products_on_product_id' AND type='index'
|
811
|
-
[0m
|
812
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
813
|
-
FROM sqlite_master
|
814
|
-
WHERE name='tindex_arails_marketplace_order_products_on_order_id' AND type='index'
|
815
|
-
UNION ALL
|
816
|
-
SELECT sql
|
817
|
-
FROM sqlite_temp_master
|
818
|
-
WHERE name='tindex_arails_marketplace_order_products_on_order_id' AND type='index'
|
819
|
-
|
820
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_order_products_on_product_id" ON "rails_marketplace_order_products" ("product_id")[0m
|
821
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
822
|
-
FROM sqlite_master
|
823
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
824
|
-
UNION ALL
|
825
|
-
SELECT sql
|
826
|
-
FROM sqlite_temp_master
|
827
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
828
|
-
|
829
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_order_products_on_order_id" ON "rails_marketplace_order_products" ("order_id")[0m
|
830
|
-
[1m[35m (0.2ms)[0m SELECT * FROM "arails_marketplace_order_products"
|
831
|
-
[1m[36m (0.3ms)[0m [1mDROP TABLE "arails_marketplace_order_products"[0m
|
832
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161208012601"]]
|
833
|
-
[1m[36m (129.5ms)[0m [1mcommit transaction[0m
|
834
|
-
Migrating to AddMoneyToCartProducts (20161208013402)
|
835
|
-
[1m[35m (0.1ms)[0m begin transaction
|
836
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161208013402"]]
|
837
|
-
[1m[35m (111.5ms)[0m commit transaction
|
838
|
-
Migrating to CreateSellerSettings (20170217183953)
|
839
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
840
|
-
[1m[35m (0.6ms)[0m CREATE TABLE "rails_marketplace_seller_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "store_name" varchar, "store_customer_email" varchar, "shipping_origin_company_name" varchar, "shipping_origin_address1" varchar, "shipping_origin_address2" varchar, "shipping_origin_city" varchar, "shipping_origin_zip" varchar, "shipping_origin_country" varchar, "shipping_origin_state" varchar, "shipping_origin_phone" varchar, "shipping_standard_enabled" boolean, "shipping_standard_fee" varchar, "shipping_standard_delivery_date" varchar, "shipping_expediate_enabled" boolean, "shipping_expediate_fee" varchar, "shipping_expediate_delivery_date" varchar, "store_status" varchar)
|
841
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170217183953"]]
|
842
|
-
[1m[35m (140.9ms)[0m commit transaction
|
843
|
-
Migrating to CreateAdminSettings (20170218003202)
|
844
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
845
|
-
[1m[35m (0.9ms)[0m CREATE TABLE "rails_marketplace_admin_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "timezone" varchar, "unit_system" varchar, "weight_unit" varchar, "order_prefix" varchar, "order_suffix" varchar, "checkout_customer_account" varchar, "checkout_req_last_name" varchar, "checkout_req_company_name" varchar, "checkout_req_address2" varchar, "checkout_req_phone" varchar, "checkout_same_shipping_billing" boolean, "checkout_agree_promotion" varchar, "refund_policy" text, "privacy_policy" text, "terms_of_service" text)
|
846
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170218003202"]]
|
847
|
-
[1m[35m (161.4ms)[0m commit transaction
|
848
|
-
Migrating to CreateStripeManagedAccounts (20170224230449)
|
849
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
850
|
-
[1m[35m (0.5ms)[0m CREATE TABLE "rails_marketplace_stripe_managed_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" varchar, "secret_key" varchar, "public_key" varchar)
|
851
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170224230449"]]
|
852
|
-
[1m[35m (140.7ms)[0m commit transaction
|
853
|
-
Migrating to AddStripeToAdminSettings (20170224233736)
|
854
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
855
|
-
[1m[35m (0.4ms)[0m CREATE TEMPORARY TABLE "arails_marketplace_admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "password" varchar, "password_digest" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "stripe_publishable_key" varchar, "stripe_secret_key" varchar)
|
856
|
-
[1m[36m (0.2ms)[0m [1mSELECT * FROM "rails_marketplace_admins"[0m
|
857
|
-
[1m[35m (0.4ms)[0m DROP TABLE "rails_marketplace_admins"
|
858
|
-
[1m[36m (0.5ms)[0m [1mCREATE TABLE "rails_marketplace_admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "password" varchar, "password_digest" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "stripe_secret_key" varchar) [0m
|
859
|
-
[1m[35m (0.2ms)[0m SELECT * FROM "arails_marketplace_admins"
|
860
|
-
[1m[36m (0.3ms)[0m [1mDROP TABLE "arails_marketplace_admins"[0m
|
861
|
-
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "arails_marketplace_admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "password" varchar, "password_digest" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "stripe_secret_key" varchar)
|
862
|
-
[1m[36m (0.1ms)[0m [1mSELECT * FROM "rails_marketplace_admins"[0m
|
863
|
-
[1m[35m (2.0ms)[0m DROP TABLE "rails_marketplace_admins"
|
864
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "rails_marketplace_admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "password" varchar, "password_digest" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
865
|
-
[1m[35m (0.1ms)[0m SELECT * FROM "arails_marketplace_admins"
|
866
|
-
[1m[36m (0.2ms)[0m [1mDROP TABLE "arails_marketplace_admins"[0m
|
867
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "rails_marketplace_admin_settings" ADD "stripe_publishable_key" varchar
|
868
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_admin_settings" ADD "stripe_secret_key" varchar[0m
|
869
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170224233736"]]
|
870
|
-
[1m[36m (135.0ms)[0m [1mcommit transaction[0m
|
871
|
-
Migrating to AddIdToSettings (20170224235259)
|
872
|
-
[1m[35m (0.1ms)[0m begin transaction
|
873
|
-
[1m[36m (0.6ms)[0m [1mALTER TABLE "rails_marketplace_admin_settings" ADD "admin_id" varchar[0m
|
874
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "rails_marketplace_seller_settings" ADD "seller_id" varchar
|
875
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170224235259"]]
|
876
|
-
[1m[35m (119.3ms)[0m commit transaction
|
877
|
-
Migrating to DeleteStripeAccounts (20170225002939)
|
878
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
879
|
-
[1m[35m (0.5ms)[0m DROP TABLE "rails_marketplace_stripe_managed_accounts"
|
880
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "rails_marketplace_seller_settings" ADD "stripe_publishable_key" varchar[0m
|
881
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "rails_marketplace_seller_settings" ADD "stripe_secret_key" varchar
|
882
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170225002939"]]
|
883
|
-
[1m[35m (129.7ms)[0m commit transaction
|
884
|
-
Migrating to AddStripeAccountIdToSellerSettings (20170225003252)
|
885
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
886
|
-
[1m[35m (0.6ms)[0m ALTER TABLE "rails_marketplace_seller_settings" ADD "stripe_account_id" varchar
|
887
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170225003252"]]
|
888
|
-
[1m[35m (130.9ms)[0m commit transaction
|
889
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
890
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
891
|
-
FROM sqlite_master
|
892
|
-
WHERE name='index_rails_marketplace_cart_products_on_cart_id' AND type='index'
|
893
|
-
UNION ALL
|
894
|
-
SELECT sql
|
895
|
-
FROM sqlite_temp_master
|
896
|
-
WHERE name='index_rails_marketplace_cart_products_on_cart_id' AND type='index'
|
897
|
-
|
898
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
899
|
-
FROM sqlite_master
|
900
|
-
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
901
|
-
UNION ALL
|
902
|
-
SELECT sql
|
903
|
-
FROM sqlite_temp_master
|
904
|
-
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
905
|
-
[0m
|
906
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
907
|
-
FROM sqlite_master
|
908
|
-
WHERE name='index_rails_marketplace_carts_on_customer_id' AND type='index'
|
909
|
-
UNION ALL
|
910
|
-
SELECT sql
|
911
|
-
FROM sqlite_temp_master
|
912
|
-
WHERE name='index_rails_marketplace_carts_on_customer_id' AND type='index'
|
913
|
-
|
914
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
915
|
-
FROM sqlite_master
|
916
|
-
WHERE name='index_rails_marketplace_categories_on_slug' AND type='index'
|
917
|
-
UNION ALL
|
918
|
-
SELECT sql
|
919
|
-
FROM sqlite_temp_master
|
920
|
-
WHERE name='index_rails_marketplace_categories_on_slug' AND type='index'
|
921
|
-
[0m
|
922
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
923
|
-
FROM sqlite_master
|
924
|
-
WHERE name='index_rails_marketplace_categories_on_parent_id' AND type='index'
|
925
|
-
UNION ALL
|
926
|
-
SELECT sql
|
927
|
-
FROM sqlite_temp_master
|
928
|
-
WHERE name='index_rails_marketplace_categories_on_parent_id' AND type='index'
|
929
|
-
|
930
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
931
|
-
FROM sqlite_master
|
932
|
-
WHERE name='index_rails_marketplace_category_products_on_category_id' AND type='index'
|
933
|
-
UNION ALL
|
934
|
-
SELECT sql
|
935
|
-
FROM sqlite_temp_master
|
936
|
-
WHERE name='index_rails_marketplace_category_products_on_category_id' AND type='index'
|
937
|
-
[0m
|
938
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
939
|
-
FROM sqlite_master
|
940
|
-
WHERE name='index_rails_marketplace_category_products_on_product_id' AND type='index'
|
941
|
-
UNION ALL
|
942
|
-
SELECT sql
|
943
|
-
FROM sqlite_temp_master
|
944
|
-
WHERE name='index_rails_marketplace_category_products_on_product_id' AND type='index'
|
945
|
-
|
946
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
947
|
-
FROM sqlite_master
|
948
|
-
WHERE name='index_rails_marketplace_friendly_id_slugs_on_sluggable_id' AND type='index'
|
949
|
-
UNION ALL
|
950
|
-
SELECT sql
|
951
|
-
FROM sqlite_temp_master
|
952
|
-
WHERE name='index_rails_marketplace_friendly_id_slugs_on_sluggable_id' AND type='index'
|
953
|
-
[0m
|
954
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
955
|
-
FROM sqlite_master
|
956
|
-
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
957
|
-
UNION ALL
|
958
|
-
SELECT sql
|
959
|
-
FROM sqlite_temp_master
|
960
|
-
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
961
|
-
|
962
|
-
[1m[36m (0.3ms)[0m [1m SELECT sql
|
963
|
-
FROM sqlite_master
|
964
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
965
|
-
UNION ALL
|
966
|
-
SELECT sql
|
967
|
-
FROM sqlite_temp_master
|
968
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
969
|
-
[0m
|
970
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
971
|
-
FROM sqlite_master
|
972
|
-
WHERE name='index_rails_marketplace_orders_on_seller_id' AND type='index'
|
973
|
-
UNION ALL
|
974
|
-
SELECT sql
|
975
|
-
FROM sqlite_temp_master
|
976
|
-
WHERE name='index_rails_marketplace_orders_on_seller_id' AND type='index'
|
977
|
-
|
978
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
979
|
-
FROM sqlite_master
|
980
|
-
WHERE name='index_rails_marketplace_orders_on_customer_id' AND type='index'
|
981
|
-
UNION ALL
|
982
|
-
SELECT sql
|
983
|
-
FROM sqlite_temp_master
|
984
|
-
WHERE name='index_rails_marketplace_orders_on_customer_id' AND type='index'
|
985
|
-
[0m
|
986
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
987
|
-
FROM sqlite_master
|
988
|
-
WHERE name='index_rails_marketplace_products_on_slug' AND type='index'
|
989
|
-
UNION ALL
|
990
|
-
SELECT sql
|
991
|
-
FROM sqlite_temp_master
|
992
|
-
WHERE name='index_rails_marketplace_products_on_slug' AND type='index'
|
993
|
-
|
994
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
995
|
-
FROM sqlite_master
|
996
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
997
|
-
UNION ALL
|
998
|
-
SELECT sql
|
999
|
-
FROM sqlite_temp_master
|
1000
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
1001
|
-
[0m
|
1002
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
1003
|
-
FROM sqlite_master
|
1004
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
1005
|
-
UNION ALL
|
1006
|
-
SELECT sql
|
1007
|
-
FROM sqlite_temp_master
|
1008
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
1009
|
-
|
1010
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
1011
|
-
FROM sqlite_master
|
1012
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
1013
|
-
UNION ALL
|
1014
|
-
SELECT sql
|
1015
|
-
FROM sqlite_temp_master
|
1016
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
1017
|
-
[0m
|
1018
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1019
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1020
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1021
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1022
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1023
|
-
[1m[35m (0.2ms)[0m begin transaction
|
1024
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1025
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1026
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1027
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1028
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1029
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1030
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1031
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1032
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1033
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1034
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1035
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1036
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1037
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1038
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1039
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1040
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1041
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1042
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1043
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1044
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1045
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1046
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "rails_marketplace_carts"[0m
|
1047
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1048
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1049
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1050
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1051
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
1052
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1053
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1054
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1055
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1056
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "rails_marketplace_carts"[0m
|
1057
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1058
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1059
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
1060
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1061
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1062
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "rails_marketplace_carts"[0m
|
1063
|
-
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1064
|
-
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1065
|
-
[1m[35mRailsMarketplace::Cart Load (0.3ms)[0m SELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1 [["id", nil]]
|
1066
|
-
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1067
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-03-15 19:10:37.522710"], ["updated_at", "2017-03-15 19:10:37.522710"]]
|
1068
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1069
|
-
[1m[35mRailsMarketplace::CartProduct Load (0.4ms)[0m SELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1 [["cart_id", 1]]
|
1070
|
-
Completed 500 Internal Server Error in 159ms (ActiveRecord: 2.1ms)
|
1071
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1072
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1073
|
-
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1074
|
-
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1075
|
-
[1m[36mRailsMarketplace::Cart Load (0.1ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1076
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1077
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 19:10:37.627137"], ["updated_at", "2017-03-15 19:10:37.627137"]]
|
1078
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1079
|
-
[1m[36mRailsMarketplace::CartProduct Load (0.1ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1080
|
-
[1m[35mRailsMarketplace::Product Load (0.3ms)[0m SELECT "rails_marketplace_products".* FROM "rails_marketplace_products" WHERE "rails_marketplace_products"."id" = ? LIMIT 1 [["id", 1]]
|
1081
|
-
Completed 404 Not Found in 10ms (ActiveRecord: 1.3ms)
|
1082
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1083
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1084
|
-
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1085
|
-
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1086
|
-
[1m[36mRailsMarketplace::Cart Load (0.2ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1087
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1088
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 19:10:37.641704"], ["updated_at", "2017-03-15 19:10:37.641704"]]
|
1089
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1090
|
-
[1m[36mRailsMarketplace::CartProduct Load (0.1ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1091
|
-
[1m[35mRailsMarketplace::Product Load (0.1ms)[0m SELECT "rails_marketplace_products".* FROM "rails_marketplace_products" WHERE "rails_marketplace_products"."id" = ? LIMIT 1 [["id", 1]]
|
1092
|
-
Completed 404 Not Found in 7ms (ActiveRecord: 0.8ms)
|
1093
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1094
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1095
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1096
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "rails_marketplace_carts"[0m
|
1097
|
-
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1098
|
-
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1099
|
-
[1m[35mRailsMarketplace::Cart Load (0.2ms)[0m SELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1 [["id", nil]]
|
1100
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1101
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-03-15 19:18:55.721988"], ["updated_at", "2017-03-15 19:18:55.721988"]]
|
1102
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1103
|
-
[1m[35mRailsMarketplace::CartProduct Load (0.3ms)[0m SELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1 [["cart_id", 1]]
|
1104
|
-
Completed 500 Internal Server Error in 98ms (ActiveRecord: 2.1ms)
|
1105
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1106
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1107
|
-
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1108
|
-
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1109
|
-
[1m[36mRailsMarketplace::Cart Load (0.1ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1110
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1111
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 19:18:55.763461"], ["updated_at", "2017-03-15 19:18:55.763461"]]
|
1112
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1113
|
-
[1m[36mRailsMarketplace::CartProduct Load (0.1ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1114
|
-
[1m[35mRailsMarketplace::Product Load (0.2ms)[0m SELECT "rails_marketplace_products".* FROM "rails_marketplace_products" WHERE "rails_marketplace_products"."id" = ? LIMIT 1 [["id", 1]]
|
1115
|
-
Completed 404 Not Found in 8ms (ActiveRecord: 1.1ms)
|
1116
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1117
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1118
|
-
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1119
|
-
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1120
|
-
[1m[36mRailsMarketplace::Cart Load (0.1ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1121
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1122
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 19:18:55.776896"], ["updated_at", "2017-03-15 19:18:55.776896"]]
|
1123
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1124
|
-
[1m[36mRailsMarketplace::CartProduct Load (0.1ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1125
|
-
[1m[35mRailsMarketplace::Product Load (0.1ms)[0m SELECT "rails_marketplace_products".* FROM "rails_marketplace_products" WHERE "rails_marketplace_products"."id" = ? LIMIT 1 [["id", 1]]
|
1126
|
-
Completed 404 Not Found in 7ms (ActiveRecord: 0.7ms)
|
1127
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1128
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1129
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1130
|
-
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1131
|
-
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1132
|
-
[1m[36mRailsMarketplace::Cart Load (0.2ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1133
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1134
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 19:20:04.277347"], ["updated_at", "2017-03-15 19:20:04.277347"]]
|
1135
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1136
|
-
[1m[36mRailsMarketplace::CartProduct Load (0.3ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1137
|
-
Completed 500 Internal Server Error in 66ms (ActiveRecord: 2.1ms)
|
1138
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
1139
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1140
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "rails_marketplace_carts"
|
1141
|
-
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1142
|
-
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1143
|
-
[1m[36mRailsMarketplace::Cart Load (0.1ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1144
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1145
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 19:20:04.324430"], ["updated_at", "2017-03-15 19:20:04.324430"]]
|
1146
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1147
|
-
[1m[36mRailsMarketplace::CartProduct Load (0.1ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1148
|
-
[1m[35mRailsMarketplace::Product Load (0.4ms)[0m SELECT "rails_marketplace_products".* FROM "rails_marketplace_products" WHERE "rails_marketplace_products"."id" = ? LIMIT 1 [["id", 1]]
|
1149
|
-
Completed 404 Not Found in 10ms (ActiveRecord: 1.4ms)
|
1150
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1151
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1152
|
-
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1153
|
-
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1154
|
-
[1m[36mRailsMarketplace::Cart Load (0.1ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1155
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1156
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 19:20:04.339022"], ["updated_at", "2017-03-15 19:20:04.339022"]]
|
1157
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1158
|
-
[1m[36mRailsMarketplace::CartProduct Load (0.1ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1159
|
-
[1m[35mRailsMarketplace::Product Load (0.1ms)[0m SELECT "rails_marketplace_products".* FROM "rails_marketplace_products" WHERE "rails_marketplace_products"."id" = ? LIMIT 1 [["id", 1]]
|
1160
|
-
Completed 404 Not Found in 7ms (ActiveRecord: 0.8ms)
|
1161
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1162
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1163
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1164
|
-
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1165
|
-
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1166
|
-
[1m[36mRailsMarketplace::Cart Load (0.2ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1167
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1168
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 19:26:27.752107"], ["updated_at", "2017-03-15 19:26:27.752107"]]
|
1169
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1170
|
-
[1m[36mRailsMarketplace::CartProduct Load (0.3ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1171
|
-
Completed 500 Internal Server Error in 79ms (ActiveRecord: 2.2ms)
|
1172
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
1173
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1174
|
-
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "rails_marketplace_carts"
|
1175
|
-
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1176
|
-
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1177
|
-
[1m[36mRailsMarketplace::Cart Load (0.1ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1178
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1179
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 19:26:27.810636"], ["updated_at", "2017-03-15 19:26:27.810636"]]
|
1180
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1181
|
-
[1m[36mRailsMarketplace::CartProduct Load (0.1ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1182
|
-
[1m[35mRailsMarketplace::Product Load (0.3ms)[0m SELECT "rails_marketplace_products".* FROM "rails_marketplace_products" WHERE "rails_marketplace_products"."id" = ? LIMIT 1 [["id", 1]]
|
1183
|
-
Completed 404 Not Found in 10ms (ActiveRecord: 1.3ms)
|
1184
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1185
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1186
|
-
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1187
|
-
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1188
|
-
[1m[36mRailsMarketplace::Cart Load (0.1ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1189
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1190
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 19:26:27.825288"], ["updated_at", "2017-03-15 19:26:27.825288"]]
|
1191
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1192
|
-
[1m[36mRailsMarketplace::CartProduct Load (0.1ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1193
|
-
[1m[35mRailsMarketplace::Product Load (0.1ms)[0m SELECT "rails_marketplace_products".* FROM "rails_marketplace_products" WHERE "rails_marketplace_products"."id" = ? LIMIT 1 [["id", 1]]
|
1194
|
-
Completed 404 Not Found in 7ms (ActiveRecord: 0.7ms)
|
1195
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1196
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1197
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1198
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "rails_marketplace_carts"[0m
|
1199
|
-
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1200
|
-
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1201
|
-
[1m[35mRailsMarketplace::Cart Load (0.2ms)[0m SELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1 [["id", nil]]
|
1202
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1203
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-03-15 20:14:13.341559"], ["updated_at", "2017-03-15 20:14:13.341559"]]
|
1204
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1205
|
-
[1m[35mRailsMarketplace::CartProduct Load (0.3ms)[0m SELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1 [["cart_id", 1]]
|
1206
|
-
Completed 500 Internal Server Error in 104ms (ActiveRecord: 2.1ms)
|
1207
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1208
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1209
|
-
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1210
|
-
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1211
|
-
[1m[36mRailsMarketplace::Cart Load (0.1ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1212
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1213
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 20:14:13.434374"], ["updated_at", "2017-03-15 20:14:13.434374"]]
|
1214
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1215
|
-
[1m[36mRailsMarketplace::CartProduct Load (0.1ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1216
|
-
[1m[35mRailsMarketplace::Product Load (0.3ms)[0m SELECT "rails_marketplace_products".* FROM "rails_marketplace_products" WHERE "rails_marketplace_products"."id" = ? LIMIT 1 [["id", 1]]
|
1217
|
-
Completed 404 Not Found in 10ms (ActiveRecord: 1.3ms)
|
1218
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1219
|
-
[1m[35m (0.1ms)[0m begin transaction
|
1220
|
-
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1221
|
-
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1222
|
-
[1m[36mRailsMarketplace::Cart Load (0.1ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1223
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1224
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 20:14:13.448990"], ["updated_at", "2017-03-15 20:14:13.448990"]]
|
1225
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1226
|
-
[1m[36mRailsMarketplace::CartProduct Load (0.1ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1227
|
-
[1m[35mRailsMarketplace::Product Load (0.1ms)[0m SELECT "rails_marketplace_products".* FROM "rails_marketplace_products" WHERE "rails_marketplace_products"."id" = ? LIMIT 1 [["id", 1]]
|
1228
|
-
Completed 404 Not Found in 7ms (ActiveRecord: 0.7ms)
|
1229
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1
|
+
[1m[36m (129.1ms)[0m [1mCREATE TABLE "rails_marketplace_admin_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "timezone" varchar, "unit_system" varchar, "weight_unit" varchar, "order_prefix" varchar, "order_suffix" varchar, "checkout_customer_account" varchar, "checkout_req_last_name" varchar, "checkout_req_company_name" varchar, "checkout_req_address2" varchar, "checkout_req_phone" varchar, "checkout_same_shipping_billing" boolean, "checkout_agree_promotion" varchar, "refund_policy" text, "privacy_policy" text, "terms_of_service" text, "stripe_publishable_key" varchar, "stripe_secret_key" varchar, "admin_id" varchar) [0m
|
2
|
+
[1m[35m (134.7ms)[0m CREATE TABLE "rails_marketplace_admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "password" varchar, "password_digest" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
3
|
+
[1m[36m (110.9ms)[0m [1mCREATE TABLE "rails_marketplace_cart_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "quantity" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "price" decimal(8,2)) [0m
|
4
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
5
|
+
[1m[36m (121.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_cart_products_on_cart_id" ON "rails_marketplace_cart_products" ("cart_id")[0m
|
6
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
7
|
+
FROM sqlite_master
|
8
|
+
WHERE name='index_rails_marketplace_cart_products_on_cart_id' AND type='index'
|
9
|
+
UNION ALL
|
10
|
+
SELECT sql
|
11
|
+
FROM sqlite_temp_master
|
12
|
+
WHERE name='index_rails_marketplace_cart_products_on_cart_id' AND type='index'
|
13
|
+
|
14
|
+
[1m[36m (132.4ms)[0m [1mCREATE INDEX "index_rails_marketplace_cart_products_on_product_id" ON "rails_marketplace_cart_products" ("product_id")[0m
|
15
|
+
[1m[35m (133.2ms)[0m CREATE TABLE "rails_marketplace_carts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
16
|
+
[1m[36m (122.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_carts_on_customer_id" ON "rails_marketplace_carts" ("customer_id")[0m
|
17
|
+
[1m[35m (132.0ms)[0m CREATE TABLE "rails_marketplace_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "description" text, "image" varchar, "parent_id" integer, "depth" integer DEFAULT 0 NOT NULL, "slug" varchar)
|
18
|
+
[1m[36m (111.1ms)[0m [1mCREATE INDEX "index_rails_marketplace_categories_on_parent_id" ON "rails_marketplace_categories" ("parent_id")[0m
|
19
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
20
|
+
FROM sqlite_master
|
21
|
+
WHERE name='index_rails_marketplace_categories_on_parent_id' AND type='index'
|
22
|
+
UNION ALL
|
23
|
+
SELECT sql
|
24
|
+
FROM sqlite_temp_master
|
25
|
+
WHERE name='index_rails_marketplace_categories_on_parent_id' AND type='index'
|
26
|
+
|
27
|
+
[1m[36m (121.6ms)[0m [1mCREATE UNIQUE INDEX "index_rails_marketplace_categories_on_slug" ON "rails_marketplace_categories" ("slug")[0m
|
28
|
+
[1m[35m (133.4ms)[0m CREATE TABLE "rails_marketplace_category_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "category_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
29
|
+
[1m[36m (133.1ms)[0m [1mCREATE INDEX "index_rails_marketplace_category_products_on_category_id" ON "rails_marketplace_category_products" ("category_id")[0m
|
30
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
31
|
+
FROM sqlite_master
|
32
|
+
WHERE name='index_rails_marketplace_category_products_on_category_id' AND type='index'
|
33
|
+
UNION ALL
|
34
|
+
SELECT sql
|
35
|
+
FROM sqlite_temp_master
|
36
|
+
WHERE name='index_rails_marketplace_category_products_on_category_id' AND type='index'
|
37
|
+
|
38
|
+
[1m[36m (132.7ms)[0m [1mCREATE INDEX "index_rails_marketplace_category_products_on_product_id" ON "rails_marketplace_category_products" ("product_id")[0m
|
39
|
+
[1m[35m (135.0ms)[0m CREATE TABLE "rails_marketplace_customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password" varchar, "phone_number" varchar, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40
|
+
[1m[36m (133.0ms)[0m [1mCREATE TABLE "rails_marketplace_friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar, "created_at" datetime) [0m
|
41
|
+
[1m[35m (133.4ms)[0m CREATE INDEX "index_rails_marketplace_friendly_id_slugs_on_sluggable_id" ON "rails_marketplace_friendly_id_slugs" ("sluggable_id")
|
42
|
+
[1m[36m (167.5ms)[0m [1mCREATE TABLE "rails_marketplace_order_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "order_id" integer, "quantity" integer, "price" decimal(8,2), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
43
|
+
[1m[35m (133.4ms)[0m CREATE INDEX "index_rails_marketplace_order_products_on_order_id" ON "rails_marketplace_order_products" ("order_id")
|
44
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
45
|
+
FROM sqlite_master
|
46
|
+
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
47
|
+
UNION ALL
|
48
|
+
SELECT sql
|
49
|
+
FROM sqlite_temp_master
|
50
|
+
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
51
|
+
[0m
|
52
|
+
[1m[35m (132.7ms)[0m CREATE INDEX "index_rails_marketplace_order_products_on_product_id" ON "rails_marketplace_order_products" ("product_id")
|
53
|
+
[1m[36m (133.0ms)[0m [1mCREATE TABLE "rails_marketplace_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "customer_id" integer, "email" varchar, "fullname" varchar, "address1" varchar, "address2" varchar, "city" varchar, "state" varchar, "zip" varchar, "country" varchar, "phone" varchar, "shipping_method" varchar, "is_gift" boolean, "gift_message" text, "seller_id" integer) [0m
|
54
|
+
[1m[35m (166.6ms)[0m CREATE INDEX "index_rails_marketplace_orders_on_customer_id" ON "rails_marketplace_orders" ("customer_id")
|
55
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
56
|
+
FROM sqlite_master
|
57
|
+
WHERE name='index_rails_marketplace_orders_on_customer_id' AND type='index'
|
58
|
+
UNION ALL
|
59
|
+
SELECT sql
|
60
|
+
FROM sqlite_temp_master
|
61
|
+
WHERE name='index_rails_marketplace_orders_on_customer_id' AND type='index'
|
62
|
+
[0m
|
63
|
+
[1m[35m (132.5ms)[0m CREATE INDEX "index_rails_marketplace_orders_on_seller_id" ON "rails_marketplace_orders" ("seller_id")
|
64
|
+
[1m[36m (133.3ms)[0m [1mCREATE TABLE "rails_marketplace_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "images" text, "price" decimal(8,2), "quantity" integer, "files" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "seller_id" integer, "slug" varchar) [0m
|
65
|
+
[1m[35m (111.0ms)[0m CREATE INDEX "index_rails_marketplace_products_on_price" ON "rails_marketplace_products" ("price")
|
66
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
67
|
+
FROM sqlite_master
|
68
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
69
|
+
UNION ALL
|
70
|
+
SELECT sql
|
71
|
+
FROM sqlite_temp_master
|
72
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
73
|
+
[0m
|
74
|
+
[1m[35m (134.6ms)[0m CREATE INDEX "index_rails_marketplace_products_on_seller_id" ON "rails_marketplace_products" ("seller_id")
|
75
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
76
|
+
FROM sqlite_master
|
77
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
78
|
+
UNION ALL
|
79
|
+
SELECT sql
|
80
|
+
FROM sqlite_temp_master
|
81
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
82
|
+
[0m
|
83
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
84
|
+
FROM sqlite_master
|
85
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
86
|
+
UNION ALL
|
87
|
+
SELECT sql
|
88
|
+
FROM sqlite_temp_master
|
89
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
90
|
+
|
91
|
+
[1m[36m (132.2ms)[0m [1mCREATE UNIQUE INDEX "index_rails_marketplace_products_on_slug" ON "rails_marketplace_products" ("slug")[0m
|
92
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
93
|
+
FROM sqlite_master
|
94
|
+
WHERE name='index_rails_marketplace_products_on_slug' AND type='index'
|
95
|
+
UNION ALL
|
96
|
+
SELECT sql
|
97
|
+
FROM sqlite_temp_master
|
98
|
+
WHERE name='index_rails_marketplace_products_on_slug' AND type='index'
|
99
|
+
|
100
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
101
|
+
FROM sqlite_master
|
102
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
103
|
+
UNION ALL
|
104
|
+
SELECT sql
|
105
|
+
FROM sqlite_temp_master
|
106
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
107
|
+
[0m
|
108
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
109
|
+
FROM sqlite_master
|
110
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
111
|
+
UNION ALL
|
112
|
+
SELECT sql
|
113
|
+
FROM sqlite_temp_master
|
114
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
115
|
+
|
116
|
+
[1m[36m (131.7ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_title" ON "rails_marketplace_products" ("title")[0m
|
117
|
+
[1m[35m (110.5ms)[0m CREATE TABLE "rails_marketplace_seller_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "store_name" varchar, "store_customer_email" varchar, "shipping_origin_company_name" varchar, "shipping_origin_address1" varchar, "shipping_origin_address2" varchar, "shipping_origin_city" varchar, "shipping_origin_zip" varchar, "shipping_origin_country" varchar, "shipping_origin_state" varchar, "shipping_origin_phone" varchar, "shipping_standard_enabled" boolean, "shipping_standard_fee" varchar, "shipping_standard_delivery_date" varchar, "shipping_expediate_enabled" boolean, "shipping_expediate_fee" varchar, "shipping_expediate_delivery_date" varchar, "store_status" varchar, "seller_id" varchar, "stripe_publishable_key" varchar, "stripe_secret_key" varchar, "stripe_account_id" varchar)
|
118
|
+
[1m[36m (133.2ms)[0m [1mCREATE TABLE "rails_marketplace_sellers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password" varchar, "password_digest" varchar, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
119
|
+
[1m[35m (113.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
120
|
+
[1m[36m (122.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
121
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
122
|
+
[1m[36m (133.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20170225003252')[0m
|
123
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
124
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
125
|
+
Migrating to CreateSellers (20161013194852)
|
126
|
+
[1m[35m (0.1ms)[0m begin transaction
|
127
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "rails_marketplace_sellers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password" varchar, "password_digest" varchar, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
128
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
129
|
+
[1m[36m (132.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
130
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
131
|
+
[1m[36m (132.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
132
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
133
|
+
Migrating to CreateSellers (20161013194852)
|
134
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
135
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "rails_marketplace_sellers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password" varchar, "password_digest" varchar, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
136
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161013194852"]]
|
137
|
+
[1m[35m (135.6ms)[0m commit transaction
|
138
|
+
Migrating to CreateCustomers (20161013195006)
|
139
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
140
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "rails_marketplace_customers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password" varchar, "phone_number" varchar, "first_name" varchar, "last_name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
141
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161013195006"]]
|
142
|
+
[1m[35m (130.3ms)[0m commit transaction
|
143
|
+
Migrating to CreateOrders (20161013195758)
|
144
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
145
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "rails_marketplace_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
146
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161013195758"]]
|
147
|
+
[1m[35m (130.7ms)[0m commit transaction
|
148
|
+
Migrating to CreateCategoryProducts (20161014013032)
|
149
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
150
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "rails_marketplace_category_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "category_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
151
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_category_products_on_product_id" ON "rails_marketplace_category_products" ("product_id")[0m
|
152
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
153
|
+
FROM sqlite_master
|
154
|
+
WHERE name='index_rails_marketplace_category_products_on_product_id' AND type='index'
|
155
|
+
UNION ALL
|
156
|
+
SELECT sql
|
157
|
+
FROM sqlite_temp_master
|
158
|
+
WHERE name='index_rails_marketplace_category_products_on_product_id' AND type='index'
|
159
|
+
|
160
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_category_products_on_category_id" ON "rails_marketplace_category_products" ("category_id")[0m
|
161
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161014013032"]]
|
162
|
+
[1m[36m (140.8ms)[0m [1mcommit transaction[0m
|
163
|
+
Migrating to CreateOrderProducts (20161014013058)
|
164
|
+
[1m[35m (0.1ms)[0m begin transaction
|
165
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "rails_marketplace_order_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "order_id" integer, "seller_id" integer, "quantity" integer, "price" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
166
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_order_products_on_product_id" ON "rails_marketplace_order_products" ("product_id")
|
167
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
168
|
+
FROM sqlite_master
|
169
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
170
|
+
UNION ALL
|
171
|
+
SELECT sql
|
172
|
+
FROM sqlite_temp_master
|
173
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
174
|
+
[0m
|
175
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_order_products_on_order_id" ON "rails_marketplace_order_products" ("order_id")
|
176
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
177
|
+
FROM sqlite_master
|
178
|
+
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
179
|
+
UNION ALL
|
180
|
+
SELECT sql
|
181
|
+
FROM sqlite_temp_master
|
182
|
+
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
183
|
+
[0m
|
184
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
185
|
+
FROM sqlite_master
|
186
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
187
|
+
UNION ALL
|
188
|
+
SELECT sql
|
189
|
+
FROM sqlite_temp_master
|
190
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
191
|
+
|
192
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_order_products_on_seller_id" ON "rails_marketplace_order_products" ("seller_id")[0m
|
193
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161014013058"]]
|
194
|
+
[1m[36m (138.4ms)[0m [1mcommit transaction[0m
|
195
|
+
Migrating to CreateAdmins (20161017185755)
|
196
|
+
[1m[35m (0.1ms)[0m begin transaction
|
197
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "rails_marketplace_admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "password" varchar, "password_digest" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
198
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161017185755"]]
|
199
|
+
[1m[36m (141.1ms)[0m [1mcommit transaction[0m
|
200
|
+
Migrating to CreateProducts (20161017232347)
|
201
|
+
[1m[35m (0.1ms)[0m begin transaction
|
202
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "rails_marketplace_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "images" varchar, "price" decimal(8,2), "quantity" integer, "files" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
203
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "index_rails_marketplace_products_on_title" ON "rails_marketplace_products" ("title")
|
204
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
205
|
+
FROM sqlite_master
|
206
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
207
|
+
UNION ALL
|
208
|
+
SELECT sql
|
209
|
+
FROM sqlite_temp_master
|
210
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
211
|
+
[0m
|
212
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_products_on_price" ON "rails_marketplace_products" ("price")
|
213
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161017232347"]]
|
214
|
+
[1m[35m (150.5ms)[0m commit transaction
|
215
|
+
Migrating to AddReferenceProductSeller (20161019012043)
|
216
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
217
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "rails_marketplace_products" ADD "seller_id" integer
|
218
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
219
|
+
FROM sqlite_master
|
220
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
221
|
+
UNION ALL
|
222
|
+
SELECT sql
|
223
|
+
FROM sqlite_temp_master
|
224
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
225
|
+
[0m
|
226
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
227
|
+
FROM sqlite_master
|
228
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
229
|
+
UNION ALL
|
230
|
+
SELECT sql
|
231
|
+
FROM sqlite_temp_master
|
232
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
233
|
+
|
234
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_seller_id" ON "rails_marketplace_products" ("seller_id")[0m
|
235
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161019012043"]]
|
236
|
+
[1m[36m (151.4ms)[0m [1mcommit transaction[0m
|
237
|
+
Migrating to ChangeDataTypeImagesFiles (20161019013502)
|
238
|
+
[1m[35m (0.1ms)[0m begin transaction
|
239
|
+
[1m[36m (0.9ms)[0m [1mCREATE TEMPORARY TABLE "arails_marketplace_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "images" varchar, "price" decimal(8,2), "quantity" integer, "files" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "seller_id" integer) [0m
|
240
|
+
[1m[35m (0.3ms)[0m SELECT sql
|
241
|
+
FROM sqlite_master
|
242
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
243
|
+
UNION ALL
|
244
|
+
SELECT sql
|
245
|
+
FROM sqlite_temp_master
|
246
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
247
|
+
|
248
|
+
[1m[36m (0.3ms)[0m [1m SELECT sql
|
249
|
+
FROM sqlite_master
|
250
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
251
|
+
UNION ALL
|
252
|
+
SELECT sql
|
253
|
+
FROM sqlite_temp_master
|
254
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
255
|
+
[0m
|
256
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
257
|
+
FROM sqlite_master
|
258
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
259
|
+
UNION ALL
|
260
|
+
SELECT sql
|
261
|
+
FROM sqlite_temp_master
|
262
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
263
|
+
|
264
|
+
[1m[36m (0.4ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_products_on_seller_id" ON "arails_marketplace_products" ("seller_id")[0m
|
265
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "tindex_arails_marketplace_products_on_price" ON "arails_marketplace_products" ("price")
|
266
|
+
[1m[36m (0.4ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_products_on_title" ON "arails_marketplace_products" ("title")[0m
|
267
|
+
[1m[35m (0.3ms)[0m SELECT * FROM "rails_marketplace_products"
|
268
|
+
[1m[36m (0.6ms)[0m [1mDROP TABLE "rails_marketplace_products"[0m
|
269
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "rails_marketplace_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "images" text, "price" decimal(8,2), "quantity" integer, "files" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "seller_id" integer)
|
270
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
271
|
+
FROM sqlite_master
|
272
|
+
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
273
|
+
UNION ALL
|
274
|
+
SELECT sql
|
275
|
+
FROM sqlite_temp_master
|
276
|
+
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
277
|
+
[0m
|
278
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
279
|
+
FROM sqlite_master
|
280
|
+
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
281
|
+
UNION ALL
|
282
|
+
SELECT sql
|
283
|
+
FROM sqlite_temp_master
|
284
|
+
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
285
|
+
|
286
|
+
[1m[36m (0.3ms)[0m [1m SELECT sql
|
287
|
+
FROM sqlite_master
|
288
|
+
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
289
|
+
UNION ALL
|
290
|
+
SELECT sql
|
291
|
+
FROM sqlite_temp_master
|
292
|
+
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
293
|
+
[0m
|
294
|
+
[1m[35m (0.4ms)[0m CREATE INDEX "index_rails_marketplace_products_on_title" ON "rails_marketplace_products" ("title")
|
295
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
296
|
+
FROM sqlite_master
|
297
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
298
|
+
UNION ALL
|
299
|
+
SELECT sql
|
300
|
+
FROM sqlite_temp_master
|
301
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
302
|
+
[0m
|
303
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "index_rails_marketplace_products_on_price" ON "rails_marketplace_products" ("price")
|
304
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
305
|
+
FROM sqlite_master
|
306
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
307
|
+
UNION ALL
|
308
|
+
SELECT sql
|
309
|
+
FROM sqlite_temp_master
|
310
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
311
|
+
[0m
|
312
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
313
|
+
FROM sqlite_master
|
314
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
315
|
+
UNION ALL
|
316
|
+
SELECT sql
|
317
|
+
FROM sqlite_temp_master
|
318
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
319
|
+
|
320
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_seller_id" ON "rails_marketplace_products" ("seller_id")[0m
|
321
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "arails_marketplace_products"
|
322
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "arails_marketplace_products"[0m
|
323
|
+
[1m[35m (0.3ms)[0m CREATE TEMPORARY TABLE "arails_marketplace_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "images" text, "price" decimal(8,2), "quantity" integer, "files" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "seller_id" integer)
|
324
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
325
|
+
FROM sqlite_master
|
326
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
327
|
+
UNION ALL
|
328
|
+
SELECT sql
|
329
|
+
FROM sqlite_temp_master
|
330
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
331
|
+
[0m
|
332
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
333
|
+
FROM sqlite_master
|
334
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
335
|
+
UNION ALL
|
336
|
+
SELECT sql
|
337
|
+
FROM sqlite_temp_master
|
338
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
339
|
+
|
340
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
341
|
+
FROM sqlite_master
|
342
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
343
|
+
UNION ALL
|
344
|
+
SELECT sql
|
345
|
+
FROM sqlite_temp_master
|
346
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
347
|
+
[0m
|
348
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "tindex_arails_marketplace_products_on_seller_id" ON "arails_marketplace_products" ("seller_id")
|
349
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_products_on_price" ON "arails_marketplace_products" ("price")[0m
|
350
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "tindex_arails_marketplace_products_on_title" ON "arails_marketplace_products" ("title")
|
351
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "rails_marketplace_products"[0m
|
352
|
+
[1m[35m (0.5ms)[0m DROP TABLE "rails_marketplace_products"
|
353
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "rails_marketplace_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "images" text, "price" decimal(8,2), "quantity" integer, "files" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "seller_id" integer) [0m
|
354
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
355
|
+
FROM sqlite_master
|
356
|
+
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
357
|
+
UNION ALL
|
358
|
+
SELECT sql
|
359
|
+
FROM sqlite_temp_master
|
360
|
+
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
361
|
+
|
362
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
363
|
+
FROM sqlite_master
|
364
|
+
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
365
|
+
UNION ALL
|
366
|
+
SELECT sql
|
367
|
+
FROM sqlite_temp_master
|
368
|
+
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
369
|
+
[0m
|
370
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
371
|
+
FROM sqlite_master
|
372
|
+
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
373
|
+
UNION ALL
|
374
|
+
SELECT sql
|
375
|
+
FROM sqlite_temp_master
|
376
|
+
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
377
|
+
|
378
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_title" ON "rails_marketplace_products" ("title")[0m
|
379
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
380
|
+
FROM sqlite_master
|
381
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
382
|
+
UNION ALL
|
383
|
+
SELECT sql
|
384
|
+
FROM sqlite_temp_master
|
385
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
386
|
+
|
387
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_price" ON "rails_marketplace_products" ("price")[0m
|
388
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
389
|
+
FROM sqlite_master
|
390
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
391
|
+
UNION ALL
|
392
|
+
SELECT sql
|
393
|
+
FROM sqlite_temp_master
|
394
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
395
|
+
|
396
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
397
|
+
FROM sqlite_master
|
398
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
399
|
+
UNION ALL
|
400
|
+
SELECT sql
|
401
|
+
FROM sqlite_temp_master
|
402
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
403
|
+
[0m
|
404
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_products_on_seller_id" ON "rails_marketplace_products" ("seller_id")
|
405
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "arails_marketplace_products"[0m
|
406
|
+
[1m[35m (0.3ms)[0m DROP TABLE "arails_marketplace_products"
|
407
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161019013502"]]
|
408
|
+
[1m[35m (126.7ms)[0m commit transaction
|
409
|
+
Migrating to AddReferenceOrderCustomers (20161019022020)
|
410
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
411
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "customer_id" integer
|
412
|
+
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_rails_marketplace_orders_on_customer_id" ON "rails_marketplace_orders" ("customer_id")[0m
|
413
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161019022020"]]
|
414
|
+
[1m[36m (129.0ms)[0m [1mcommit transaction[0m
|
415
|
+
Migrating to CreateCategories (20161109191644)
|
416
|
+
[1m[35m (0.1ms)[0m begin transaction
|
417
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "rails_marketplace_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "description" text, "image" varchar, "parent_id" integer, "depth" integer DEFAULT 0 NOT NULL) [0m
|
418
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_categories_on_parent_id" ON "rails_marketplace_categories" ("parent_id")
|
419
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161109191644"]]
|
420
|
+
[1m[35m (118.4ms)[0m commit transaction
|
421
|
+
Migrating to CreateFriendlyIdSlugs (20161110021043)
|
422
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
423
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "rails_marketplace_friendly_id_slugs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "slug" varchar NOT NULL, "sluggable_id" integer NOT NULL, "sluggable_type" varchar(50), "scope" varchar, "created_at" datetime)
|
424
|
+
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_rails_marketplace_friendly_id_slugs_on_sluggable_id" ON "rails_marketplace_friendly_id_slugs" ("sluggable_id")[0m
|
425
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161110021043"]]
|
426
|
+
[1m[36m (117.3ms)[0m [1mcommit transaction[0m
|
427
|
+
Migrating to AddSlugToCategory (20161110021131)
|
428
|
+
[1m[35m (0.1ms)[0m begin transaction
|
429
|
+
[1m[36m (0.9ms)[0m [1mALTER TABLE "rails_marketplace_categories" ADD "slug" varchar[0m
|
430
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
431
|
+
FROM sqlite_master
|
432
|
+
WHERE name='index_rails_marketplace_categories_on_parent_id' AND type='index'
|
433
|
+
UNION ALL
|
434
|
+
SELECT sql
|
435
|
+
FROM sqlite_temp_master
|
436
|
+
WHERE name='index_rails_marketplace_categories_on_parent_id' AND type='index'
|
437
|
+
|
438
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "index_rails_marketplace_categories_on_slug" ON "rails_marketplace_categories" ("slug")[0m
|
439
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161110021131"]]
|
440
|
+
[1m[36m (150.8ms)[0m [1mcommit transaction[0m
|
441
|
+
Migrating to AddSlugToProduct (20161110024118)
|
442
|
+
[1m[35m (0.1ms)[0m begin transaction
|
443
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "rails_marketplace_products" ADD "slug" varchar[0m
|
444
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
445
|
+
FROM sqlite_master
|
446
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
447
|
+
UNION ALL
|
448
|
+
SELECT sql
|
449
|
+
FROM sqlite_temp_master
|
450
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
451
|
+
|
452
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
453
|
+
FROM sqlite_master
|
454
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
455
|
+
UNION ALL
|
456
|
+
SELECT sql
|
457
|
+
FROM sqlite_temp_master
|
458
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
459
|
+
[0m
|
460
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
461
|
+
FROM sqlite_master
|
462
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
463
|
+
UNION ALL
|
464
|
+
SELECT sql
|
465
|
+
FROM sqlite_temp_master
|
466
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
467
|
+
|
468
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_rails_marketplace_products_on_slug" ON "rails_marketplace_products" ("slug")[0m
|
469
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161110024118"]]
|
470
|
+
[1m[36m (151.0ms)[0m [1mcommit transaction[0m
|
471
|
+
Migrating to CreateCarts (20161111001446)
|
472
|
+
[1m[35m (0.1ms)[0m begin transaction
|
473
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "rails_marketplace_carts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "customer_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
474
|
+
[1m[35m (0.4ms)[0m CREATE INDEX "index_rails_marketplace_carts_on_customer_id" ON "rails_marketplace_carts" ("customer_id")
|
475
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161111001446"]]
|
476
|
+
[1m[35m (150.9ms)[0m commit transaction
|
477
|
+
Migrating to CreateCartProducts (20161111004451)
|
478
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
479
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "rails_marketplace_cart_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "quantity" integer, "price" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
480
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_cart_products_on_product_id" ON "rails_marketplace_cart_products" ("product_id")[0m
|
481
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
482
|
+
FROM sqlite_master
|
483
|
+
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
484
|
+
UNION ALL
|
485
|
+
SELECT sql
|
486
|
+
FROM sqlite_temp_master
|
487
|
+
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
488
|
+
|
489
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_cart_products_on_cart_id" ON "rails_marketplace_cart_products" ("cart_id")[0m
|
490
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161111004451"]]
|
491
|
+
[1m[36m (150.7ms)[0m [1mcommit transaction[0m
|
492
|
+
Migrating to AddCurrencyFormatToPrice (20161115013956)
|
493
|
+
[1m[35m (0.1ms)[0m begin transaction
|
494
|
+
[1m[36m (0.3ms)[0m [1mCREATE TEMPORARY TABLE "arails_marketplace_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "images" text, "price" decimal(8,2), "quantity" integer, "files" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "seller_id" integer, "slug" varchar) [0m
|
495
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
496
|
+
FROM sqlite_master
|
497
|
+
WHERE name='index_rails_marketplace_products_on_slug' AND type='index'
|
498
|
+
UNION ALL
|
499
|
+
SELECT sql
|
500
|
+
FROM sqlite_temp_master
|
501
|
+
WHERE name='index_rails_marketplace_products_on_slug' AND type='index'
|
502
|
+
|
503
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
504
|
+
FROM sqlite_master
|
505
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
506
|
+
UNION ALL
|
507
|
+
SELECT sql
|
508
|
+
FROM sqlite_temp_master
|
509
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
510
|
+
[0m
|
511
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
512
|
+
FROM sqlite_master
|
513
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
514
|
+
UNION ALL
|
515
|
+
SELECT sql
|
516
|
+
FROM sqlite_temp_master
|
517
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
518
|
+
|
519
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
520
|
+
FROM sqlite_master
|
521
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
522
|
+
UNION ALL
|
523
|
+
SELECT sql
|
524
|
+
FROM sqlite_temp_master
|
525
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
526
|
+
[0m
|
527
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "tindex_arails_marketplace_products_on_slug" ON "arails_marketplace_products" ("slug")
|
528
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_products_on_seller_id" ON "arails_marketplace_products" ("seller_id")[0m
|
529
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "tindex_arails_marketplace_products_on_price" ON "arails_marketplace_products" ("price")
|
530
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_products_on_title" ON "arails_marketplace_products" ("title")[0m
|
531
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "rails_marketplace_products"
|
532
|
+
[1m[36m (0.9ms)[0m [1mDROP TABLE "rails_marketplace_products"[0m
|
533
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "rails_marketplace_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "description" text, "images" text, "price" decimal(8,2), "quantity" integer, "files" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "seller_id" integer, "slug" varchar)
|
534
|
+
[1m[36m (0.4ms)[0m [1m SELECT sql
|
535
|
+
FROM sqlite_master
|
536
|
+
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
537
|
+
UNION ALL
|
538
|
+
SELECT sql
|
539
|
+
FROM sqlite_temp_master
|
540
|
+
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
541
|
+
[0m
|
542
|
+
[1m[35m (0.3ms)[0m SELECT sql
|
543
|
+
FROM sqlite_master
|
544
|
+
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
545
|
+
UNION ALL
|
546
|
+
SELECT sql
|
547
|
+
FROM sqlite_temp_master
|
548
|
+
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
549
|
+
|
550
|
+
[1m[36m (0.3ms)[0m [1m SELECT sql
|
551
|
+
FROM sqlite_master
|
552
|
+
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
553
|
+
UNION ALL
|
554
|
+
SELECT sql
|
555
|
+
FROM sqlite_temp_master
|
556
|
+
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
557
|
+
[0m
|
558
|
+
[1m[35m (0.3ms)[0m SELECT sql
|
559
|
+
FROM sqlite_master
|
560
|
+
WHERE name='tindex_arails_marketplace_products_on_slug' AND type='index'
|
561
|
+
UNION ALL
|
562
|
+
SELECT sql
|
563
|
+
FROM sqlite_temp_master
|
564
|
+
WHERE name='tindex_arails_marketplace_products_on_slug' AND type='index'
|
565
|
+
|
566
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_title" ON "rails_marketplace_products" ("title")[0m
|
567
|
+
[1m[35m (0.3ms)[0m SELECT sql
|
568
|
+
FROM sqlite_master
|
569
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
570
|
+
UNION ALL
|
571
|
+
SELECT sql
|
572
|
+
FROM sqlite_temp_master
|
573
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
574
|
+
|
575
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_price" ON "rails_marketplace_products" ("price")[0m
|
576
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
577
|
+
FROM sqlite_master
|
578
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
579
|
+
UNION ALL
|
580
|
+
SELECT sql
|
581
|
+
FROM sqlite_temp_master
|
582
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
583
|
+
|
584
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
585
|
+
FROM sqlite_master
|
586
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
587
|
+
UNION ALL
|
588
|
+
SELECT sql
|
589
|
+
FROM sqlite_temp_master
|
590
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
591
|
+
[0m
|
592
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "index_rails_marketplace_products_on_seller_id" ON "rails_marketplace_products" ("seller_id")
|
593
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
594
|
+
FROM sqlite_master
|
595
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
596
|
+
UNION ALL
|
597
|
+
SELECT sql
|
598
|
+
FROM sqlite_temp_master
|
599
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
600
|
+
[0m
|
601
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
602
|
+
FROM sqlite_master
|
603
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
604
|
+
UNION ALL
|
605
|
+
SELECT sql
|
606
|
+
FROM sqlite_temp_master
|
607
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
608
|
+
|
609
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
610
|
+
FROM sqlite_master
|
611
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
612
|
+
UNION ALL
|
613
|
+
SELECT sql
|
614
|
+
FROM sqlite_temp_master
|
615
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
616
|
+
[0m
|
617
|
+
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_rails_marketplace_products_on_slug" ON "rails_marketplace_products" ("slug")
|
618
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "arails_marketplace_products"[0m
|
619
|
+
[1m[35m (0.4ms)[0m DROP TABLE "arails_marketplace_products"
|
620
|
+
[1m[36m (0.3ms)[0m [1mCREATE TEMPORARY TABLE "arails_marketplace_cart_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "quantity" integer, "price" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
621
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
622
|
+
FROM sqlite_master
|
623
|
+
WHERE name='index_rails_marketplace_cart_products_on_cart_id' AND type='index'
|
624
|
+
UNION ALL
|
625
|
+
SELECT sql
|
626
|
+
FROM sqlite_temp_master
|
627
|
+
WHERE name='index_rails_marketplace_cart_products_on_cart_id' AND type='index'
|
628
|
+
|
629
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
630
|
+
FROM sqlite_master
|
631
|
+
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
632
|
+
UNION ALL
|
633
|
+
SELECT sql
|
634
|
+
FROM sqlite_temp_master
|
635
|
+
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
636
|
+
[0m
|
637
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "tindex_arails_marketplace_cart_products_on_cart_id" ON "arails_marketplace_cart_products" ("cart_id")
|
638
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_cart_products_on_product_id" ON "arails_marketplace_cart_products" ("product_id")[0m
|
639
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "rails_marketplace_cart_products"
|
640
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "rails_marketplace_cart_products"[0m
|
641
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "rails_marketplace_cart_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "cart_id" integer, "quantity" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
642
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
643
|
+
FROM sqlite_master
|
644
|
+
WHERE name='tindex_arails_marketplace_cart_products_on_product_id' AND type='index'
|
645
|
+
UNION ALL
|
646
|
+
SELECT sql
|
647
|
+
FROM sqlite_temp_master
|
648
|
+
WHERE name='tindex_arails_marketplace_cart_products_on_product_id' AND type='index'
|
649
|
+
[0m
|
650
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
651
|
+
FROM sqlite_master
|
652
|
+
WHERE name='tindex_arails_marketplace_cart_products_on_cart_id' AND type='index'
|
653
|
+
UNION ALL
|
654
|
+
SELECT sql
|
655
|
+
FROM sqlite_temp_master
|
656
|
+
WHERE name='tindex_arails_marketplace_cart_products_on_cart_id' AND type='index'
|
657
|
+
|
658
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_cart_products_on_product_id" ON "rails_marketplace_cart_products" ("product_id")[0m
|
659
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
660
|
+
FROM sqlite_master
|
661
|
+
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
662
|
+
UNION ALL
|
663
|
+
SELECT sql
|
664
|
+
FROM sqlite_temp_master
|
665
|
+
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
666
|
+
|
667
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_cart_products_on_cart_id" ON "rails_marketplace_cart_products" ("cart_id")[0m
|
668
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "arails_marketplace_cart_products"
|
669
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "arails_marketplace_cart_products"[0m
|
670
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161115013956"]]
|
671
|
+
[1m[36m (139.7ms)[0m [1mcommit transaction[0m
|
672
|
+
Migrating to MonetizeProduct (20161115015227)
|
673
|
+
[1m[35m (0.1ms)[0m begin transaction
|
674
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161115015227"]]
|
675
|
+
[1m[35m (120.9ms)[0m commit transaction
|
676
|
+
Migrating to AddStripeKeyToAdmin (20161115032905)
|
677
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
678
|
+
[1m[35m (0.8ms)[0m ALTER TABLE "rails_marketplace_admins" ADD "stripe_publishable_key" varchar
|
679
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "rails_marketplace_admins" ADD "stripe_secret_key" varchar[0m
|
680
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161115032905"]]
|
681
|
+
[1m[36m (128.3ms)[0m [1mcommit transaction[0m
|
682
|
+
Migrating to AddOrderFields (20161124015608)
|
683
|
+
[1m[35m (0.1ms)[0m begin transaction
|
684
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "email" varchar[0m
|
685
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "fullname" varchar
|
686
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "address1" varchar[0m
|
687
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "address2" varchar
|
688
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "city" varchar[0m
|
689
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "state" varchar
|
690
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "zip" varchar[0m
|
691
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "country" varchar
|
692
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "phone" varchar[0m
|
693
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "shipping_method" varchar
|
694
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "is_gift" boolean[0m
|
695
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "gift_message" text
|
696
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161124015608"]]
|
697
|
+
[1m[35m (156.7ms)[0m commit transaction
|
698
|
+
Migrating to AddSellerToOrders (20161207193917)
|
699
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
700
|
+
[1m[35m (0.9ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "seller_id" integer
|
701
|
+
[1m[36m (0.3ms)[0m [1m SELECT sql
|
702
|
+
FROM sqlite_master
|
703
|
+
WHERE name='index_rails_marketplace_orders_on_customer_id' AND type='index'
|
704
|
+
UNION ALL
|
705
|
+
SELECT sql
|
706
|
+
FROM sqlite_temp_master
|
707
|
+
WHERE name='index_rails_marketplace_orders_on_customer_id' AND type='index'
|
708
|
+
[0m
|
709
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "index_rails_marketplace_orders_on_seller_id" ON "rails_marketplace_orders" ("seller_id")
|
710
|
+
[1m[36m (0.4ms)[0m [1mCREATE TEMPORARY TABLE "arails_marketplace_order_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "order_id" integer, "seller_id" integer, "quantity" integer, "price" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
711
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
712
|
+
FROM sqlite_master
|
713
|
+
WHERE name='index_rails_marketplace_order_products_on_seller_id' AND type='index'
|
714
|
+
UNION ALL
|
715
|
+
SELECT sql
|
716
|
+
FROM sqlite_temp_master
|
717
|
+
WHERE name='index_rails_marketplace_order_products_on_seller_id' AND type='index'
|
718
|
+
|
719
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
720
|
+
FROM sqlite_master
|
721
|
+
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
722
|
+
UNION ALL
|
723
|
+
SELECT sql
|
724
|
+
FROM sqlite_temp_master
|
725
|
+
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
726
|
+
[0m
|
727
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
728
|
+
FROM sqlite_master
|
729
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
730
|
+
UNION ALL
|
731
|
+
SELECT sql
|
732
|
+
FROM sqlite_temp_master
|
733
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
734
|
+
|
735
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_order_products_on_seller_id" ON "arails_marketplace_order_products" ("seller_id")[0m
|
736
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "tindex_arails_marketplace_order_products_on_order_id" ON "arails_marketplace_order_products" ("order_id")
|
737
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_order_products_on_product_id" ON "arails_marketplace_order_products" ("product_id")[0m
|
738
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "rails_marketplace_order_products"
|
739
|
+
[1m[36m (0.6ms)[0m [1mDROP TABLE "rails_marketplace_order_products"[0m
|
740
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "rails_marketplace_order_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "order_id" integer, "quantity" integer, "price" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
741
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
742
|
+
FROM sqlite_master
|
743
|
+
WHERE name='tindex_arails_marketplace_order_products_on_product_id' AND type='index'
|
744
|
+
UNION ALL
|
745
|
+
SELECT sql
|
746
|
+
FROM sqlite_temp_master
|
747
|
+
WHERE name='tindex_arails_marketplace_order_products_on_product_id' AND type='index'
|
748
|
+
[0m
|
749
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
750
|
+
FROM sqlite_master
|
751
|
+
WHERE name='tindex_arails_marketplace_order_products_on_order_id' AND type='index'
|
752
|
+
UNION ALL
|
753
|
+
SELECT sql
|
754
|
+
FROM sqlite_temp_master
|
755
|
+
WHERE name='tindex_arails_marketplace_order_products_on_order_id' AND type='index'
|
756
|
+
|
757
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
758
|
+
FROM sqlite_master
|
759
|
+
WHERE name='tindex_arails_marketplace_order_products_on_seller_id' AND type='index'
|
760
|
+
UNION ALL
|
761
|
+
SELECT sql
|
762
|
+
FROM sqlite_temp_master
|
763
|
+
WHERE name='tindex_arails_marketplace_order_products_on_seller_id' AND type='index'
|
764
|
+
[0m
|
765
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_order_products_on_product_id" ON "rails_marketplace_order_products" ("product_id")
|
766
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
767
|
+
FROM sqlite_master
|
768
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
769
|
+
UNION ALL
|
770
|
+
SELECT sql
|
771
|
+
FROM sqlite_temp_master
|
772
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
773
|
+
[0m
|
774
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_order_products_on_order_id" ON "rails_marketplace_order_products" ("order_id")
|
775
|
+
[1m[36m (0.2ms)[0m [1mSELECT * FROM "arails_marketplace_order_products"[0m
|
776
|
+
[1m[35m (0.4ms)[0m DROP TABLE "arails_marketplace_order_products"
|
777
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161207193917"]]
|
778
|
+
[1m[35m (130.8ms)[0m commit transaction
|
779
|
+
Migrating to AddPriceToCartProducts (20161208012601)
|
780
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
781
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "rails_marketplace_cart_products" ADD "price" decimal(8,2)
|
782
|
+
[1m[36m (0.3ms)[0m [1mCREATE TEMPORARY TABLE "arails_marketplace_order_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "order_id" integer, "quantity" integer, "price" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
783
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
784
|
+
FROM sqlite_master
|
785
|
+
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
786
|
+
UNION ALL
|
787
|
+
SELECT sql
|
788
|
+
FROM sqlite_temp_master
|
789
|
+
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
790
|
+
|
791
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
792
|
+
FROM sqlite_master
|
793
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
794
|
+
UNION ALL
|
795
|
+
SELECT sql
|
796
|
+
FROM sqlite_temp_master
|
797
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
798
|
+
[0m
|
799
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "tindex_arails_marketplace_order_products_on_order_id" ON "arails_marketplace_order_products" ("order_id")
|
800
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_order_products_on_product_id" ON "arails_marketplace_order_products" ("product_id")[0m
|
801
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "rails_marketplace_order_products"
|
802
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "rails_marketplace_order_products"[0m
|
803
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "rails_marketplace_order_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_id" integer, "order_id" integer, "quantity" integer, "price" decimal(8,2), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
804
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
805
|
+
FROM sqlite_master
|
806
|
+
WHERE name='tindex_arails_marketplace_order_products_on_product_id' AND type='index'
|
807
|
+
UNION ALL
|
808
|
+
SELECT sql
|
809
|
+
FROM sqlite_temp_master
|
810
|
+
WHERE name='tindex_arails_marketplace_order_products_on_product_id' AND type='index'
|
811
|
+
[0m
|
812
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
813
|
+
FROM sqlite_master
|
814
|
+
WHERE name='tindex_arails_marketplace_order_products_on_order_id' AND type='index'
|
815
|
+
UNION ALL
|
816
|
+
SELECT sql
|
817
|
+
FROM sqlite_temp_master
|
818
|
+
WHERE name='tindex_arails_marketplace_order_products_on_order_id' AND type='index'
|
819
|
+
|
820
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_order_products_on_product_id" ON "rails_marketplace_order_products" ("product_id")[0m
|
821
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
822
|
+
FROM sqlite_master
|
823
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
824
|
+
UNION ALL
|
825
|
+
SELECT sql
|
826
|
+
FROM sqlite_temp_master
|
827
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
828
|
+
|
829
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_order_products_on_order_id" ON "rails_marketplace_order_products" ("order_id")[0m
|
830
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "arails_marketplace_order_products"
|
831
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "arails_marketplace_order_products"[0m
|
832
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161208012601"]]
|
833
|
+
[1m[36m (129.5ms)[0m [1mcommit transaction[0m
|
834
|
+
Migrating to AddMoneyToCartProducts (20161208013402)
|
835
|
+
[1m[35m (0.1ms)[0m begin transaction
|
836
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161208013402"]]
|
837
|
+
[1m[35m (111.5ms)[0m commit transaction
|
838
|
+
Migrating to CreateSellerSettings (20170217183953)
|
839
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
840
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "rails_marketplace_seller_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "store_name" varchar, "store_customer_email" varchar, "shipping_origin_company_name" varchar, "shipping_origin_address1" varchar, "shipping_origin_address2" varchar, "shipping_origin_city" varchar, "shipping_origin_zip" varchar, "shipping_origin_country" varchar, "shipping_origin_state" varchar, "shipping_origin_phone" varchar, "shipping_standard_enabled" boolean, "shipping_standard_fee" varchar, "shipping_standard_delivery_date" varchar, "shipping_expediate_enabled" boolean, "shipping_expediate_fee" varchar, "shipping_expediate_delivery_date" varchar, "store_status" varchar)
|
841
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170217183953"]]
|
842
|
+
[1m[35m (140.9ms)[0m commit transaction
|
843
|
+
Migrating to CreateAdminSettings (20170218003202)
|
844
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
845
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "rails_marketplace_admin_settings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "timezone" varchar, "unit_system" varchar, "weight_unit" varchar, "order_prefix" varchar, "order_suffix" varchar, "checkout_customer_account" varchar, "checkout_req_last_name" varchar, "checkout_req_company_name" varchar, "checkout_req_address2" varchar, "checkout_req_phone" varchar, "checkout_same_shipping_billing" boolean, "checkout_agree_promotion" varchar, "refund_policy" text, "privacy_policy" text, "terms_of_service" text)
|
846
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170218003202"]]
|
847
|
+
[1m[35m (161.4ms)[0m commit transaction
|
848
|
+
Migrating to CreateStripeManagedAccounts (20170224230449)
|
849
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
850
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "rails_marketplace_stripe_managed_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "account_id" varchar, "secret_key" varchar, "public_key" varchar)
|
851
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170224230449"]]
|
852
|
+
[1m[35m (140.7ms)[0m commit transaction
|
853
|
+
Migrating to AddStripeToAdminSettings (20170224233736)
|
854
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
855
|
+
[1m[35m (0.4ms)[0m CREATE TEMPORARY TABLE "arails_marketplace_admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "password" varchar, "password_digest" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "stripe_publishable_key" varchar, "stripe_secret_key" varchar)
|
856
|
+
[1m[36m (0.2ms)[0m [1mSELECT * FROM "rails_marketplace_admins"[0m
|
857
|
+
[1m[35m (0.4ms)[0m DROP TABLE "rails_marketplace_admins"
|
858
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "rails_marketplace_admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "password" varchar, "password_digest" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "stripe_secret_key" varchar) [0m
|
859
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "arails_marketplace_admins"
|
860
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "arails_marketplace_admins"[0m
|
861
|
+
[1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "arails_marketplace_admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "password" varchar, "password_digest" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "stripe_secret_key" varchar)
|
862
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "rails_marketplace_admins"[0m
|
863
|
+
[1m[35m (2.0ms)[0m DROP TABLE "rails_marketplace_admins"
|
864
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "rails_marketplace_admins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "password" varchar, "password_digest" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
865
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "arails_marketplace_admins"
|
866
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "arails_marketplace_admins"[0m
|
867
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "rails_marketplace_admin_settings" ADD "stripe_publishable_key" varchar
|
868
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_admin_settings" ADD "stripe_secret_key" varchar[0m
|
869
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170224233736"]]
|
870
|
+
[1m[36m (135.0ms)[0m [1mcommit transaction[0m
|
871
|
+
Migrating to AddIdToSettings (20170224235259)
|
872
|
+
[1m[35m (0.1ms)[0m begin transaction
|
873
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "rails_marketplace_admin_settings" ADD "admin_id" varchar[0m
|
874
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "rails_marketplace_seller_settings" ADD "seller_id" varchar
|
875
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170224235259"]]
|
876
|
+
[1m[35m (119.3ms)[0m commit transaction
|
877
|
+
Migrating to DeleteStripeAccounts (20170225002939)
|
878
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
879
|
+
[1m[35m (0.5ms)[0m DROP TABLE "rails_marketplace_stripe_managed_accounts"
|
880
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "rails_marketplace_seller_settings" ADD "stripe_publishable_key" varchar[0m
|
881
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "rails_marketplace_seller_settings" ADD "stripe_secret_key" varchar
|
882
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170225002939"]]
|
883
|
+
[1m[35m (129.7ms)[0m commit transaction
|
884
|
+
Migrating to AddStripeAccountIdToSellerSettings (20170225003252)
|
885
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
886
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "rails_marketplace_seller_settings" ADD "stripe_account_id" varchar
|
887
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170225003252"]]
|
888
|
+
[1m[35m (130.9ms)[0m commit transaction
|
889
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
890
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
891
|
+
FROM sqlite_master
|
892
|
+
WHERE name='index_rails_marketplace_cart_products_on_cart_id' AND type='index'
|
893
|
+
UNION ALL
|
894
|
+
SELECT sql
|
895
|
+
FROM sqlite_temp_master
|
896
|
+
WHERE name='index_rails_marketplace_cart_products_on_cart_id' AND type='index'
|
897
|
+
|
898
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
899
|
+
FROM sqlite_master
|
900
|
+
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
901
|
+
UNION ALL
|
902
|
+
SELECT sql
|
903
|
+
FROM sqlite_temp_master
|
904
|
+
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
905
|
+
[0m
|
906
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
907
|
+
FROM sqlite_master
|
908
|
+
WHERE name='index_rails_marketplace_carts_on_customer_id' AND type='index'
|
909
|
+
UNION ALL
|
910
|
+
SELECT sql
|
911
|
+
FROM sqlite_temp_master
|
912
|
+
WHERE name='index_rails_marketplace_carts_on_customer_id' AND type='index'
|
913
|
+
|
914
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
915
|
+
FROM sqlite_master
|
916
|
+
WHERE name='index_rails_marketplace_categories_on_slug' AND type='index'
|
917
|
+
UNION ALL
|
918
|
+
SELECT sql
|
919
|
+
FROM sqlite_temp_master
|
920
|
+
WHERE name='index_rails_marketplace_categories_on_slug' AND type='index'
|
921
|
+
[0m
|
922
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
923
|
+
FROM sqlite_master
|
924
|
+
WHERE name='index_rails_marketplace_categories_on_parent_id' AND type='index'
|
925
|
+
UNION ALL
|
926
|
+
SELECT sql
|
927
|
+
FROM sqlite_temp_master
|
928
|
+
WHERE name='index_rails_marketplace_categories_on_parent_id' AND type='index'
|
929
|
+
|
930
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
931
|
+
FROM sqlite_master
|
932
|
+
WHERE name='index_rails_marketplace_category_products_on_category_id' AND type='index'
|
933
|
+
UNION ALL
|
934
|
+
SELECT sql
|
935
|
+
FROM sqlite_temp_master
|
936
|
+
WHERE name='index_rails_marketplace_category_products_on_category_id' AND type='index'
|
937
|
+
[0m
|
938
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
939
|
+
FROM sqlite_master
|
940
|
+
WHERE name='index_rails_marketplace_category_products_on_product_id' AND type='index'
|
941
|
+
UNION ALL
|
942
|
+
SELECT sql
|
943
|
+
FROM sqlite_temp_master
|
944
|
+
WHERE name='index_rails_marketplace_category_products_on_product_id' AND type='index'
|
945
|
+
|
946
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
947
|
+
FROM sqlite_master
|
948
|
+
WHERE name='index_rails_marketplace_friendly_id_slugs_on_sluggable_id' AND type='index'
|
949
|
+
UNION ALL
|
950
|
+
SELECT sql
|
951
|
+
FROM sqlite_temp_master
|
952
|
+
WHERE name='index_rails_marketplace_friendly_id_slugs_on_sluggable_id' AND type='index'
|
953
|
+
[0m
|
954
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
955
|
+
FROM sqlite_master
|
956
|
+
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
957
|
+
UNION ALL
|
958
|
+
SELECT sql
|
959
|
+
FROM sqlite_temp_master
|
960
|
+
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
961
|
+
|
962
|
+
[1m[36m (0.3ms)[0m [1m SELECT sql
|
963
|
+
FROM sqlite_master
|
964
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
965
|
+
UNION ALL
|
966
|
+
SELECT sql
|
967
|
+
FROM sqlite_temp_master
|
968
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
969
|
+
[0m
|
970
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
971
|
+
FROM sqlite_master
|
972
|
+
WHERE name='index_rails_marketplace_orders_on_seller_id' AND type='index'
|
973
|
+
UNION ALL
|
974
|
+
SELECT sql
|
975
|
+
FROM sqlite_temp_master
|
976
|
+
WHERE name='index_rails_marketplace_orders_on_seller_id' AND type='index'
|
977
|
+
|
978
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
979
|
+
FROM sqlite_master
|
980
|
+
WHERE name='index_rails_marketplace_orders_on_customer_id' AND type='index'
|
981
|
+
UNION ALL
|
982
|
+
SELECT sql
|
983
|
+
FROM sqlite_temp_master
|
984
|
+
WHERE name='index_rails_marketplace_orders_on_customer_id' AND type='index'
|
985
|
+
[0m
|
986
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
987
|
+
FROM sqlite_master
|
988
|
+
WHERE name='index_rails_marketplace_products_on_slug' AND type='index'
|
989
|
+
UNION ALL
|
990
|
+
SELECT sql
|
991
|
+
FROM sqlite_temp_master
|
992
|
+
WHERE name='index_rails_marketplace_products_on_slug' AND type='index'
|
993
|
+
|
994
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
995
|
+
FROM sqlite_master
|
996
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
997
|
+
UNION ALL
|
998
|
+
SELECT sql
|
999
|
+
FROM sqlite_temp_master
|
1000
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
1001
|
+
[0m
|
1002
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
1003
|
+
FROM sqlite_master
|
1004
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
1005
|
+
UNION ALL
|
1006
|
+
SELECT sql
|
1007
|
+
FROM sqlite_temp_master
|
1008
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
1009
|
+
|
1010
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
1011
|
+
FROM sqlite_master
|
1012
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
1013
|
+
UNION ALL
|
1014
|
+
SELECT sql
|
1015
|
+
FROM sqlite_temp_master
|
1016
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
1017
|
+
[0m
|
1018
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1019
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1020
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1021
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1022
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1023
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1024
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1025
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1026
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1027
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1028
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1029
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1030
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1031
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1032
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1033
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1034
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1035
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1036
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1037
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1038
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1039
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1040
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1041
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1042
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1043
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1044
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1045
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1046
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "rails_marketplace_carts"[0m
|
1047
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1048
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1049
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1050
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1051
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1052
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1053
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1054
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1055
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1056
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "rails_marketplace_carts"[0m
|
1057
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1058
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1059
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1060
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1061
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1062
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "rails_marketplace_carts"[0m
|
1063
|
+
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1064
|
+
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1065
|
+
[1m[35mRailsMarketplace::Cart Load (0.3ms)[0m SELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1 [["id", nil]]
|
1066
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
1067
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-03-15 19:10:37.522710"], ["updated_at", "2017-03-15 19:10:37.522710"]]
|
1068
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1069
|
+
[1m[35mRailsMarketplace::CartProduct Load (0.4ms)[0m SELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1 [["cart_id", 1]]
|
1070
|
+
Completed 500 Internal Server Error in 159ms (ActiveRecord: 2.1ms)
|
1071
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1072
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1073
|
+
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1074
|
+
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1075
|
+
[1m[36mRailsMarketplace::Cart Load (0.1ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1076
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1077
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 19:10:37.627137"], ["updated_at", "2017-03-15 19:10:37.627137"]]
|
1078
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1079
|
+
[1m[36mRailsMarketplace::CartProduct Load (0.1ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1080
|
+
[1m[35mRailsMarketplace::Product Load (0.3ms)[0m SELECT "rails_marketplace_products".* FROM "rails_marketplace_products" WHERE "rails_marketplace_products"."id" = ? LIMIT 1 [["id", 1]]
|
1081
|
+
Completed 404 Not Found in 10ms (ActiveRecord: 1.3ms)
|
1082
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1083
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1084
|
+
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1085
|
+
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1086
|
+
[1m[36mRailsMarketplace::Cart Load (0.2ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1087
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1088
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 19:10:37.641704"], ["updated_at", "2017-03-15 19:10:37.641704"]]
|
1089
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1090
|
+
[1m[36mRailsMarketplace::CartProduct Load (0.1ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1091
|
+
[1m[35mRailsMarketplace::Product Load (0.1ms)[0m SELECT "rails_marketplace_products".* FROM "rails_marketplace_products" WHERE "rails_marketplace_products"."id" = ? LIMIT 1 [["id", 1]]
|
1092
|
+
Completed 404 Not Found in 7ms (ActiveRecord: 0.8ms)
|
1093
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1094
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1095
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1096
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "rails_marketplace_carts"[0m
|
1097
|
+
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1098
|
+
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1099
|
+
[1m[35mRailsMarketplace::Cart Load (0.2ms)[0m SELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1 [["id", nil]]
|
1100
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1101
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-03-15 19:18:55.721988"], ["updated_at", "2017-03-15 19:18:55.721988"]]
|
1102
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1103
|
+
[1m[35mRailsMarketplace::CartProduct Load (0.3ms)[0m SELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1 [["cart_id", 1]]
|
1104
|
+
Completed 500 Internal Server Error in 98ms (ActiveRecord: 2.1ms)
|
1105
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1106
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1107
|
+
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1108
|
+
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1109
|
+
[1m[36mRailsMarketplace::Cart Load (0.1ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1110
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1111
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 19:18:55.763461"], ["updated_at", "2017-03-15 19:18:55.763461"]]
|
1112
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1113
|
+
[1m[36mRailsMarketplace::CartProduct Load (0.1ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1114
|
+
[1m[35mRailsMarketplace::Product Load (0.2ms)[0m SELECT "rails_marketplace_products".* FROM "rails_marketplace_products" WHERE "rails_marketplace_products"."id" = ? LIMIT 1 [["id", 1]]
|
1115
|
+
Completed 404 Not Found in 8ms (ActiveRecord: 1.1ms)
|
1116
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1117
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1118
|
+
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1119
|
+
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1120
|
+
[1m[36mRailsMarketplace::Cart Load (0.1ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1121
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1122
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 19:18:55.776896"], ["updated_at", "2017-03-15 19:18:55.776896"]]
|
1123
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1124
|
+
[1m[36mRailsMarketplace::CartProduct Load (0.1ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1125
|
+
[1m[35mRailsMarketplace::Product Load (0.1ms)[0m SELECT "rails_marketplace_products".* FROM "rails_marketplace_products" WHERE "rails_marketplace_products"."id" = ? LIMIT 1 [["id", 1]]
|
1126
|
+
Completed 404 Not Found in 7ms (ActiveRecord: 0.7ms)
|
1127
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1128
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1129
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1130
|
+
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1131
|
+
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1132
|
+
[1m[36mRailsMarketplace::Cart Load (0.2ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1133
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1134
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 19:20:04.277347"], ["updated_at", "2017-03-15 19:20:04.277347"]]
|
1135
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1136
|
+
[1m[36mRailsMarketplace::CartProduct Load (0.3ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1137
|
+
Completed 500 Internal Server Error in 66ms (ActiveRecord: 2.1ms)
|
1138
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1139
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1140
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "rails_marketplace_carts"
|
1141
|
+
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1142
|
+
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1143
|
+
[1m[36mRailsMarketplace::Cart Load (0.1ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1144
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1145
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 19:20:04.324430"], ["updated_at", "2017-03-15 19:20:04.324430"]]
|
1146
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1147
|
+
[1m[36mRailsMarketplace::CartProduct Load (0.1ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1148
|
+
[1m[35mRailsMarketplace::Product Load (0.4ms)[0m SELECT "rails_marketplace_products".* FROM "rails_marketplace_products" WHERE "rails_marketplace_products"."id" = ? LIMIT 1 [["id", 1]]
|
1149
|
+
Completed 404 Not Found in 10ms (ActiveRecord: 1.4ms)
|
1150
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1151
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1152
|
+
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1153
|
+
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1154
|
+
[1m[36mRailsMarketplace::Cart Load (0.1ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1155
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1156
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 19:20:04.339022"], ["updated_at", "2017-03-15 19:20:04.339022"]]
|
1157
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1158
|
+
[1m[36mRailsMarketplace::CartProduct Load (0.1ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1159
|
+
[1m[35mRailsMarketplace::Product Load (0.1ms)[0m SELECT "rails_marketplace_products".* FROM "rails_marketplace_products" WHERE "rails_marketplace_products"."id" = ? LIMIT 1 [["id", 1]]
|
1160
|
+
Completed 404 Not Found in 7ms (ActiveRecord: 0.8ms)
|
1161
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1162
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1163
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1164
|
+
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1165
|
+
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1166
|
+
[1m[36mRailsMarketplace::Cart Load (0.2ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1167
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1168
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 19:26:27.752107"], ["updated_at", "2017-03-15 19:26:27.752107"]]
|
1169
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1170
|
+
[1m[36mRailsMarketplace::CartProduct Load (0.3ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1171
|
+
Completed 500 Internal Server Error in 79ms (ActiveRecord: 2.2ms)
|
1172
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1173
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1174
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "rails_marketplace_carts"
|
1175
|
+
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1176
|
+
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1177
|
+
[1m[36mRailsMarketplace::Cart Load (0.1ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1178
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1179
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 19:26:27.810636"], ["updated_at", "2017-03-15 19:26:27.810636"]]
|
1180
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1181
|
+
[1m[36mRailsMarketplace::CartProduct Load (0.1ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1182
|
+
[1m[35mRailsMarketplace::Product Load (0.3ms)[0m SELECT "rails_marketplace_products".* FROM "rails_marketplace_products" WHERE "rails_marketplace_products"."id" = ? LIMIT 1 [["id", 1]]
|
1183
|
+
Completed 404 Not Found in 10ms (ActiveRecord: 1.3ms)
|
1184
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1185
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1186
|
+
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1187
|
+
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1188
|
+
[1m[36mRailsMarketplace::Cart Load (0.1ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1189
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1190
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 19:26:27.825288"], ["updated_at", "2017-03-15 19:26:27.825288"]]
|
1191
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1192
|
+
[1m[36mRailsMarketplace::CartProduct Load (0.1ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1193
|
+
[1m[35mRailsMarketplace::Product Load (0.1ms)[0m SELECT "rails_marketplace_products".* FROM "rails_marketplace_products" WHERE "rails_marketplace_products"."id" = ? LIMIT 1 [["id", 1]]
|
1194
|
+
Completed 404 Not Found in 7ms (ActiveRecord: 0.7ms)
|
1195
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1196
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1197
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1198
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "rails_marketplace_carts"[0m
|
1199
|
+
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1200
|
+
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1201
|
+
[1m[35mRailsMarketplace::Cart Load (0.2ms)[0m SELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1 [["id", nil]]
|
1202
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1203
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2017-03-15 20:14:13.341559"], ["updated_at", "2017-03-15 20:14:13.341559"]]
|
1204
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1205
|
+
[1m[35mRailsMarketplace::CartProduct Load (0.3ms)[0m SELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1 [["cart_id", 1]]
|
1206
|
+
Completed 500 Internal Server Error in 104ms (ActiveRecord: 2.1ms)
|
1207
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1208
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1209
|
+
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1210
|
+
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1211
|
+
[1m[36mRailsMarketplace::Cart Load (0.1ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1212
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1213
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 20:14:13.434374"], ["updated_at", "2017-03-15 20:14:13.434374"]]
|
1214
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1215
|
+
[1m[36mRailsMarketplace::CartProduct Load (0.1ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1216
|
+
[1m[35mRailsMarketplace::Product Load (0.3ms)[0m SELECT "rails_marketplace_products".* FROM "rails_marketplace_products" WHERE "rails_marketplace_products"."id" = ? LIMIT 1 [["id", 1]]
|
1217
|
+
Completed 404 Not Found in 10ms (ActiveRecord: 1.3ms)
|
1218
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1219
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1220
|
+
Processing by RailsMarketplace::CatalogController#add_to_cart as HTML
|
1221
|
+
Parameters: {"product_id"=>"1", "quantity"=>"1"}
|
1222
|
+
[1m[36mRailsMarketplace::Cart Load (0.1ms)[0m [1mSELECT "rails_marketplace_carts".* FROM "rails_marketplace_carts" WHERE "rails_marketplace_carts"."id" = ? LIMIT 1[0m [["id", nil]]
|
1223
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1224
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "rails_marketplace_carts" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2017-03-15 20:14:13.448990"], ["updated_at", "2017-03-15 20:14:13.448990"]]
|
1225
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1226
|
+
[1m[36mRailsMarketplace::CartProduct Load (0.1ms)[0m [1mSELECT "rails_marketplace_cart_products".* FROM "rails_marketplace_cart_products" WHERE "rails_marketplace_cart_products"."cart_id" = ? AND (product_id = '1') ORDER BY "rails_marketplace_cart_products"."id" ASC LIMIT 1[0m [["cart_id", 1]]
|
1227
|
+
[1m[35mRailsMarketplace::Product Load (0.1ms)[0m SELECT "rails_marketplace_products".* FROM "rails_marketplace_products" WHERE "rails_marketplace_products"."id" = ? LIMIT 1 [["id", 1]]
|
1228
|
+
Completed 404 Not Found in 7ms (ActiveRecord: 0.7ms)
|
1229
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|