Commit 364eb906 by vulehuan

when use mongodb, id is a string field

parent ac4a3164
...@@ -12,7 +12,7 @@ class Product ...@@ -12,7 +12,7 @@ class Product
field :review_count, type: Integer field :review_count, type: Integer
field :price_currency, type: String field :price_currency, type: String
field :price, type: Float field :price, type: Float
field :product_category_id, type: Integer field :product_category_id, type: String
field :user_id, type: String field :user_id, type: String
field :status, type: Mongoid::Boolean field :status, type: Mongoid::Boolean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment