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