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
@@ -1,889 +1,889 @@
|
|
1
|
-
[1m[36m (133.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
2
|
-
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
3
|
-
[1m[36m (132.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
-
Migrating to CreateSellers (20161013194852)
|
6
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
-
[1m[35m (0.7ms)[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)
|
8
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161013194852"]]
|
9
|
-
[1m[35m (124.8ms)[0m commit transaction
|
10
|
-
Migrating to CreateCustomers (20161013195006)
|
11
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12
|
-
[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)
|
13
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161013195006"]]
|
14
|
-
[1m[35m (130.1ms)[0m commit transaction
|
15
|
-
Migrating to CreateOrders (20161013195758)
|
16
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17
|
-
[1m[35m (0.4ms)[0m CREATE TABLE "rails_marketplace_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
18
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161013195758"]]
|
19
|
-
[1m[35m (119.7ms)[0m commit transaction
|
20
|
-
Migrating to CreateCategoryProducts (20161014013032)
|
21
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22
|
-
[1m[35m (0.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)
|
23
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_category_products_on_product_id" ON "rails_marketplace_category_products" ("product_id")[0m
|
24
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
25
|
-
FROM sqlite_master
|
26
|
-
WHERE name='index_rails_marketplace_category_products_on_product_id' AND type='index'
|
27
|
-
UNION ALL
|
28
|
-
SELECT sql
|
29
|
-
FROM sqlite_temp_master
|
30
|
-
WHERE name='index_rails_marketplace_category_products_on_product_id' AND type='index'
|
31
|
-
|
32
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_category_products_on_category_id" ON "rails_marketplace_category_products" ("category_id")[0m
|
33
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161014013032"]]
|
34
|
-
[1m[36m (139.2ms)[0m [1mcommit transaction[0m
|
35
|
-
Migrating to CreateOrderProducts (20161014013058)
|
36
|
-
[1m[35m (0.1ms)[0m begin transaction
|
37
|
-
[1m[36m (0.5ms)[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
|
38
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_order_products_on_product_id" ON "rails_marketplace_order_products" ("product_id")
|
39
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
40
|
-
FROM sqlite_master
|
41
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
42
|
-
UNION ALL
|
43
|
-
SELECT sql
|
44
|
-
FROM sqlite_temp_master
|
45
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
46
|
-
[0m
|
47
|
-
[1m[35m (0.3ms)[0m CREATE INDEX "index_rails_marketplace_order_products_on_order_id" ON "rails_marketplace_order_products" ("order_id")
|
48
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
49
|
-
FROM sqlite_master
|
50
|
-
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
51
|
-
UNION ALL
|
52
|
-
SELECT sql
|
53
|
-
FROM sqlite_temp_master
|
54
|
-
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
55
|
-
[0m
|
56
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
57
|
-
FROM sqlite_master
|
58
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
59
|
-
UNION ALL
|
60
|
-
SELECT sql
|
61
|
-
FROM sqlite_temp_master
|
62
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
63
|
-
|
64
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_order_products_on_seller_id" ON "rails_marketplace_order_products" ("seller_id")[0m
|
65
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161014013058"]]
|
66
|
-
[1m[36m (148.6ms)[0m [1mcommit transaction[0m
|
67
|
-
Migrating to CreateAdmins (20161017185755)
|
68
|
-
[1m[35m (0.1ms)[0m begin transaction
|
69
|
-
[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
|
70
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161017185755"]]
|
71
|
-
[1m[36m (153.0ms)[0m [1mcommit transaction[0m
|
72
|
-
Migrating to CreateProducts (20161017232347)
|
73
|
-
[1m[35m (0.1ms)[0m begin transaction
|
74
|
-
[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
|
75
|
-
[1m[35m (0.3ms)[0m CREATE INDEX "index_rails_marketplace_products_on_title" ON "rails_marketplace_products" ("title")
|
76
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
77
|
-
FROM sqlite_master
|
78
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
79
|
-
UNION ALL
|
80
|
-
SELECT sql
|
81
|
-
FROM sqlite_temp_master
|
82
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
83
|
-
[0m
|
84
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_products_on_price" ON "rails_marketplace_products" ("price")
|
85
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161017232347"]]
|
86
|
-
[1m[35m (150.9ms)[0m commit transaction
|
87
|
-
Migrating to AddReferenceProductSeller (20161019012043)
|
88
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
89
|
-
[1m[35m (0.6ms)[0m ALTER TABLE "rails_marketplace_products" ADD "seller_id" integer
|
90
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
91
|
-
FROM sqlite_master
|
92
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
93
|
-
UNION ALL
|
94
|
-
SELECT sql
|
95
|
-
FROM sqlite_temp_master
|
96
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
97
|
-
[0m
|
98
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
99
|
-
FROM sqlite_master
|
100
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
101
|
-
UNION ALL
|
102
|
-
SELECT sql
|
103
|
-
FROM sqlite_temp_master
|
104
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
105
|
-
|
106
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_seller_id" ON "rails_marketplace_products" ("seller_id")[0m
|
107
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161019012043"]]
|
108
|
-
[1m[36m (187.0ms)[0m [1mcommit transaction[0m
|
109
|
-
Migrating to ChangeDataTypeImagesFiles (20161019013502)
|
110
|
-
[1m[35m (0.1ms)[0m begin transaction
|
111
|
-
[1m[36m (0.5ms)[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
|
112
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
113
|
-
FROM sqlite_master
|
114
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
115
|
-
UNION ALL
|
116
|
-
SELECT sql
|
117
|
-
FROM sqlite_temp_master
|
118
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
119
|
-
|
120
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
121
|
-
FROM sqlite_master
|
122
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
123
|
-
UNION ALL
|
124
|
-
SELECT sql
|
125
|
-
FROM sqlite_temp_master
|
126
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
127
|
-
[0m
|
128
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
129
|
-
FROM sqlite_master
|
130
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
131
|
-
UNION ALL
|
132
|
-
SELECT sql
|
133
|
-
FROM sqlite_temp_master
|
134
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
135
|
-
|
136
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_products_on_seller_id" ON "arails_marketplace_products" ("seller_id")[0m
|
137
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "tindex_arails_marketplace_products_on_price" ON "arails_marketplace_products" ("price")
|
138
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_products_on_title" ON "arails_marketplace_products" ("title")[0m
|
139
|
-
[1m[35m (0.1ms)[0m SELECT * FROM "rails_marketplace_products"
|
140
|
-
[1m[36m (0.5ms)[0m [1mDROP TABLE "rails_marketplace_products"[0m
|
141
|
-
[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)
|
142
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
143
|
-
FROM sqlite_master
|
144
|
-
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
145
|
-
UNION ALL
|
146
|
-
SELECT sql
|
147
|
-
FROM sqlite_temp_master
|
148
|
-
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
149
|
-
[0m
|
150
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
151
|
-
FROM sqlite_master
|
152
|
-
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
153
|
-
UNION ALL
|
154
|
-
SELECT sql
|
155
|
-
FROM sqlite_temp_master
|
156
|
-
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
157
|
-
|
158
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
159
|
-
FROM sqlite_master
|
160
|
-
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
161
|
-
UNION ALL
|
162
|
-
SELECT sql
|
163
|
-
FROM sqlite_temp_master
|
164
|
-
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
165
|
-
[0m
|
166
|
-
[1m[35m (0.4ms)[0m CREATE INDEX "index_rails_marketplace_products_on_title" ON "rails_marketplace_products" ("title")
|
167
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
168
|
-
FROM sqlite_master
|
169
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
170
|
-
UNION ALL
|
171
|
-
SELECT sql
|
172
|
-
FROM sqlite_temp_master
|
173
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
174
|
-
[0m
|
175
|
-
[1m[35m (0.5ms)[0m CREATE INDEX "index_rails_marketplace_products_on_price" ON "rails_marketplace_products" ("price")
|
176
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
177
|
-
FROM sqlite_master
|
178
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
179
|
-
UNION ALL
|
180
|
-
SELECT sql
|
181
|
-
FROM sqlite_temp_master
|
182
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
183
|
-
[0m
|
184
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
185
|
-
FROM sqlite_master
|
186
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
187
|
-
UNION ALL
|
188
|
-
SELECT sql
|
189
|
-
FROM sqlite_temp_master
|
190
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
191
|
-
|
192
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_seller_id" ON "rails_marketplace_products" ("seller_id")[0m
|
193
|
-
[1m[35m (0.1ms)[0m SELECT * FROM "arails_marketplace_products"
|
194
|
-
[1m[36m (0.4ms)[0m [1mDROP TABLE "arails_marketplace_products"[0m
|
195
|
-
[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)
|
196
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
197
|
-
FROM sqlite_master
|
198
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
199
|
-
UNION ALL
|
200
|
-
SELECT sql
|
201
|
-
FROM sqlite_temp_master
|
202
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
203
|
-
[0m
|
204
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
205
|
-
FROM sqlite_master
|
206
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
207
|
-
UNION ALL
|
208
|
-
SELECT sql
|
209
|
-
FROM sqlite_temp_master
|
210
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
211
|
-
|
212
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
213
|
-
FROM sqlite_master
|
214
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
215
|
-
UNION ALL
|
216
|
-
SELECT sql
|
217
|
-
FROM sqlite_temp_master
|
218
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
219
|
-
[0m
|
220
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "tindex_arails_marketplace_products_on_seller_id" ON "arails_marketplace_products" ("seller_id")
|
221
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_products_on_price" ON "arails_marketplace_products" ("price")[0m
|
222
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "tindex_arails_marketplace_products_on_title" ON "arails_marketplace_products" ("title")
|
223
|
-
[1m[36m (0.1ms)[0m [1mSELECT * FROM "rails_marketplace_products"[0m
|
224
|
-
[1m[35m (0.5ms)[0m DROP TABLE "rails_marketplace_products"
|
225
|
-
[1m[36m (0.6ms)[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
|
226
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
227
|
-
FROM sqlite_master
|
228
|
-
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
229
|
-
UNION ALL
|
230
|
-
SELECT sql
|
231
|
-
FROM sqlite_temp_master
|
232
|
-
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
233
|
-
|
234
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
235
|
-
FROM sqlite_master
|
236
|
-
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
237
|
-
UNION ALL
|
238
|
-
SELECT sql
|
239
|
-
FROM sqlite_temp_master
|
240
|
-
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
241
|
-
[0m
|
242
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
243
|
-
FROM sqlite_master
|
244
|
-
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
245
|
-
UNION ALL
|
246
|
-
SELECT sql
|
247
|
-
FROM sqlite_temp_master
|
248
|
-
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
249
|
-
|
250
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_title" ON "rails_marketplace_products" ("title")[0m
|
251
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
252
|
-
FROM sqlite_master
|
253
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
254
|
-
UNION ALL
|
255
|
-
SELECT sql
|
256
|
-
FROM sqlite_temp_master
|
257
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
258
|
-
|
259
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_price" ON "rails_marketplace_products" ("price")[0m
|
260
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
261
|
-
FROM sqlite_master
|
262
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
263
|
-
UNION ALL
|
264
|
-
SELECT sql
|
265
|
-
FROM sqlite_temp_master
|
266
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
267
|
-
|
268
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
269
|
-
FROM sqlite_master
|
270
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
271
|
-
UNION ALL
|
272
|
-
SELECT sql
|
273
|
-
FROM sqlite_temp_master
|
274
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
275
|
-
[0m
|
276
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_products_on_seller_id" ON "rails_marketplace_products" ("seller_id")
|
277
|
-
[1m[36m (0.1ms)[0m [1mSELECT * FROM "arails_marketplace_products"[0m
|
278
|
-
[1m[35m (0.3ms)[0m DROP TABLE "arails_marketplace_products"
|
279
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161019013502"]]
|
280
|
-
[1m[35m (135.3ms)[0m commit transaction
|
281
|
-
Migrating to AddReferenceOrderCustomers (20161019022020)
|
282
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
283
|
-
[1m[35m (0.7ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "customer_id" integer
|
284
|
-
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_rails_marketplace_orders_on_customer_id" ON "rails_marketplace_orders" ("customer_id")[0m
|
285
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161019022020"]]
|
286
|
-
[1m[36m (228.4ms)[0m [1mcommit transaction[0m
|
287
|
-
Migrating to CreateCategories (20161109191644)
|
288
|
-
[1m[35m (0.1ms)[0m begin transaction
|
289
|
-
[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
|
290
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_categories_on_parent_id" ON "rails_marketplace_categories" ("parent_id")
|
291
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161109191644"]]
|
292
|
-
[1m[35m (152.0ms)[0m commit transaction
|
293
|
-
Migrating to CreateFriendlyIdSlugs (20161110021043)
|
294
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
295
|
-
[1m[35m (0.7ms)[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)
|
296
|
-
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_rails_marketplace_friendly_id_slugs_on_sluggable_id" ON "rails_marketplace_friendly_id_slugs" ("sluggable_id")[0m
|
297
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161110021043"]]
|
298
|
-
[1m[36m (149.5ms)[0m [1mcommit transaction[0m
|
299
|
-
Migrating to AddSlugToCategory (20161110021131)
|
300
|
-
[1m[35m (0.1ms)[0m begin transaction
|
301
|
-
[1m[36m (0.6ms)[0m [1mALTER TABLE "rails_marketplace_categories" ADD "slug" varchar[0m
|
302
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
303
|
-
FROM sqlite_master
|
304
|
-
WHERE name='index_rails_marketplace_categories_on_parent_id' AND type='index'
|
305
|
-
UNION ALL
|
306
|
-
SELECT sql
|
307
|
-
FROM sqlite_temp_master
|
308
|
-
WHERE name='index_rails_marketplace_categories_on_parent_id' AND type='index'
|
309
|
-
|
310
|
-
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_rails_marketplace_categories_on_slug" ON "rails_marketplace_categories" ("slug")[0m
|
311
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161110021131"]]
|
312
|
-
[1m[36m (152.0ms)[0m [1mcommit transaction[0m
|
313
|
-
Migrating to AddSlugToProduct (20161110024118)
|
314
|
-
[1m[35m (0.1ms)[0m begin transaction
|
315
|
-
[1m[36m (0.6ms)[0m [1mALTER TABLE "rails_marketplace_products" ADD "slug" varchar[0m
|
316
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
317
|
-
FROM sqlite_master
|
318
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
319
|
-
UNION ALL
|
320
|
-
SELECT sql
|
321
|
-
FROM sqlite_temp_master
|
322
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
323
|
-
|
324
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
325
|
-
FROM sqlite_master
|
326
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
327
|
-
UNION ALL
|
328
|
-
SELECT sql
|
329
|
-
FROM sqlite_temp_master
|
330
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
331
|
-
[0m
|
332
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
333
|
-
FROM sqlite_master
|
334
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
335
|
-
UNION ALL
|
336
|
-
SELECT sql
|
337
|
-
FROM sqlite_temp_master
|
338
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
339
|
-
|
340
|
-
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_rails_marketplace_products_on_slug" ON "rails_marketplace_products" ("slug")[0m
|
341
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161110024118"]]
|
342
|
-
[1m[36m (162.4ms)[0m [1mcommit transaction[0m
|
343
|
-
Migrating to CreateCarts (20161111001446)
|
344
|
-
[1m[35m (0.1ms)[0m begin transaction
|
345
|
-
[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
|
346
|
-
[1m[35m (0.7ms)[0m CREATE INDEX "index_rails_marketplace_carts_on_customer_id" ON "rails_marketplace_carts" ("customer_id")
|
347
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161111001446"]]
|
348
|
-
[1m[35m (150.9ms)[0m commit transaction
|
349
|
-
Migrating to CreateCartProducts (20161111004451)
|
350
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
351
|
-
[1m[35m (0.6ms)[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)
|
352
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_cart_products_on_product_id" ON "rails_marketplace_cart_products" ("product_id")[0m
|
353
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
354
|
-
FROM sqlite_master
|
355
|
-
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
356
|
-
UNION ALL
|
357
|
-
SELECT sql
|
358
|
-
FROM sqlite_temp_master
|
359
|
-
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
360
|
-
|
361
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_cart_products_on_cart_id" ON "rails_marketplace_cart_products" ("cart_id")[0m
|
362
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161111004451"]]
|
363
|
-
[1m[36m (151.8ms)[0m [1mcommit transaction[0m
|
364
|
-
Migrating to AddCurrencyFormatToPrice (20161115013956)
|
365
|
-
[1m[35m (0.1ms)[0m begin transaction
|
366
|
-
[1m[36m (0.5ms)[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
|
367
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
368
|
-
FROM sqlite_master
|
369
|
-
WHERE name='index_rails_marketplace_products_on_slug' AND type='index'
|
370
|
-
UNION ALL
|
371
|
-
SELECT sql
|
372
|
-
FROM sqlite_temp_master
|
373
|
-
WHERE name='index_rails_marketplace_products_on_slug' AND type='index'
|
374
|
-
|
375
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
376
|
-
FROM sqlite_master
|
377
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
378
|
-
UNION ALL
|
379
|
-
SELECT sql
|
380
|
-
FROM sqlite_temp_master
|
381
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
382
|
-
[0m
|
383
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
384
|
-
FROM sqlite_master
|
385
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
386
|
-
UNION ALL
|
387
|
-
SELECT sql
|
388
|
-
FROM sqlite_temp_master
|
389
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
390
|
-
|
391
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
392
|
-
FROM sqlite_master
|
393
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
394
|
-
UNION ALL
|
395
|
-
SELECT sql
|
396
|
-
FROM sqlite_temp_master
|
397
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
398
|
-
[0m
|
399
|
-
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "tindex_arails_marketplace_products_on_slug" ON "arails_marketplace_products" ("slug")
|
400
|
-
[1m[36m (0.4ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_products_on_seller_id" ON "arails_marketplace_products" ("seller_id")[0m
|
401
|
-
[1m[35m (0.3ms)[0m CREATE INDEX "tindex_arails_marketplace_products_on_price" ON "arails_marketplace_products" ("price")
|
402
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_products_on_title" ON "arails_marketplace_products" ("title")[0m
|
403
|
-
[1m[35m (0.2ms)[0m SELECT * FROM "rails_marketplace_products"
|
404
|
-
[1m[36m (0.7ms)[0m [1mDROP TABLE "rails_marketplace_products"[0m
|
405
|
-
[1m[35m (0.5ms)[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)
|
406
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
407
|
-
FROM sqlite_master
|
408
|
-
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
409
|
-
UNION ALL
|
410
|
-
SELECT sql
|
411
|
-
FROM sqlite_temp_master
|
412
|
-
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
413
|
-
[0m
|
414
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
415
|
-
FROM sqlite_master
|
416
|
-
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
417
|
-
UNION ALL
|
418
|
-
SELECT sql
|
419
|
-
FROM sqlite_temp_master
|
420
|
-
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
421
|
-
|
422
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
423
|
-
FROM sqlite_master
|
424
|
-
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
425
|
-
UNION ALL
|
426
|
-
SELECT sql
|
427
|
-
FROM sqlite_temp_master
|
428
|
-
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
429
|
-
[0m
|
430
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
431
|
-
FROM sqlite_master
|
432
|
-
WHERE name='tindex_arails_marketplace_products_on_slug' AND type='index'
|
433
|
-
UNION ALL
|
434
|
-
SELECT sql
|
435
|
-
FROM sqlite_temp_master
|
436
|
-
WHERE name='tindex_arails_marketplace_products_on_slug' AND type='index'
|
437
|
-
|
438
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_title" ON "rails_marketplace_products" ("title")[0m
|
439
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
440
|
-
FROM sqlite_master
|
441
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
442
|
-
UNION ALL
|
443
|
-
SELECT sql
|
444
|
-
FROM sqlite_temp_master
|
445
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
446
|
-
|
447
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_price" ON "rails_marketplace_products" ("price")[0m
|
448
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
449
|
-
FROM sqlite_master
|
450
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
451
|
-
UNION ALL
|
452
|
-
SELECT sql
|
453
|
-
FROM sqlite_temp_master
|
454
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
455
|
-
|
456
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
457
|
-
FROM sqlite_master
|
458
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
459
|
-
UNION ALL
|
460
|
-
SELECT sql
|
461
|
-
FROM sqlite_temp_master
|
462
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
463
|
-
[0m
|
464
|
-
[1m[35m (0.4ms)[0m CREATE INDEX "index_rails_marketplace_products_on_seller_id" ON "rails_marketplace_products" ("seller_id")
|
465
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
466
|
-
FROM sqlite_master
|
467
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
468
|
-
UNION ALL
|
469
|
-
SELECT sql
|
470
|
-
FROM sqlite_temp_master
|
471
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
472
|
-
[0m
|
473
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
474
|
-
FROM sqlite_master
|
475
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
476
|
-
UNION ALL
|
477
|
-
SELECT sql
|
478
|
-
FROM sqlite_temp_master
|
479
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
480
|
-
|
481
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
482
|
-
FROM sqlite_master
|
483
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
484
|
-
UNION ALL
|
485
|
-
SELECT sql
|
486
|
-
FROM sqlite_temp_master
|
487
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
488
|
-
[0m
|
489
|
-
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_rails_marketplace_products_on_slug" ON "rails_marketplace_products" ("slug")
|
490
|
-
[1m[36m (0.2ms)[0m [1mSELECT * FROM "arails_marketplace_products"[0m
|
491
|
-
[1m[35m (0.4ms)[0m DROP TABLE "arails_marketplace_products"
|
492
|
-
[1m[36m (0.4ms)[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
|
493
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
494
|
-
FROM sqlite_master
|
495
|
-
WHERE name='index_rails_marketplace_cart_products_on_cart_id' AND type='index'
|
496
|
-
UNION ALL
|
497
|
-
SELECT sql
|
498
|
-
FROM sqlite_temp_master
|
499
|
-
WHERE name='index_rails_marketplace_cart_products_on_cart_id' AND type='index'
|
500
|
-
|
501
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
502
|
-
FROM sqlite_master
|
503
|
-
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
504
|
-
UNION ALL
|
505
|
-
SELECT sql
|
506
|
-
FROM sqlite_temp_master
|
507
|
-
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
508
|
-
[0m
|
509
|
-
[1m[35m (0.3ms)[0m CREATE INDEX "tindex_arails_marketplace_cart_products_on_cart_id" ON "arails_marketplace_cart_products" ("cart_id")
|
510
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_cart_products_on_product_id" ON "arails_marketplace_cart_products" ("product_id")[0m
|
511
|
-
[1m[35m (0.2ms)[0m SELECT * FROM "rails_marketplace_cart_products"
|
512
|
-
[1m[36m (0.4ms)[0m [1mDROP TABLE "rails_marketplace_cart_products"[0m
|
513
|
-
[1m[35m (0.4ms)[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)
|
514
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
515
|
-
FROM sqlite_master
|
516
|
-
WHERE name='tindex_arails_marketplace_cart_products_on_product_id' AND type='index'
|
517
|
-
UNION ALL
|
518
|
-
SELECT sql
|
519
|
-
FROM sqlite_temp_master
|
520
|
-
WHERE name='tindex_arails_marketplace_cart_products_on_product_id' AND type='index'
|
521
|
-
[0m
|
522
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
523
|
-
FROM sqlite_master
|
524
|
-
WHERE name='tindex_arails_marketplace_cart_products_on_cart_id' AND type='index'
|
525
|
-
UNION ALL
|
526
|
-
SELECT sql
|
527
|
-
FROM sqlite_temp_master
|
528
|
-
WHERE name='tindex_arails_marketplace_cart_products_on_cart_id' AND type='index'
|
529
|
-
|
530
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_cart_products_on_product_id" ON "rails_marketplace_cart_products" ("product_id")[0m
|
531
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
532
|
-
FROM sqlite_master
|
533
|
-
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
534
|
-
UNION ALL
|
535
|
-
SELECT sql
|
536
|
-
FROM sqlite_temp_master
|
537
|
-
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
538
|
-
|
539
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_cart_products_on_cart_id" ON "rails_marketplace_cart_products" ("cart_id")[0m
|
540
|
-
[1m[35m (0.2ms)[0m SELECT * FROM "arails_marketplace_cart_products"
|
541
|
-
[1m[36m (0.4ms)[0m [1mDROP TABLE "arails_marketplace_cart_products"[0m
|
542
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161115013956"]]
|
543
|
-
[1m[36m (111.5ms)[0m [1mcommit transaction[0m
|
544
|
-
Migrating to MonetizeProduct (20161115015227)
|
545
|
-
[1m[35m (0.1ms)[0m begin transaction
|
546
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161115015227"]]
|
547
|
-
[1m[35m (132.1ms)[0m commit transaction
|
548
|
-
Migrating to AddStripeKeyToAdmin (20161115032905)
|
549
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
550
|
-
[1m[35m (0.6ms)[0m ALTER TABLE "rails_marketplace_admins" ADD "stripe_publishable_key" varchar
|
551
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_admins" ADD "stripe_secret_key" varchar[0m
|
552
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161115032905"]]
|
553
|
-
[1m[36m (129.8ms)[0m [1mcommit transaction[0m
|
554
|
-
Migrating to AddOrderFields (20161124015608)
|
555
|
-
[1m[35m (0.1ms)[0m begin transaction
|
556
|
-
[1m[36m (0.6ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "email" varchar[0m
|
557
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "fullname" varchar
|
558
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "address1" varchar[0m
|
559
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "address2" varchar
|
560
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "city" varchar[0m
|
561
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "state" varchar
|
562
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "zip" varchar[0m
|
563
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "country" varchar
|
564
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "phone" varchar[0m
|
565
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "shipping_method" varchar
|
566
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "is_gift" boolean[0m
|
567
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "gift_message" text
|
568
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161124015608"]]
|
569
|
-
[1m[35m (133.8ms)[0m commit transaction
|
570
|
-
Migrating to AddSellerToOrders (20161207193917)
|
571
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
572
|
-
[1m[35m (0.6ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "seller_id" integer
|
573
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
574
|
-
FROM sqlite_master
|
575
|
-
WHERE name='index_rails_marketplace_orders_on_customer_id' AND type='index'
|
576
|
-
UNION ALL
|
577
|
-
SELECT sql
|
578
|
-
FROM sqlite_temp_master
|
579
|
-
WHERE name='index_rails_marketplace_orders_on_customer_id' AND type='index'
|
580
|
-
[0m
|
581
|
-
[1m[35m (0.3ms)[0m CREATE INDEX "index_rails_marketplace_orders_on_seller_id" ON "rails_marketplace_orders" ("seller_id")
|
582
|
-
[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, "seller_id" integer, "quantity" integer, "price" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
583
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
584
|
-
FROM sqlite_master
|
585
|
-
WHERE name='index_rails_marketplace_order_products_on_seller_id' AND type='index'
|
586
|
-
UNION ALL
|
587
|
-
SELECT sql
|
588
|
-
FROM sqlite_temp_master
|
589
|
-
WHERE name='index_rails_marketplace_order_products_on_seller_id' AND type='index'
|
590
|
-
|
591
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
592
|
-
FROM sqlite_master
|
593
|
-
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
594
|
-
UNION ALL
|
595
|
-
SELECT sql
|
596
|
-
FROM sqlite_temp_master
|
597
|
-
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
598
|
-
[0m
|
599
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
600
|
-
FROM sqlite_master
|
601
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
602
|
-
UNION ALL
|
603
|
-
SELECT sql
|
604
|
-
FROM sqlite_temp_master
|
605
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
606
|
-
|
607
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_order_products_on_seller_id" ON "arails_marketplace_order_products" ("seller_id")[0m
|
608
|
-
[1m[35m (0.3ms)[0m CREATE INDEX "tindex_arails_marketplace_order_products_on_order_id" ON "arails_marketplace_order_products" ("order_id")
|
609
|
-
[1m[36m (0.4ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_order_products_on_product_id" ON "arails_marketplace_order_products" ("product_id")[0m
|
610
|
-
[1m[35m (0.1ms)[0m SELECT * FROM "rails_marketplace_order_products"
|
611
|
-
[1m[36m (0.5ms)[0m [1mDROP TABLE "rails_marketplace_order_products"[0m
|
612
|
-
[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" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
613
|
-
[1m[36m (0.1ms)[0m [1m SELECT sql
|
614
|
-
FROM sqlite_master
|
615
|
-
WHERE name='tindex_arails_marketplace_order_products_on_product_id' AND type='index'
|
616
|
-
UNION ALL
|
617
|
-
SELECT sql
|
618
|
-
FROM sqlite_temp_master
|
619
|
-
WHERE name='tindex_arails_marketplace_order_products_on_product_id' AND type='index'
|
620
|
-
[0m
|
621
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
622
|
-
FROM sqlite_master
|
623
|
-
WHERE name='tindex_arails_marketplace_order_products_on_order_id' AND type='index'
|
624
|
-
UNION ALL
|
625
|
-
SELECT sql
|
626
|
-
FROM sqlite_temp_master
|
627
|
-
WHERE name='tindex_arails_marketplace_order_products_on_order_id' AND type='index'
|
628
|
-
|
629
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
630
|
-
FROM sqlite_master
|
631
|
-
WHERE name='tindex_arails_marketplace_order_products_on_seller_id' AND type='index'
|
632
|
-
UNION ALL
|
633
|
-
SELECT sql
|
634
|
-
FROM sqlite_temp_master
|
635
|
-
WHERE name='tindex_arails_marketplace_order_products_on_seller_id' AND type='index'
|
636
|
-
[0m
|
637
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_order_products_on_product_id" ON "rails_marketplace_order_products" ("product_id")
|
638
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
639
|
-
FROM sqlite_master
|
640
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
641
|
-
UNION ALL
|
642
|
-
SELECT sql
|
643
|
-
FROM sqlite_temp_master
|
644
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
645
|
-
[0m
|
646
|
-
[1m[35m (0.3ms)[0m CREATE INDEX "index_rails_marketplace_order_products_on_order_id" ON "rails_marketplace_order_products" ("order_id")
|
647
|
-
[1m[36m (0.1ms)[0m [1mSELECT * FROM "arails_marketplace_order_products"[0m
|
648
|
-
[1m[35m (0.3ms)[0m DROP TABLE "arails_marketplace_order_products"
|
649
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161207193917"]]
|
650
|
-
[1m[35m (166.4ms)[0m commit transaction
|
651
|
-
Migrating to AddPriceToCartProducts (20161208012601)
|
652
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
653
|
-
[1m[35m (0.7ms)[0m ALTER TABLE "rails_marketplace_cart_products" ADD "price" decimal(8,2)
|
654
|
-
[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, "quantity" integer, "price" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
655
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
656
|
-
FROM sqlite_master
|
657
|
-
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
658
|
-
UNION ALL
|
659
|
-
SELECT sql
|
660
|
-
FROM sqlite_temp_master
|
661
|
-
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
662
|
-
|
663
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
664
|
-
FROM sqlite_master
|
665
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
666
|
-
UNION ALL
|
667
|
-
SELECT sql
|
668
|
-
FROM sqlite_temp_master
|
669
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
670
|
-
[0m
|
671
|
-
[1m[35m (0.3ms)[0m CREATE INDEX "tindex_arails_marketplace_order_products_on_order_id" ON "arails_marketplace_order_products" ("order_id")
|
672
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_order_products_on_product_id" ON "arails_marketplace_order_products" ("product_id")[0m
|
673
|
-
[1m[35m (0.2ms)[0m SELECT * FROM "rails_marketplace_order_products"
|
674
|
-
[1m[36m (0.6ms)[0m [1mDROP TABLE "rails_marketplace_order_products"[0m
|
675
|
-
[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)
|
676
|
-
[1m[36m (0.3ms)[0m [1m SELECT sql
|
677
|
-
FROM sqlite_master
|
678
|
-
WHERE name='tindex_arails_marketplace_order_products_on_product_id' AND type='index'
|
679
|
-
UNION ALL
|
680
|
-
SELECT sql
|
681
|
-
FROM sqlite_temp_master
|
682
|
-
WHERE name='tindex_arails_marketplace_order_products_on_product_id' AND type='index'
|
683
|
-
[0m
|
684
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
685
|
-
FROM sqlite_master
|
686
|
-
WHERE name='tindex_arails_marketplace_order_products_on_order_id' AND type='index'
|
687
|
-
UNION ALL
|
688
|
-
SELECT sql
|
689
|
-
FROM sqlite_temp_master
|
690
|
-
WHERE name='tindex_arails_marketplace_order_products_on_order_id' AND type='index'
|
691
|
-
|
692
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_order_products_on_product_id" ON "rails_marketplace_order_products" ("product_id")[0m
|
693
|
-
[1m[35m (0.1ms)[0m SELECT sql
|
694
|
-
FROM sqlite_master
|
695
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
696
|
-
UNION ALL
|
697
|
-
SELECT sql
|
698
|
-
FROM sqlite_temp_master
|
699
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
700
|
-
|
701
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_order_products_on_order_id" ON "rails_marketplace_order_products" ("order_id")[0m
|
702
|
-
[1m[35m (0.1ms)[0m SELECT * FROM "arails_marketplace_order_products"
|
703
|
-
[1m[36m (0.3ms)[0m [1mDROP TABLE "arails_marketplace_order_products"[0m
|
704
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161208012601"]]
|
705
|
-
[1m[36m (147.9ms)[0m [1mcommit transaction[0m
|
706
|
-
Migrating to AddMoneyToCartProducts (20161208013402)
|
707
|
-
[1m[35m (0.1ms)[0m begin transaction
|
708
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161208013402"]]
|
709
|
-
[1m[35m (131.8ms)[0m commit transaction
|
710
|
-
Migrating to CreateSellerSettings (20170217183953)
|
711
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
712
|
-
[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)
|
713
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170217183953"]]
|
714
|
-
[1m[35m (141.1ms)[0m commit transaction
|
715
|
-
Migrating to CreateAdminSettings (20170218003202)
|
716
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
717
|
-
[1m[35m (0.6ms)[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)
|
718
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170218003202"]]
|
719
|
-
[1m[35m (154.2ms)[0m commit transaction
|
720
|
-
Migrating to CreateStripeManagedAccounts (20170224230449)
|
721
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
722
|
-
[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)
|
723
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170224230449"]]
|
724
|
-
[1m[35m (142.1ms)[0m commit transaction
|
725
|
-
Migrating to AddStripeToAdminSettings (20170224233736)
|
726
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
727
|
-
[1m[35m (0.3ms)[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)
|
728
|
-
[1m[36m (0.1ms)[0m [1mSELECT * FROM "rails_marketplace_admins"[0m
|
729
|
-
[1m[35m (0.4ms)[0m DROP TABLE "rails_marketplace_admins"
|
730
|
-
[1m[36m (0.6ms)[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
|
731
|
-
[1m[35m (0.2ms)[0m SELECT * FROM "arails_marketplace_admins"
|
732
|
-
[1m[36m (0.5ms)[0m [1mDROP TABLE "arails_marketplace_admins"[0m
|
733
|
-
[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_secret_key" varchar)
|
734
|
-
[1m[36m (0.2ms)[0m [1mSELECT * FROM "rails_marketplace_admins"[0m
|
735
|
-
[1m[35m (0.6ms)[0m DROP TABLE "rails_marketplace_admins"
|
736
|
-
[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
|
737
|
-
[1m[35m (0.2ms)[0m SELECT * FROM "arails_marketplace_admins"
|
738
|
-
[1m[36m (0.2ms)[0m [1mDROP TABLE "arails_marketplace_admins"[0m
|
739
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "rails_marketplace_admin_settings" ADD "stripe_publishable_key" varchar
|
740
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "rails_marketplace_admin_settings" ADD "stripe_secret_key" varchar[0m
|
741
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170224233736"]]
|
742
|
-
[1m[36m (112.4ms)[0m [1mcommit transaction[0m
|
743
|
-
Migrating to AddIdToSettings (20170224235259)
|
744
|
-
[1m[35m (0.1ms)[0m begin transaction
|
745
|
-
[1m[36m (0.5ms)[0m [1mALTER TABLE "rails_marketplace_admin_settings" ADD "admin_id" varchar[0m
|
746
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "rails_marketplace_seller_settings" ADD "seller_id" varchar
|
747
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170224235259"]]
|
748
|
-
[1m[35m (152.8ms)[0m commit transaction
|
749
|
-
Migrating to DeleteStripeAccounts (20170225002939)
|
750
|
-
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
751
|
-
[1m[35m (0.7ms)[0m DROP TABLE "rails_marketplace_stripe_managed_accounts"
|
752
|
-
[1m[36m (0.5ms)[0m [1mALTER TABLE "rails_marketplace_seller_settings" ADD "stripe_publishable_key" varchar[0m
|
753
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "rails_marketplace_seller_settings" ADD "stripe_secret_key" varchar
|
754
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170225002939"]]
|
755
|
-
[1m[35m (127.4ms)[0m commit transaction
|
756
|
-
Migrating to AddStripeAccountIdToSellerSettings (20170225003252)
|
757
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
758
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "rails_marketplace_seller_settings" ADD "stripe_account_id" varchar
|
759
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170225003252"]]
|
760
|
-
[1m[35m (131.0ms)[0m commit transaction
|
761
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
762
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
763
|
-
FROM sqlite_master
|
764
|
-
WHERE name='index_rails_marketplace_cart_products_on_cart_id' AND type='index'
|
765
|
-
UNION ALL
|
766
|
-
SELECT sql
|
767
|
-
FROM sqlite_temp_master
|
768
|
-
WHERE name='index_rails_marketplace_cart_products_on_cart_id' AND type='index'
|
769
|
-
|
770
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
771
|
-
FROM sqlite_master
|
772
|
-
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
773
|
-
UNION ALL
|
774
|
-
SELECT sql
|
775
|
-
FROM sqlite_temp_master
|
776
|
-
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
777
|
-
[0m
|
778
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
779
|
-
FROM sqlite_master
|
780
|
-
WHERE name='index_rails_marketplace_carts_on_customer_id' AND type='index'
|
781
|
-
UNION ALL
|
782
|
-
SELECT sql
|
783
|
-
FROM sqlite_temp_master
|
784
|
-
WHERE name='index_rails_marketplace_carts_on_customer_id' AND type='index'
|
785
|
-
|
786
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
787
|
-
FROM sqlite_master
|
788
|
-
WHERE name='index_rails_marketplace_categories_on_slug' AND type='index'
|
789
|
-
UNION ALL
|
790
|
-
SELECT sql
|
791
|
-
FROM sqlite_temp_master
|
792
|
-
WHERE name='index_rails_marketplace_categories_on_slug' AND type='index'
|
793
|
-
[0m
|
794
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
795
|
-
FROM sqlite_master
|
796
|
-
WHERE name='index_rails_marketplace_categories_on_parent_id' AND type='index'
|
797
|
-
UNION ALL
|
798
|
-
SELECT sql
|
799
|
-
FROM sqlite_temp_master
|
800
|
-
WHERE name='index_rails_marketplace_categories_on_parent_id' AND type='index'
|
801
|
-
|
802
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
803
|
-
FROM sqlite_master
|
804
|
-
WHERE name='index_rails_marketplace_category_products_on_category_id' AND type='index'
|
805
|
-
UNION ALL
|
806
|
-
SELECT sql
|
807
|
-
FROM sqlite_temp_master
|
808
|
-
WHERE name='index_rails_marketplace_category_products_on_category_id' AND type='index'
|
809
|
-
[0m
|
810
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
811
|
-
FROM sqlite_master
|
812
|
-
WHERE name='index_rails_marketplace_category_products_on_product_id' AND type='index'
|
813
|
-
UNION ALL
|
814
|
-
SELECT sql
|
815
|
-
FROM sqlite_temp_master
|
816
|
-
WHERE name='index_rails_marketplace_category_products_on_product_id' AND type='index'
|
817
|
-
|
818
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
819
|
-
FROM sqlite_master
|
820
|
-
WHERE name='index_rails_marketplace_friendly_id_slugs_on_sluggable_id' AND type='index'
|
821
|
-
UNION ALL
|
822
|
-
SELECT sql
|
823
|
-
FROM sqlite_temp_master
|
824
|
-
WHERE name='index_rails_marketplace_friendly_id_slugs_on_sluggable_id' AND type='index'
|
825
|
-
[0m
|
826
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
827
|
-
FROM sqlite_master
|
828
|
-
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
829
|
-
UNION ALL
|
830
|
-
SELECT sql
|
831
|
-
FROM sqlite_temp_master
|
832
|
-
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
833
|
-
|
834
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
835
|
-
FROM sqlite_master
|
836
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
837
|
-
UNION ALL
|
838
|
-
SELECT sql
|
839
|
-
FROM sqlite_temp_master
|
840
|
-
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
841
|
-
[0m
|
842
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
843
|
-
FROM sqlite_master
|
844
|
-
WHERE name='index_rails_marketplace_orders_on_seller_id' AND type='index'
|
845
|
-
UNION ALL
|
846
|
-
SELECT sql
|
847
|
-
FROM sqlite_temp_master
|
848
|
-
WHERE name='index_rails_marketplace_orders_on_seller_id' AND type='index'
|
849
|
-
|
850
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
851
|
-
FROM sqlite_master
|
852
|
-
WHERE name='index_rails_marketplace_orders_on_customer_id' AND type='index'
|
853
|
-
UNION ALL
|
854
|
-
SELECT sql
|
855
|
-
FROM sqlite_temp_master
|
856
|
-
WHERE name='index_rails_marketplace_orders_on_customer_id' AND type='index'
|
857
|
-
[0m
|
858
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
859
|
-
FROM sqlite_master
|
860
|
-
WHERE name='index_rails_marketplace_products_on_slug' AND type='index'
|
861
|
-
UNION ALL
|
862
|
-
SELECT sql
|
863
|
-
FROM sqlite_temp_master
|
864
|
-
WHERE name='index_rails_marketplace_products_on_slug' AND type='index'
|
865
|
-
|
866
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
867
|
-
FROM sqlite_master
|
868
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
869
|
-
UNION ALL
|
870
|
-
SELECT sql
|
871
|
-
FROM sqlite_temp_master
|
872
|
-
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
873
|
-
[0m
|
874
|
-
[1m[35m (0.2ms)[0m SELECT sql
|
875
|
-
FROM sqlite_master
|
876
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
877
|
-
UNION ALL
|
878
|
-
SELECT sql
|
879
|
-
FROM sqlite_temp_master
|
880
|
-
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
881
|
-
|
882
|
-
[1m[36m (0.2ms)[0m [1m SELECT sql
|
883
|
-
FROM sqlite_master
|
884
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
885
|
-
UNION ALL
|
886
|
-
SELECT sql
|
887
|
-
FROM sqlite_temp_master
|
888
|
-
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
889
|
-
[0m
|
1
|
+
[1m[36m (133.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
2
|
+
[1m[35m (0.3ms)[0m select sqlite_version(*)
|
3
|
+
[1m[36m (132.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
+
Migrating to CreateSellers (20161013194852)
|
6
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
+
[1m[35m (0.7ms)[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)
|
8
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161013194852"]]
|
9
|
+
[1m[35m (124.8ms)[0m commit transaction
|
10
|
+
Migrating to CreateCustomers (20161013195006)
|
11
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12
|
+
[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)
|
13
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161013195006"]]
|
14
|
+
[1m[35m (130.1ms)[0m commit transaction
|
15
|
+
Migrating to CreateOrders (20161013195758)
|
16
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "rails_marketplace_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
18
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161013195758"]]
|
19
|
+
[1m[35m (119.7ms)[0m commit transaction
|
20
|
+
Migrating to CreateCategoryProducts (20161014013032)
|
21
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22
|
+
[1m[35m (0.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)
|
23
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_category_products_on_product_id" ON "rails_marketplace_category_products" ("product_id")[0m
|
24
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
25
|
+
FROM sqlite_master
|
26
|
+
WHERE name='index_rails_marketplace_category_products_on_product_id' AND type='index'
|
27
|
+
UNION ALL
|
28
|
+
SELECT sql
|
29
|
+
FROM sqlite_temp_master
|
30
|
+
WHERE name='index_rails_marketplace_category_products_on_product_id' AND type='index'
|
31
|
+
|
32
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_category_products_on_category_id" ON "rails_marketplace_category_products" ("category_id")[0m
|
33
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161014013032"]]
|
34
|
+
[1m[36m (139.2ms)[0m [1mcommit transaction[0m
|
35
|
+
Migrating to CreateOrderProducts (20161014013058)
|
36
|
+
[1m[35m (0.1ms)[0m begin transaction
|
37
|
+
[1m[36m (0.5ms)[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
|
38
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_order_products_on_product_id" ON "rails_marketplace_order_products" ("product_id")
|
39
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
40
|
+
FROM sqlite_master
|
41
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
42
|
+
UNION ALL
|
43
|
+
SELECT sql
|
44
|
+
FROM sqlite_temp_master
|
45
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
46
|
+
[0m
|
47
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "index_rails_marketplace_order_products_on_order_id" ON "rails_marketplace_order_products" ("order_id")
|
48
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
49
|
+
FROM sqlite_master
|
50
|
+
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
51
|
+
UNION ALL
|
52
|
+
SELECT sql
|
53
|
+
FROM sqlite_temp_master
|
54
|
+
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
55
|
+
[0m
|
56
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
57
|
+
FROM sqlite_master
|
58
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
59
|
+
UNION ALL
|
60
|
+
SELECT sql
|
61
|
+
FROM sqlite_temp_master
|
62
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
63
|
+
|
64
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_order_products_on_seller_id" ON "rails_marketplace_order_products" ("seller_id")[0m
|
65
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161014013058"]]
|
66
|
+
[1m[36m (148.6ms)[0m [1mcommit transaction[0m
|
67
|
+
Migrating to CreateAdmins (20161017185755)
|
68
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69
|
+
[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
|
70
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161017185755"]]
|
71
|
+
[1m[36m (153.0ms)[0m [1mcommit transaction[0m
|
72
|
+
Migrating to CreateProducts (20161017232347)
|
73
|
+
[1m[35m (0.1ms)[0m begin transaction
|
74
|
+
[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
|
75
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "index_rails_marketplace_products_on_title" ON "rails_marketplace_products" ("title")
|
76
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
77
|
+
FROM sqlite_master
|
78
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
79
|
+
UNION ALL
|
80
|
+
SELECT sql
|
81
|
+
FROM sqlite_temp_master
|
82
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
83
|
+
[0m
|
84
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_products_on_price" ON "rails_marketplace_products" ("price")
|
85
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161017232347"]]
|
86
|
+
[1m[35m (150.9ms)[0m commit transaction
|
87
|
+
Migrating to AddReferenceProductSeller (20161019012043)
|
88
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
89
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "rails_marketplace_products" ADD "seller_id" integer
|
90
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
91
|
+
FROM sqlite_master
|
92
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
93
|
+
UNION ALL
|
94
|
+
SELECT sql
|
95
|
+
FROM sqlite_temp_master
|
96
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
97
|
+
[0m
|
98
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
99
|
+
FROM sqlite_master
|
100
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
101
|
+
UNION ALL
|
102
|
+
SELECT sql
|
103
|
+
FROM sqlite_temp_master
|
104
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
105
|
+
|
106
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_seller_id" ON "rails_marketplace_products" ("seller_id")[0m
|
107
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161019012043"]]
|
108
|
+
[1m[36m (187.0ms)[0m [1mcommit transaction[0m
|
109
|
+
Migrating to ChangeDataTypeImagesFiles (20161019013502)
|
110
|
+
[1m[35m (0.1ms)[0m begin transaction
|
111
|
+
[1m[36m (0.5ms)[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
|
112
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
113
|
+
FROM sqlite_master
|
114
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
115
|
+
UNION ALL
|
116
|
+
SELECT sql
|
117
|
+
FROM sqlite_temp_master
|
118
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
119
|
+
|
120
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
121
|
+
FROM sqlite_master
|
122
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
123
|
+
UNION ALL
|
124
|
+
SELECT sql
|
125
|
+
FROM sqlite_temp_master
|
126
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
127
|
+
[0m
|
128
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
129
|
+
FROM sqlite_master
|
130
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
131
|
+
UNION ALL
|
132
|
+
SELECT sql
|
133
|
+
FROM sqlite_temp_master
|
134
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
135
|
+
|
136
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_products_on_seller_id" ON "arails_marketplace_products" ("seller_id")[0m
|
137
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "tindex_arails_marketplace_products_on_price" ON "arails_marketplace_products" ("price")
|
138
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_products_on_title" ON "arails_marketplace_products" ("title")[0m
|
139
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "rails_marketplace_products"
|
140
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "rails_marketplace_products"[0m
|
141
|
+
[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)
|
142
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
143
|
+
FROM sqlite_master
|
144
|
+
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
145
|
+
UNION ALL
|
146
|
+
SELECT sql
|
147
|
+
FROM sqlite_temp_master
|
148
|
+
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
149
|
+
[0m
|
150
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
151
|
+
FROM sqlite_master
|
152
|
+
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
153
|
+
UNION ALL
|
154
|
+
SELECT sql
|
155
|
+
FROM sqlite_temp_master
|
156
|
+
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
157
|
+
|
158
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
159
|
+
FROM sqlite_master
|
160
|
+
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
161
|
+
UNION ALL
|
162
|
+
SELECT sql
|
163
|
+
FROM sqlite_temp_master
|
164
|
+
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
165
|
+
[0m
|
166
|
+
[1m[35m (0.4ms)[0m CREATE INDEX "index_rails_marketplace_products_on_title" ON "rails_marketplace_products" ("title")
|
167
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
168
|
+
FROM sqlite_master
|
169
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
170
|
+
UNION ALL
|
171
|
+
SELECT sql
|
172
|
+
FROM sqlite_temp_master
|
173
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
174
|
+
[0m
|
175
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_rails_marketplace_products_on_price" ON "rails_marketplace_products" ("price")
|
176
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
177
|
+
FROM sqlite_master
|
178
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
179
|
+
UNION ALL
|
180
|
+
SELECT sql
|
181
|
+
FROM sqlite_temp_master
|
182
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
183
|
+
[0m
|
184
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
185
|
+
FROM sqlite_master
|
186
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
187
|
+
UNION ALL
|
188
|
+
SELECT sql
|
189
|
+
FROM sqlite_temp_master
|
190
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
191
|
+
|
192
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_seller_id" ON "rails_marketplace_products" ("seller_id")[0m
|
193
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "arails_marketplace_products"
|
194
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "arails_marketplace_products"[0m
|
195
|
+
[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)
|
196
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
197
|
+
FROM sqlite_master
|
198
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
199
|
+
UNION ALL
|
200
|
+
SELECT sql
|
201
|
+
FROM sqlite_temp_master
|
202
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
203
|
+
[0m
|
204
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
205
|
+
FROM sqlite_master
|
206
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
207
|
+
UNION ALL
|
208
|
+
SELECT sql
|
209
|
+
FROM sqlite_temp_master
|
210
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
211
|
+
|
212
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
213
|
+
FROM sqlite_master
|
214
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
215
|
+
UNION ALL
|
216
|
+
SELECT sql
|
217
|
+
FROM sqlite_temp_master
|
218
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
219
|
+
[0m
|
220
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "tindex_arails_marketplace_products_on_seller_id" ON "arails_marketplace_products" ("seller_id")
|
221
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_products_on_price" ON "arails_marketplace_products" ("price")[0m
|
222
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "tindex_arails_marketplace_products_on_title" ON "arails_marketplace_products" ("title")
|
223
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "rails_marketplace_products"[0m
|
224
|
+
[1m[35m (0.5ms)[0m DROP TABLE "rails_marketplace_products"
|
225
|
+
[1m[36m (0.6ms)[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
|
226
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
227
|
+
FROM sqlite_master
|
228
|
+
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
229
|
+
UNION ALL
|
230
|
+
SELECT sql
|
231
|
+
FROM sqlite_temp_master
|
232
|
+
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
233
|
+
|
234
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
235
|
+
FROM sqlite_master
|
236
|
+
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
237
|
+
UNION ALL
|
238
|
+
SELECT sql
|
239
|
+
FROM sqlite_temp_master
|
240
|
+
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
241
|
+
[0m
|
242
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
243
|
+
FROM sqlite_master
|
244
|
+
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
245
|
+
UNION ALL
|
246
|
+
SELECT sql
|
247
|
+
FROM sqlite_temp_master
|
248
|
+
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
249
|
+
|
250
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_title" ON "rails_marketplace_products" ("title")[0m
|
251
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
252
|
+
FROM sqlite_master
|
253
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
254
|
+
UNION ALL
|
255
|
+
SELECT sql
|
256
|
+
FROM sqlite_temp_master
|
257
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
258
|
+
|
259
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_price" ON "rails_marketplace_products" ("price")[0m
|
260
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
261
|
+
FROM sqlite_master
|
262
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
263
|
+
UNION ALL
|
264
|
+
SELECT sql
|
265
|
+
FROM sqlite_temp_master
|
266
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
267
|
+
|
268
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
269
|
+
FROM sqlite_master
|
270
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
271
|
+
UNION ALL
|
272
|
+
SELECT sql
|
273
|
+
FROM sqlite_temp_master
|
274
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
275
|
+
[0m
|
276
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_products_on_seller_id" ON "rails_marketplace_products" ("seller_id")
|
277
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "arails_marketplace_products"[0m
|
278
|
+
[1m[35m (0.3ms)[0m DROP TABLE "arails_marketplace_products"
|
279
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161019013502"]]
|
280
|
+
[1m[35m (135.3ms)[0m commit transaction
|
281
|
+
Migrating to AddReferenceOrderCustomers (20161019022020)
|
282
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
283
|
+
[1m[35m (0.7ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "customer_id" integer
|
284
|
+
[1m[36m (0.4ms)[0m [1mCREATE INDEX "index_rails_marketplace_orders_on_customer_id" ON "rails_marketplace_orders" ("customer_id")[0m
|
285
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161019022020"]]
|
286
|
+
[1m[36m (228.4ms)[0m [1mcommit transaction[0m
|
287
|
+
Migrating to CreateCategories (20161109191644)
|
288
|
+
[1m[35m (0.1ms)[0m begin transaction
|
289
|
+
[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
|
290
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_categories_on_parent_id" ON "rails_marketplace_categories" ("parent_id")
|
291
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161109191644"]]
|
292
|
+
[1m[35m (152.0ms)[0m commit transaction
|
293
|
+
Migrating to CreateFriendlyIdSlugs (20161110021043)
|
294
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
295
|
+
[1m[35m (0.7ms)[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)
|
296
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_rails_marketplace_friendly_id_slugs_on_sluggable_id" ON "rails_marketplace_friendly_id_slugs" ("sluggable_id")[0m
|
297
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161110021043"]]
|
298
|
+
[1m[36m (149.5ms)[0m [1mcommit transaction[0m
|
299
|
+
Migrating to AddSlugToCategory (20161110021131)
|
300
|
+
[1m[35m (0.1ms)[0m begin transaction
|
301
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "rails_marketplace_categories" ADD "slug" varchar[0m
|
302
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
303
|
+
FROM sqlite_master
|
304
|
+
WHERE name='index_rails_marketplace_categories_on_parent_id' AND type='index'
|
305
|
+
UNION ALL
|
306
|
+
SELECT sql
|
307
|
+
FROM sqlite_temp_master
|
308
|
+
WHERE name='index_rails_marketplace_categories_on_parent_id' AND type='index'
|
309
|
+
|
310
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_rails_marketplace_categories_on_slug" ON "rails_marketplace_categories" ("slug")[0m
|
311
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161110021131"]]
|
312
|
+
[1m[36m (152.0ms)[0m [1mcommit transaction[0m
|
313
|
+
Migrating to AddSlugToProduct (20161110024118)
|
314
|
+
[1m[35m (0.1ms)[0m begin transaction
|
315
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "rails_marketplace_products" ADD "slug" varchar[0m
|
316
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
317
|
+
FROM sqlite_master
|
318
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
319
|
+
UNION ALL
|
320
|
+
SELECT sql
|
321
|
+
FROM sqlite_temp_master
|
322
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
323
|
+
|
324
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
325
|
+
FROM sqlite_master
|
326
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
327
|
+
UNION ALL
|
328
|
+
SELECT sql
|
329
|
+
FROM sqlite_temp_master
|
330
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
331
|
+
[0m
|
332
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
333
|
+
FROM sqlite_master
|
334
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
335
|
+
UNION ALL
|
336
|
+
SELECT sql
|
337
|
+
FROM sqlite_temp_master
|
338
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
339
|
+
|
340
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_rails_marketplace_products_on_slug" ON "rails_marketplace_products" ("slug")[0m
|
341
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161110024118"]]
|
342
|
+
[1m[36m (162.4ms)[0m [1mcommit transaction[0m
|
343
|
+
Migrating to CreateCarts (20161111001446)
|
344
|
+
[1m[35m (0.1ms)[0m begin transaction
|
345
|
+
[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
|
346
|
+
[1m[35m (0.7ms)[0m CREATE INDEX "index_rails_marketplace_carts_on_customer_id" ON "rails_marketplace_carts" ("customer_id")
|
347
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161111001446"]]
|
348
|
+
[1m[35m (150.9ms)[0m commit transaction
|
349
|
+
Migrating to CreateCartProducts (20161111004451)
|
350
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
351
|
+
[1m[35m (0.6ms)[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)
|
352
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_cart_products_on_product_id" ON "rails_marketplace_cart_products" ("product_id")[0m
|
353
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
354
|
+
FROM sqlite_master
|
355
|
+
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
356
|
+
UNION ALL
|
357
|
+
SELECT sql
|
358
|
+
FROM sqlite_temp_master
|
359
|
+
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
360
|
+
|
361
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_cart_products_on_cart_id" ON "rails_marketplace_cart_products" ("cart_id")[0m
|
362
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161111004451"]]
|
363
|
+
[1m[36m (151.8ms)[0m [1mcommit transaction[0m
|
364
|
+
Migrating to AddCurrencyFormatToPrice (20161115013956)
|
365
|
+
[1m[35m (0.1ms)[0m begin transaction
|
366
|
+
[1m[36m (0.5ms)[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
|
367
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
368
|
+
FROM sqlite_master
|
369
|
+
WHERE name='index_rails_marketplace_products_on_slug' AND type='index'
|
370
|
+
UNION ALL
|
371
|
+
SELECT sql
|
372
|
+
FROM sqlite_temp_master
|
373
|
+
WHERE name='index_rails_marketplace_products_on_slug' AND type='index'
|
374
|
+
|
375
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
376
|
+
FROM sqlite_master
|
377
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
378
|
+
UNION ALL
|
379
|
+
SELECT sql
|
380
|
+
FROM sqlite_temp_master
|
381
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
382
|
+
[0m
|
383
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
384
|
+
FROM sqlite_master
|
385
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
386
|
+
UNION ALL
|
387
|
+
SELECT sql
|
388
|
+
FROM sqlite_temp_master
|
389
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
390
|
+
|
391
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
392
|
+
FROM sqlite_master
|
393
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
394
|
+
UNION ALL
|
395
|
+
SELECT sql
|
396
|
+
FROM sqlite_temp_master
|
397
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
398
|
+
[0m
|
399
|
+
[1m[35m (0.3ms)[0m CREATE UNIQUE INDEX "tindex_arails_marketplace_products_on_slug" ON "arails_marketplace_products" ("slug")
|
400
|
+
[1m[36m (0.4ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_products_on_seller_id" ON "arails_marketplace_products" ("seller_id")[0m
|
401
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "tindex_arails_marketplace_products_on_price" ON "arails_marketplace_products" ("price")
|
402
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_products_on_title" ON "arails_marketplace_products" ("title")[0m
|
403
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "rails_marketplace_products"
|
404
|
+
[1m[36m (0.7ms)[0m [1mDROP TABLE "rails_marketplace_products"[0m
|
405
|
+
[1m[35m (0.5ms)[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)
|
406
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
407
|
+
FROM sqlite_master
|
408
|
+
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
409
|
+
UNION ALL
|
410
|
+
SELECT sql
|
411
|
+
FROM sqlite_temp_master
|
412
|
+
WHERE name='tindex_arails_marketplace_products_on_title' AND type='index'
|
413
|
+
[0m
|
414
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
415
|
+
FROM sqlite_master
|
416
|
+
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
417
|
+
UNION ALL
|
418
|
+
SELECT sql
|
419
|
+
FROM sqlite_temp_master
|
420
|
+
WHERE name='tindex_arails_marketplace_products_on_price' AND type='index'
|
421
|
+
|
422
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
423
|
+
FROM sqlite_master
|
424
|
+
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
425
|
+
UNION ALL
|
426
|
+
SELECT sql
|
427
|
+
FROM sqlite_temp_master
|
428
|
+
WHERE name='tindex_arails_marketplace_products_on_seller_id' AND type='index'
|
429
|
+
[0m
|
430
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
431
|
+
FROM sqlite_master
|
432
|
+
WHERE name='tindex_arails_marketplace_products_on_slug' AND type='index'
|
433
|
+
UNION ALL
|
434
|
+
SELECT sql
|
435
|
+
FROM sqlite_temp_master
|
436
|
+
WHERE name='tindex_arails_marketplace_products_on_slug' AND type='index'
|
437
|
+
|
438
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_title" ON "rails_marketplace_products" ("title")[0m
|
439
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
440
|
+
FROM sqlite_master
|
441
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
442
|
+
UNION ALL
|
443
|
+
SELECT sql
|
444
|
+
FROM sqlite_temp_master
|
445
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
446
|
+
|
447
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_products_on_price" ON "rails_marketplace_products" ("price")[0m
|
448
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
449
|
+
FROM sqlite_master
|
450
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
451
|
+
UNION ALL
|
452
|
+
SELECT sql
|
453
|
+
FROM sqlite_temp_master
|
454
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
455
|
+
|
456
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
457
|
+
FROM sqlite_master
|
458
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
459
|
+
UNION ALL
|
460
|
+
SELECT sql
|
461
|
+
FROM sqlite_temp_master
|
462
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
463
|
+
[0m
|
464
|
+
[1m[35m (0.4ms)[0m CREATE INDEX "index_rails_marketplace_products_on_seller_id" ON "rails_marketplace_products" ("seller_id")
|
465
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
466
|
+
FROM sqlite_master
|
467
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
468
|
+
UNION ALL
|
469
|
+
SELECT sql
|
470
|
+
FROM sqlite_temp_master
|
471
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
472
|
+
[0m
|
473
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
474
|
+
FROM sqlite_master
|
475
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
476
|
+
UNION ALL
|
477
|
+
SELECT sql
|
478
|
+
FROM sqlite_temp_master
|
479
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
480
|
+
|
481
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
482
|
+
FROM sqlite_master
|
483
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
484
|
+
UNION ALL
|
485
|
+
SELECT sql
|
486
|
+
FROM sqlite_temp_master
|
487
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
488
|
+
[0m
|
489
|
+
[1m[35m (0.4ms)[0m CREATE UNIQUE INDEX "index_rails_marketplace_products_on_slug" ON "rails_marketplace_products" ("slug")
|
490
|
+
[1m[36m (0.2ms)[0m [1mSELECT * FROM "arails_marketplace_products"[0m
|
491
|
+
[1m[35m (0.4ms)[0m DROP TABLE "arails_marketplace_products"
|
492
|
+
[1m[36m (0.4ms)[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
|
493
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
494
|
+
FROM sqlite_master
|
495
|
+
WHERE name='index_rails_marketplace_cart_products_on_cart_id' AND type='index'
|
496
|
+
UNION ALL
|
497
|
+
SELECT sql
|
498
|
+
FROM sqlite_temp_master
|
499
|
+
WHERE name='index_rails_marketplace_cart_products_on_cart_id' AND type='index'
|
500
|
+
|
501
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
502
|
+
FROM sqlite_master
|
503
|
+
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
504
|
+
UNION ALL
|
505
|
+
SELECT sql
|
506
|
+
FROM sqlite_temp_master
|
507
|
+
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
508
|
+
[0m
|
509
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "tindex_arails_marketplace_cart_products_on_cart_id" ON "arails_marketplace_cart_products" ("cart_id")
|
510
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_cart_products_on_product_id" ON "arails_marketplace_cart_products" ("product_id")[0m
|
511
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "rails_marketplace_cart_products"
|
512
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "rails_marketplace_cart_products"[0m
|
513
|
+
[1m[35m (0.4ms)[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)
|
514
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
515
|
+
FROM sqlite_master
|
516
|
+
WHERE name='tindex_arails_marketplace_cart_products_on_product_id' AND type='index'
|
517
|
+
UNION ALL
|
518
|
+
SELECT sql
|
519
|
+
FROM sqlite_temp_master
|
520
|
+
WHERE name='tindex_arails_marketplace_cart_products_on_product_id' AND type='index'
|
521
|
+
[0m
|
522
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
523
|
+
FROM sqlite_master
|
524
|
+
WHERE name='tindex_arails_marketplace_cart_products_on_cart_id' AND type='index'
|
525
|
+
UNION ALL
|
526
|
+
SELECT sql
|
527
|
+
FROM sqlite_temp_master
|
528
|
+
WHERE name='tindex_arails_marketplace_cart_products_on_cart_id' AND type='index'
|
529
|
+
|
530
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_cart_products_on_product_id" ON "rails_marketplace_cart_products" ("product_id")[0m
|
531
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
532
|
+
FROM sqlite_master
|
533
|
+
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
534
|
+
UNION ALL
|
535
|
+
SELECT sql
|
536
|
+
FROM sqlite_temp_master
|
537
|
+
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
538
|
+
|
539
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_cart_products_on_cart_id" ON "rails_marketplace_cart_products" ("cart_id")[0m
|
540
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "arails_marketplace_cart_products"
|
541
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "arails_marketplace_cart_products"[0m
|
542
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161115013956"]]
|
543
|
+
[1m[36m (111.5ms)[0m [1mcommit transaction[0m
|
544
|
+
Migrating to MonetizeProduct (20161115015227)
|
545
|
+
[1m[35m (0.1ms)[0m begin transaction
|
546
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161115015227"]]
|
547
|
+
[1m[35m (132.1ms)[0m commit transaction
|
548
|
+
Migrating to AddStripeKeyToAdmin (20161115032905)
|
549
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
550
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "rails_marketplace_admins" ADD "stripe_publishable_key" varchar
|
551
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_admins" ADD "stripe_secret_key" varchar[0m
|
552
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161115032905"]]
|
553
|
+
[1m[36m (129.8ms)[0m [1mcommit transaction[0m
|
554
|
+
Migrating to AddOrderFields (20161124015608)
|
555
|
+
[1m[35m (0.1ms)[0m begin transaction
|
556
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "email" varchar[0m
|
557
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "fullname" varchar
|
558
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "address1" varchar[0m
|
559
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "address2" varchar
|
560
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "city" varchar[0m
|
561
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "state" varchar
|
562
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "zip" varchar[0m
|
563
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "country" varchar
|
564
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "phone" varchar[0m
|
565
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "shipping_method" varchar
|
566
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "rails_marketplace_orders" ADD "is_gift" boolean[0m
|
567
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "gift_message" text
|
568
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161124015608"]]
|
569
|
+
[1m[35m (133.8ms)[0m commit transaction
|
570
|
+
Migrating to AddSellerToOrders (20161207193917)
|
571
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
572
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "rails_marketplace_orders" ADD "seller_id" integer
|
573
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
574
|
+
FROM sqlite_master
|
575
|
+
WHERE name='index_rails_marketplace_orders_on_customer_id' AND type='index'
|
576
|
+
UNION ALL
|
577
|
+
SELECT sql
|
578
|
+
FROM sqlite_temp_master
|
579
|
+
WHERE name='index_rails_marketplace_orders_on_customer_id' AND type='index'
|
580
|
+
[0m
|
581
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "index_rails_marketplace_orders_on_seller_id" ON "rails_marketplace_orders" ("seller_id")
|
582
|
+
[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, "seller_id" integer, "quantity" integer, "price" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
583
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
584
|
+
FROM sqlite_master
|
585
|
+
WHERE name='index_rails_marketplace_order_products_on_seller_id' AND type='index'
|
586
|
+
UNION ALL
|
587
|
+
SELECT sql
|
588
|
+
FROM sqlite_temp_master
|
589
|
+
WHERE name='index_rails_marketplace_order_products_on_seller_id' AND type='index'
|
590
|
+
|
591
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
592
|
+
FROM sqlite_master
|
593
|
+
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
594
|
+
UNION ALL
|
595
|
+
SELECT sql
|
596
|
+
FROM sqlite_temp_master
|
597
|
+
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
598
|
+
[0m
|
599
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
600
|
+
FROM sqlite_master
|
601
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
602
|
+
UNION ALL
|
603
|
+
SELECT sql
|
604
|
+
FROM sqlite_temp_master
|
605
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
606
|
+
|
607
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_order_products_on_seller_id" ON "arails_marketplace_order_products" ("seller_id")[0m
|
608
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "tindex_arails_marketplace_order_products_on_order_id" ON "arails_marketplace_order_products" ("order_id")
|
609
|
+
[1m[36m (0.4ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_order_products_on_product_id" ON "arails_marketplace_order_products" ("product_id")[0m
|
610
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "rails_marketplace_order_products"
|
611
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "rails_marketplace_order_products"[0m
|
612
|
+
[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" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
613
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
614
|
+
FROM sqlite_master
|
615
|
+
WHERE name='tindex_arails_marketplace_order_products_on_product_id' AND type='index'
|
616
|
+
UNION ALL
|
617
|
+
SELECT sql
|
618
|
+
FROM sqlite_temp_master
|
619
|
+
WHERE name='tindex_arails_marketplace_order_products_on_product_id' AND type='index'
|
620
|
+
[0m
|
621
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
622
|
+
FROM sqlite_master
|
623
|
+
WHERE name='tindex_arails_marketplace_order_products_on_order_id' AND type='index'
|
624
|
+
UNION ALL
|
625
|
+
SELECT sql
|
626
|
+
FROM sqlite_temp_master
|
627
|
+
WHERE name='tindex_arails_marketplace_order_products_on_order_id' AND type='index'
|
628
|
+
|
629
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
630
|
+
FROM sqlite_master
|
631
|
+
WHERE name='tindex_arails_marketplace_order_products_on_seller_id' AND type='index'
|
632
|
+
UNION ALL
|
633
|
+
SELECT sql
|
634
|
+
FROM sqlite_temp_master
|
635
|
+
WHERE name='tindex_arails_marketplace_order_products_on_seller_id' AND type='index'
|
636
|
+
[0m
|
637
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_rails_marketplace_order_products_on_product_id" ON "rails_marketplace_order_products" ("product_id")
|
638
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
639
|
+
FROM sqlite_master
|
640
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
641
|
+
UNION ALL
|
642
|
+
SELECT sql
|
643
|
+
FROM sqlite_temp_master
|
644
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
645
|
+
[0m
|
646
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "index_rails_marketplace_order_products_on_order_id" ON "rails_marketplace_order_products" ("order_id")
|
647
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "arails_marketplace_order_products"[0m
|
648
|
+
[1m[35m (0.3ms)[0m DROP TABLE "arails_marketplace_order_products"
|
649
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161207193917"]]
|
650
|
+
[1m[35m (166.4ms)[0m commit transaction
|
651
|
+
Migrating to AddPriceToCartProducts (20161208012601)
|
652
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
653
|
+
[1m[35m (0.7ms)[0m ALTER TABLE "rails_marketplace_cart_products" ADD "price" decimal(8,2)
|
654
|
+
[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, "quantity" integer, "price" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
655
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
656
|
+
FROM sqlite_master
|
657
|
+
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
658
|
+
UNION ALL
|
659
|
+
SELECT sql
|
660
|
+
FROM sqlite_temp_master
|
661
|
+
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
662
|
+
|
663
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
664
|
+
FROM sqlite_master
|
665
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
666
|
+
UNION ALL
|
667
|
+
SELECT sql
|
668
|
+
FROM sqlite_temp_master
|
669
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
670
|
+
[0m
|
671
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "tindex_arails_marketplace_order_products_on_order_id" ON "arails_marketplace_order_products" ("order_id")
|
672
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "tindex_arails_marketplace_order_products_on_product_id" ON "arails_marketplace_order_products" ("product_id")[0m
|
673
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "rails_marketplace_order_products"
|
674
|
+
[1m[36m (0.6ms)[0m [1mDROP TABLE "rails_marketplace_order_products"[0m
|
675
|
+
[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)
|
676
|
+
[1m[36m (0.3ms)[0m [1m SELECT sql
|
677
|
+
FROM sqlite_master
|
678
|
+
WHERE name='tindex_arails_marketplace_order_products_on_product_id' AND type='index'
|
679
|
+
UNION ALL
|
680
|
+
SELECT sql
|
681
|
+
FROM sqlite_temp_master
|
682
|
+
WHERE name='tindex_arails_marketplace_order_products_on_product_id' AND type='index'
|
683
|
+
[0m
|
684
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
685
|
+
FROM sqlite_master
|
686
|
+
WHERE name='tindex_arails_marketplace_order_products_on_order_id' AND type='index'
|
687
|
+
UNION ALL
|
688
|
+
SELECT sql
|
689
|
+
FROM sqlite_temp_master
|
690
|
+
WHERE name='tindex_arails_marketplace_order_products_on_order_id' AND type='index'
|
691
|
+
|
692
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_rails_marketplace_order_products_on_product_id" ON "rails_marketplace_order_products" ("product_id")[0m
|
693
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
694
|
+
FROM sqlite_master
|
695
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
696
|
+
UNION ALL
|
697
|
+
SELECT sql
|
698
|
+
FROM sqlite_temp_master
|
699
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
700
|
+
|
701
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_rails_marketplace_order_products_on_order_id" ON "rails_marketplace_order_products" ("order_id")[0m
|
702
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "arails_marketplace_order_products"
|
703
|
+
[1m[36m (0.3ms)[0m [1mDROP TABLE "arails_marketplace_order_products"[0m
|
704
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161208012601"]]
|
705
|
+
[1m[36m (147.9ms)[0m [1mcommit transaction[0m
|
706
|
+
Migrating to AddMoneyToCartProducts (20161208013402)
|
707
|
+
[1m[35m (0.1ms)[0m begin transaction
|
708
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20161208013402"]]
|
709
|
+
[1m[35m (131.8ms)[0m commit transaction
|
710
|
+
Migrating to CreateSellerSettings (20170217183953)
|
711
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
712
|
+
[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)
|
713
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170217183953"]]
|
714
|
+
[1m[35m (141.1ms)[0m commit transaction
|
715
|
+
Migrating to CreateAdminSettings (20170218003202)
|
716
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
717
|
+
[1m[35m (0.6ms)[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)
|
718
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170218003202"]]
|
719
|
+
[1m[35m (154.2ms)[0m commit transaction
|
720
|
+
Migrating to CreateStripeManagedAccounts (20170224230449)
|
721
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
722
|
+
[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)
|
723
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170224230449"]]
|
724
|
+
[1m[35m (142.1ms)[0m commit transaction
|
725
|
+
Migrating to AddStripeToAdminSettings (20170224233736)
|
726
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
727
|
+
[1m[35m (0.3ms)[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)
|
728
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "rails_marketplace_admins"[0m
|
729
|
+
[1m[35m (0.4ms)[0m DROP TABLE "rails_marketplace_admins"
|
730
|
+
[1m[36m (0.6ms)[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
|
731
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "arails_marketplace_admins"
|
732
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "arails_marketplace_admins"[0m
|
733
|
+
[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_secret_key" varchar)
|
734
|
+
[1m[36m (0.2ms)[0m [1mSELECT * FROM "rails_marketplace_admins"[0m
|
735
|
+
[1m[35m (0.6ms)[0m DROP TABLE "rails_marketplace_admins"
|
736
|
+
[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
|
737
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "arails_marketplace_admins"
|
738
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "arails_marketplace_admins"[0m
|
739
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "rails_marketplace_admin_settings" ADD "stripe_publishable_key" varchar
|
740
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "rails_marketplace_admin_settings" ADD "stripe_secret_key" varchar[0m
|
741
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170224233736"]]
|
742
|
+
[1m[36m (112.4ms)[0m [1mcommit transaction[0m
|
743
|
+
Migrating to AddIdToSettings (20170224235259)
|
744
|
+
[1m[35m (0.1ms)[0m begin transaction
|
745
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "rails_marketplace_admin_settings" ADD "admin_id" varchar[0m
|
746
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "rails_marketplace_seller_settings" ADD "seller_id" varchar
|
747
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170224235259"]]
|
748
|
+
[1m[35m (152.8ms)[0m commit transaction
|
749
|
+
Migrating to DeleteStripeAccounts (20170225002939)
|
750
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
751
|
+
[1m[35m (0.7ms)[0m DROP TABLE "rails_marketplace_stripe_managed_accounts"
|
752
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "rails_marketplace_seller_settings" ADD "stripe_publishable_key" varchar[0m
|
753
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "rails_marketplace_seller_settings" ADD "stripe_secret_key" varchar
|
754
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170225002939"]]
|
755
|
+
[1m[35m (127.4ms)[0m commit transaction
|
756
|
+
Migrating to AddStripeAccountIdToSellerSettings (20170225003252)
|
757
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
758
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "rails_marketplace_seller_settings" ADD "stripe_account_id" varchar
|
759
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170225003252"]]
|
760
|
+
[1m[35m (131.0ms)[0m commit transaction
|
761
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
762
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
763
|
+
FROM sqlite_master
|
764
|
+
WHERE name='index_rails_marketplace_cart_products_on_cart_id' AND type='index'
|
765
|
+
UNION ALL
|
766
|
+
SELECT sql
|
767
|
+
FROM sqlite_temp_master
|
768
|
+
WHERE name='index_rails_marketplace_cart_products_on_cart_id' AND type='index'
|
769
|
+
|
770
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
771
|
+
FROM sqlite_master
|
772
|
+
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
773
|
+
UNION ALL
|
774
|
+
SELECT sql
|
775
|
+
FROM sqlite_temp_master
|
776
|
+
WHERE name='index_rails_marketplace_cart_products_on_product_id' AND type='index'
|
777
|
+
[0m
|
778
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
779
|
+
FROM sqlite_master
|
780
|
+
WHERE name='index_rails_marketplace_carts_on_customer_id' AND type='index'
|
781
|
+
UNION ALL
|
782
|
+
SELECT sql
|
783
|
+
FROM sqlite_temp_master
|
784
|
+
WHERE name='index_rails_marketplace_carts_on_customer_id' AND type='index'
|
785
|
+
|
786
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
787
|
+
FROM sqlite_master
|
788
|
+
WHERE name='index_rails_marketplace_categories_on_slug' AND type='index'
|
789
|
+
UNION ALL
|
790
|
+
SELECT sql
|
791
|
+
FROM sqlite_temp_master
|
792
|
+
WHERE name='index_rails_marketplace_categories_on_slug' AND type='index'
|
793
|
+
[0m
|
794
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
795
|
+
FROM sqlite_master
|
796
|
+
WHERE name='index_rails_marketplace_categories_on_parent_id' AND type='index'
|
797
|
+
UNION ALL
|
798
|
+
SELECT sql
|
799
|
+
FROM sqlite_temp_master
|
800
|
+
WHERE name='index_rails_marketplace_categories_on_parent_id' AND type='index'
|
801
|
+
|
802
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
803
|
+
FROM sqlite_master
|
804
|
+
WHERE name='index_rails_marketplace_category_products_on_category_id' AND type='index'
|
805
|
+
UNION ALL
|
806
|
+
SELECT sql
|
807
|
+
FROM sqlite_temp_master
|
808
|
+
WHERE name='index_rails_marketplace_category_products_on_category_id' AND type='index'
|
809
|
+
[0m
|
810
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
811
|
+
FROM sqlite_master
|
812
|
+
WHERE name='index_rails_marketplace_category_products_on_product_id' AND type='index'
|
813
|
+
UNION ALL
|
814
|
+
SELECT sql
|
815
|
+
FROM sqlite_temp_master
|
816
|
+
WHERE name='index_rails_marketplace_category_products_on_product_id' AND type='index'
|
817
|
+
|
818
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
819
|
+
FROM sqlite_master
|
820
|
+
WHERE name='index_rails_marketplace_friendly_id_slugs_on_sluggable_id' AND type='index'
|
821
|
+
UNION ALL
|
822
|
+
SELECT sql
|
823
|
+
FROM sqlite_temp_master
|
824
|
+
WHERE name='index_rails_marketplace_friendly_id_slugs_on_sluggable_id' AND type='index'
|
825
|
+
[0m
|
826
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
827
|
+
FROM sqlite_master
|
828
|
+
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
829
|
+
UNION ALL
|
830
|
+
SELECT sql
|
831
|
+
FROM sqlite_temp_master
|
832
|
+
WHERE name='index_rails_marketplace_order_products_on_order_id' AND type='index'
|
833
|
+
|
834
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
835
|
+
FROM sqlite_master
|
836
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
837
|
+
UNION ALL
|
838
|
+
SELECT sql
|
839
|
+
FROM sqlite_temp_master
|
840
|
+
WHERE name='index_rails_marketplace_order_products_on_product_id' AND type='index'
|
841
|
+
[0m
|
842
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
843
|
+
FROM sqlite_master
|
844
|
+
WHERE name='index_rails_marketplace_orders_on_seller_id' AND type='index'
|
845
|
+
UNION ALL
|
846
|
+
SELECT sql
|
847
|
+
FROM sqlite_temp_master
|
848
|
+
WHERE name='index_rails_marketplace_orders_on_seller_id' AND type='index'
|
849
|
+
|
850
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
851
|
+
FROM sqlite_master
|
852
|
+
WHERE name='index_rails_marketplace_orders_on_customer_id' AND type='index'
|
853
|
+
UNION ALL
|
854
|
+
SELECT sql
|
855
|
+
FROM sqlite_temp_master
|
856
|
+
WHERE name='index_rails_marketplace_orders_on_customer_id' AND type='index'
|
857
|
+
[0m
|
858
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
859
|
+
FROM sqlite_master
|
860
|
+
WHERE name='index_rails_marketplace_products_on_slug' AND type='index'
|
861
|
+
UNION ALL
|
862
|
+
SELECT sql
|
863
|
+
FROM sqlite_temp_master
|
864
|
+
WHERE name='index_rails_marketplace_products_on_slug' AND type='index'
|
865
|
+
|
866
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
867
|
+
FROM sqlite_master
|
868
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
869
|
+
UNION ALL
|
870
|
+
SELECT sql
|
871
|
+
FROM sqlite_temp_master
|
872
|
+
WHERE name='index_rails_marketplace_products_on_seller_id' AND type='index'
|
873
|
+
[0m
|
874
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
875
|
+
FROM sqlite_master
|
876
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
877
|
+
UNION ALL
|
878
|
+
SELECT sql
|
879
|
+
FROM sqlite_temp_master
|
880
|
+
WHERE name='index_rails_marketplace_products_on_price' AND type='index'
|
881
|
+
|
882
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
883
|
+
FROM sqlite_master
|
884
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
885
|
+
UNION ALL
|
886
|
+
SELECT sql
|
887
|
+
FROM sqlite_temp_master
|
888
|
+
WHERE name='index_rails_marketplace_products_on_title' AND type='index'
|
889
|
+
[0m
|