madrahimov

Untitled

Aug 1st, 2017
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.98 KB | None | 0 0
  1. create_table "spree_product_groups", :force => true do |t|
  2. t.string "name"
  3. t.string "permalink"
  4. t.string "order"
  5. end
  6.  
  7. add_index "spree_product_groups", ["name"], :name => "index_product_groups_on_name"
  8. add_index "spree_product_groups", ["permalink"], :name => "index_product_groups_on_permalink"
  9.  
  10. create_table "spree_product_groups_products", :id => false, :force => true do |t|
  11. t.integer "product_id"
  12. t.integer "product_group_id"
  13. end
  14.  
  15. create_table "spree_product_option_types", :force => true do |t|
  16. t.integer "product_id"
  17. t.integer "option_type_id"
  18. t.integer "position"
  19. t.datetime "created_at"
  20. t.datetime "updated_at"
  21. end
  22.  
  23. create_table "spree_product_properties", :force => true do |t|
  24. t.integer "product_id"
  25. t.integer "property_id"
  26. t.string "value"
  27. t.datetime "created_at"
  28. t.datetime "updated_at"
  29. end
  30.  
  31. add_index "spree_product_properties", ["product_id"], :name => "index_product_properties_on_product_id"
  32.  
  33. create_table "spree_product_scopes", :force => true do |t|
  34. t.integer "product_group_id"
  35. t.string "name"
  36. t.text "arguments"
  37. end
  38.  
  39. add_index "spree_product_scopes", ["name"], :name => "index_product_scopes_on_name"
  40. add_index "spree_product_scopes", ["product_group_id"], :name => "index_product_scopes_on_product_group_id"
  41.  
  42. create_table "spree_products", :force => true do |t|
  43. t.string "name", :null => false
  44. t.text "description"
  45. t.datetime "created_at"
  46. t.datetime "updated_at"
  47. t.string "permalink"
  48. t.datetime "available_on"
  49. t.integer "tax_category_id"
  50. t.integer "shipping_category_id"
  51. t.datetime "deleted_at"
  52. t.string "meta_description"
  53. t.string "meta_keywords"
  54. t.integer "count_on_hand", :default => 0, :null => false
  55. t.decimal "rrp", :precision => 8, :scale => 2
  56. end
Advertisement
Add Comment
Please, Sign In to add comment