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

berdir’s picture

Status: Active » Closed (works as designed)

The 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.