330 Commits

Author SHA1 Message Date
Jan Dittberner
27e24c3374 no special treatment for SQLA 0.7 required in migrate.changeset.ansisql 2011-05-27 12:55:11 +02:00
Jan Dittberner
108f28ae6b remove commented code 2011-05-26 21:56:11 +02:00
Jan Dittberner
1af477e661 fix unit test for adding new columns with foreign keys 2011-05-26 21:43:27 +02:00
Jan Dittberner
f80e91f05e use DatabaseError instead of ProgrammingError because behaviour seems to be database dependent (addresses issue 122) 2011-05-25 17:13:53 +02:00
Jan Dittberner
2836390634 table.drop() raises ProgrammingError in SQLAlchemy 0.7 instead of SQLError (addresses #112) 2011-05-25 16:53:02 +02:00
Jan Dittberner
20df98c44d SQLAlchemy 0.7's column.foreign_keys is a set and has no _list (addresses #112) 2011-05-25 16:38:00 +02:00
Jan Dittberner
eace107b69 use proper encoding instead of True (addresses #112) 2011-05-25 16:15:09 +02:00
Jan Dittberner
24031b7e82 fix one more test (addresses #112) 2011-05-25 16:06:42 +02:00
Jan Dittberner
e11a9e5cba use Table._columns to remove columns (addresses #112)
- add SQLA_07 predicate in migrate/changeset/__init__.py

- use Table._columns instead of Table.c when removing columns in
  migrate/changeset/schema.py
2011-05-25 15:29:28 +02:00
Jan Dittberner
97d89e357a psycopg2 downloads from initrd.org work without workaround
- remove (broken) http-URL from test-req.pip
2011-05-25 14:13:54 +02:00
iElectric
d52e8f065a add Developing with migrations tutorial link 2011-05-08 22:52:27 +02:00
iElectric
86bb3e7e36 merge 2011-04-29 19:27:52 +02:00
iElectric
f431b26489 add elixir tutorial to docs 2011-04-29 19:27:02 +02:00
Jan Dittberner
4e601ff405 start next iteration 2011-02-11 23:25:18 +01:00
Jan Dittberner
21bbca280a update version in docs/conf.py 2011-02-11 21:30:04 +01:00
Jan Dittberner
cd653ddfe2 Added tag v0.6.1 for changeset c2526dce0768 2011-02-11 21:12:15 +01:00
Jan Dittberner
45c37c9188 finalize changelog for 0.6.1 0.6.1 2011-02-11 21:11:17 +01:00
Chris Withers
0645c2fc9a Bring back alter_metadata on ColumnDelta: it seems intertwined with a lot of the tests.
So, it's a private API now...
2011-02-11 10:27:39 +00:00
Chris Withers
cda65c38b5 try to get firebird stuff working with 0.6.6 2011-02-10 17:02:42 +00:00
Chris Withers
b5a02cb7cf remove the alter_metadata feature 2011-02-10 16:49:20 +00:00
Chris Withers
c80120da55 work around firebird's insistence that indexes and constraints are dropped before columns that are references by them. 2011-02-10 15:19:00 +00:00
Chris Withers
500cb6f5df fix sqlite column dropper now that the table is only modified after the visitor is run 2011-02-10 15:17:28 +00:00
Chris Withers
b1745bee52 firebird can only drop named foreign keys 2011-02-10 15:16:35 +00:00
Chris Withers
f749919240 These drop indexes appear to only be for firebird.
Once firebird is fixed, they're not needed.
2011-02-10 15:16:15 +00:00
Chris Withers
9c9fe2fc24 Only alter the SA objects after running the visitor, so the visitor may inspect 2011-02-10 15:15:22 +00:00
Domen Kožar
b2db52ff4e fix py2.4 and py2.5 2011-02-05 18:19:37 +01:00
Domen Kožar
99148a9380 merge 2011-02-05 14:30:31 +01:00
Jan Dittberner
7bccd681a0 use mirrored copy of kinterbasedb to cope with SourceForge reliability problems 2011-02-05 14:27:26 +01:00
Domen Kožar
1b37b76d2e fixes #107 2011-02-05 14:25:25 +01:00
Domen Kožar
09a8867edd fixes #106 2011-02-05 14:16:00 +01:00
iElectric
c135f48fbf fixes #105 2010-12-06 01:16:00 +01:00
iElectric
e8b7ce854a merge 2010-11-16 18:15:19 +01:00
iElectric
47f4b5a619 adding faq section to docs 2010-11-16 18:14:43 +01:00
Jan Dittberner
05e39b2c6c make migrate.changeset.constraint.ForeignKeyConstraint.autoname work
with SQLAlchemy 0.5 and 0.6
2010-11-09 22:33:20 +01:00
Jan Dittberner
a3ae4baa29 use _index_identifier instead of _validate_identifier if
_validate_identifier does not exist in migrate/changeset/ansisql.py

remove executable bits from migrate/tests/fixture/warnings.py
2010-11-09 21:38:17 +01:00
Jan Dittberner
20fce9acd8 use absolute imports of exception classes (fixes tests) 2010-11-07 22:20:49 +01:00
Jan Dittberner
73796f3e54 fix generation of foreign key constraint name in
migrate.changeset.constraint.ForeignKeyConstraint.autoname

use <table>_<firstcol>_fkey instead of <table>_<reftable>_fkey

Fixes Issue 101
2010-11-07 22:19:36 +01:00
chrisw
eb6e2eea24 merge 2010-09-16 00:40:48 +01:00
chrisw
dc5bbffcfd update changelog 2010-09-16 00:36:18 +01:00
chrisw
82c5fcd58c implement column type diff'ing 2010-09-15 23:36:11 +01:00
iElectric
e03cabc49a update changelog 2010-09-12 13:31:48 +02:00
iElectric
ff93b652ca fixed #92 2010-09-12 13:29:17 +02:00
chrisw
8e5eb8f634 restore missing table header for column diffs 2010-09-10 15:21:05 +01:00
chrisw
91e887b081 rewrite of schemadiff internals 2010-09-10 14:43:56 +01:00
chrisw
20a58b6e02 preserve the original stack strace 2010-09-09 21:54:25 +01:00
chrisw
514498d6be don't stop if one db fails, run for all so we can tell how badly things went wrong on Hudson 2010-09-09 21:44:28 +01:00
chrisw
4d938a3baf remove reference to ficticious command 2010-09-09 18:30:58 +01:00
chrisw
4721bb1b81 clear out the test db for each test, making tests more isolated 2010-09-09 18:13:15 +01:00
chrisw
ede16eb5b0 for when logging is just annoying ;-) 2010-09-09 18:00:51 +01:00
chrisw
53610259d6 silence logger that SA adds 2010-09-09 18:00:25 +01:00