- Fixed bug regarding "subqueryload" strategy whereby
strategy would fail if the entity was an aliased()
construct. [ticket:1964]
+
+- sql
+ - The 'info' attribute of Column is copied during
+ Column.copy(), i.e. as occurs when using columns
+ in declarative mixins. [ticket:1967]
- engine
- Implemented sequence check capability for the C
server_default=self.server_default,
onupdate=self.onupdate,
server_onupdate=self.server_onupdate,
+ info=self.info,
*args
)
if hasattr(self, '_table_events'):
Column(Integer(), ForeignKey('bat.blah')),
Column('bar', Integer(), ForeignKey('bat.blah'), primary_key=True,
key='bar'),
+ Column('bar', Integer(), info={'foo':'bar'}),
]:
c2 = col.copy()
for attr in ('name', 'type', 'nullable',
- 'primary_key', 'key', 'unique'):
+ 'primary_key', 'key', 'unique', 'info'):
eq_(getattr(col, attr), getattr(c2, attr))
eq_(len(col.foreign_keys), len(c2.foreign_keys))
if col.default: