]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
sqlite/postgres reflection will properly add foreign keys
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 8 Jan 2006 18:11:52 +0000 (18:11 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 8 Jan 2006 18:11:52 +0000 (18:11 +0000)
commit23b744807599d01e6652a83d82e29da95695c814
tree5cdceb6b7fdbca4f8475460a446a69d6bde08c83
parent4c50fd22ed79425d52f5a05667757c4f83ad5304
sqlite/postgres reflection will properly add foreign keys
added append_item() method to column to work similarly to table.append_item(), used to
append foreign keys to the column (required in mysql)
appending new foreign keys will properly replace the old one, so explicitly appending
foreign keys to tables will replace those loaded via table reflection (instead of doubling them up)
lib/sqlalchemy/databases/information_schema.py
lib/sqlalchemy/databases/sqlite.py
lib/sqlalchemy/schema.py
test/engines.py