On 12/12/2015 04:42 AM, Ofir Herzas wrote: > I want to start using the naming convention but have several questions > regarding this feature: > > 1. Does the naming convention support Sequences? If not, what's the > proper way of handling them?
the Sequence object is a free-standing object so like a Table you would need to just give it a name. The case of Oracle is unique in that there's a heavy reliance on Sequence objects but right now there's no automation of the naming convention. If you wanted to, you could probably use the after_attach event to detect when a Sequence is associated with a Column and then a Table. > 2. Are Booleans going to be supported in the near future or will I have > to name them separately? The naming convention feature should work fully with the constraints generated by a Boolean type. > 3. How can I migrate my existing DBs to the naming convention? I'm not sure if Oracle supports a straight rename of constraints so you might have to write migrations that drop and recreate all constraints with names en-masse. > > Thanks, > Ofir > > -- > You received this message because you are subscribed to the Google > Groups "sqlalchemy" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at https://groups.google.com/group/sqlalchemy. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" 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/sqlalchemy. For more options, visit https://groups.google.com/d/optout.
