epartida Posted July 7, 2010 Share Posted July 7, 2010 I am integrating prestashop with an erpI see the id_product is auto-increment but not unique, then one id can repeat?Thanks Link to comment Share on other sites More sharing options...
rocky Posted July 8, 2010 Share Posted July 8, 2010 The id_product in ps_product should not repeat. It should be unique. In other tables like ps_category_product, where the product can be in multiple categories, it will not be unique. Link to comment Share on other sites More sharing options...
epartida Posted July 8, 2010 Author Share Posted July 8, 2010 Thanks.But it is not, at least not in ps_product structure, it seems that it is unique because it is incremental but speaking on a integration scenario the id is duplicated making an update.So I'm thinking to changet he ps_product structure only in the id_product to be unique.Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now