On Monday, August 17, 2015 at 7:33:47 AM UTC-7, [email protected] wrote:
>
> I can't make sense of your corresponding documentation 
> <http://sequel.jeremyevans.net/rdoc-plugins/classes/Sequel/Plugins/ClassTableInheritance.html>.
>  
> Is this possible?
>
> An example to illustrate what I mean:
>
> *user*
> id
> *primary key*
>
> *student*
> user_id
> *foreign key to user.id <http://user.id>*
>
> *teacher*
> user_id
> *foreign key to user.id <http://user.id>*
>

Currently, no, I don't think that is possible.  teacher and student must 
use id as the foreign key to user if you would like to use the 
class_table_inheritance plugin.

Thanks,
Jeremy

-- 
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 http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to