Is there a way to specify the table name for a Sequel::Model that uses 
class table inheritance? 

# table name: loc_id_bases
class LocIdBase < Sequel::Model
  plugin :class_table_inheritance, key: :kind, alias: :loc_id_bases
end

# table name: symbols
class OMSSymbol < LocIdBase
end

If we weren't using CTI, we would have defined the class like this:
class OMSSymbol < Sequel::Model(:symbols)

We can't just use
class OMSSymbol < LocIdBase(:symbols)
because LocIdBase is not a method. Is there a way to set the table name in 
this case? I couldn't find this in the docs.

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

Reply via email to