Hello there,

I have a table (user_verifications) which has a non auto-incrementing 
primary key (user_id). The PK is an id referencing another table (users) 
via foreign key (user_verifications.user_id -> users.user_id). The idea is 
that user_verifications can only contain one value per user in the users 
table. As soon as I try to create a record I get the 
user_id is a restricted primary key
error. I am wondering why it is not possible to make use of identifying 1:1 
relationships with sequel. Anything I am missing?

Thanks in advance!

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sequel-talk.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/d515069a-06f4-4f46-9a88-0e8dbccf55b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to