Mike Bayer
a6b62cc3fe
Python-tidy test/engine and test/aaa_profiling, 80% auto + 20% manual intervention
2010-07-11 13:15:51 -04:00
Mike Bayer
a8e53a4f31
- Column.copy() takes along the "unique" attribute
...
among others, fixes [ticket:1829] regarding declarative
mixins
2010-06-15 17:56:17 -04:00
Mike Bayer
14d5232652
- Added table.add_is_dependent_on(othertable), allows manual
...
placement of dependency rules between two Table objects
for use within create_all(), drop_all(), sorted_tables.
[ticket:1801]
2010-05-13 15:53:18 -04:00
Mike Bayer
ff19492160
- Fixed "table" argument on constructor of ForeginKeyConstraint
...
[ticket:1571]
2010-04-26 00:14:21 -04:00
Mike Bayer
19de4da70f
- the copy() method of Column now copies over uninitialized
...
"on table attach" events. Helps with the new declarative
"mixin" capability.
2010-03-11 12:42:06 -05:00
Michael Trier
e759031b16
Added the ability to strip the schema when using tometadata by passing schema=None as an argument. Fixes #1673 .
2010-02-25 06:34:37 +00:00
Mike Bayer
2aa9f5541b
- "out" parameters require a type that is supported by
...
cx_oracle. An error will be raised if no cx_oracle
type can be found.
- Column() requires a type if it has no foreign keys (this is
not new). An error is now raised if a Column() has no type
and no foreign keys. [ticket:1705]
2010-02-23 22:15:09 +00:00
Mike Bayer
7ead46cbf2
merge r6616 of 0.5 branch, allow DefaultGenerators as "default" and "onupdate"
2010-01-07 00:24:30 +00:00
Mike Bayer
d05a35daf8
- The copy() method on Column now supports uninitialized,
...
unnamed Column objects. This allows easy creation of
declarative helpers which place common columns on multiple
subclasses (merged from 0.5 with changes).
2010-01-02 03:50:50 +00:00
Mike Bayer
f9cb6f5834
- reworked the DDL generation of ENUM and similar to be more platform agnostic.
...
Uses a straight CheckConstraint with a generic expression. Preparing for boolean
constraint in [ticket:1589]
- CheckConstraint now accepts SQL expressions, though support for quoting of values
will be very limited. we don't want to get into formatting dates and such.
2009-12-06 19:51:10 +00:00
Mike Bayer
f8e098544b
- ForeignKey(constraint=some_parent) is now private _constraint
...
- ForeignKey and ForeignKeyConstraint objects now correctly
copy() all their public keyword arguments. [ticket:1605]
2009-11-09 23:40:57 +00:00
Mike Bayer
0d2ae16aee
- the __contains__() method of MetaData now accepts
...
strings or `Table` objects as arguments. If given
a `Table`, the argument is converted to `table.key` first,
i.e. "[schemaname.]<tablename>" [ticket:1541]
2009-11-01 20:39:43 +00:00
Mike Bayer
9bab004a9b
- unit test fixes
...
- py3k readme
- removed column.sequence accessor
2009-10-10 16:14:13 +00:00
Mike Bayer
a6b56237fe
fix, comes back funky on PG reflection
2009-08-28 20:36:28 +00:00
Mike Bayer
f892d1a3fe
- Fixed column.copy() to copy defaults and onupdates.
...
[ticket:1373]
2009-08-28 19:00:44 +00:00
Mike Bayer
8fc5005dfe
merge 0.6 series to trunk.
2009-08-06 21:11:27 +00:00
Mike Bayer
05a82671c3
- Fixed bug in Table and Column whereby passing empty
...
dict for "info" argument would raise an exception.
[ticket:1482]
2009-07-25 21:40:27 +00:00
Mike Bayer
45cec095b4
- unit tests have been migrated from unittest to nose.
...
See README.unittests for information on how to run
the tests. [ticket:970]
2009-06-10 21:18:24 +00:00