Closed (works as designed)
Project:
User Relationships
Version:
7.x-1.0-alpha3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Dec 2011 at 08:03 UTC
Updated:
6 Dec 2011 at 10:29 UTC
I need to import the relationships from a CSV and it should have worked perfectly fine had the "rid" column been auto-increment. I went into the code and saw that the module uses db_next_id .. If you follow the link to db_next_id, it says that the function should be used only if for some reason the column cannot be made serial. So the question stays: Why cant we make the column auto-increment?
Comments
Comment #1
berdirThe rid is re-used for two-way relationships, it is not possible to use auto-increment.
You should use the API functions when importing something, everything else is not supported.