294 Commits

Author SHA1 Message Date
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
chrisw
960c978da9 give better feedback when errors occur in _setup or _teardown 2010-09-09 16:37:27 +01:00
chrisw
70e52901b2 quit screwing with the testing frameworks... 2010-09-09 16:28:42 +01:00
chrisw
b2347898e0 update feature matrix 2010-09-09 15:58:07 +01:00
chrisw
c5e3ed9f1f correct change log structure 2010-09-09 15:53:24 +01:00
chrisw
adf4113a0b Fix issue 94 - it was impossible to add a column with a non-unique index.
Also implement more functionality with unique and foreign key constrains for sqlite.
2010-09-09 15:38:42 +01:00
chrisw
a085ffa590 implement column adding with foreign keys on sqlite 2010-09-09 13:58:41 +01:00
chrisw
a7c0c18a52 Fix bug with column dropping involving foreign keys.
Bonus: remove_from_table now understands foreign keys
2010-09-09 11:53:08 +01:00
chrisw
5cf42fbf76 fix for issue 96: deleting a column in sqlite shouldn't delete all indexes
bonus: remove_from_table now removes indexes
2010-09-09 09:15:28 +01:00
chrisw
dceff55ff4 another py2.4 fixture 2010-09-08 17:06:58 +01:00
chrisw
802658018d dammit! 2010-09-08 16:21:54 +01:00
chrisw
aef73ed13e attempt at improving the api docs a little 2010-09-08 15:48:28 +01:00
chrisw
4905e28a97 improve docs 2010-09-08 15:24:08 +01:00
chrisw
10a16f5251 hopefully fix test failures 2010-09-08 14:35:01 +01:00
chrisw
c85bbec26c another Py2.4 fix 2010-09-08 13:16:49 +01:00
chrisw
0376ab0a21 fix docs 2010-09-08 12:05:13 +01:00
chrisw
1d2c2f979b another attempt to get around the initd.org problems 2010-09-08 11:32:19 +01:00
chrisw
a8aa2e46dc looks like init.org might be back 2010-09-07 23:22:14 +01:00
chrisw
34340517f0 disable psycopg install while initd.org is offline 2010-09-07 21:02:08 +01:00
chrisw
0a8bcd368c silence console output 2010-09-07 19:50:18 +01:00
chrisw
ac848a295a hopefully make py2.4 compatible 2010-09-07 19:19:32 +01:00
chrisw
cade5fb261 - capture deprecation warnings and assert they re as they should be
- re-word alter_column deprecation warning to make more sense
2010-09-07 19:04:12 +01:00
chrisw
17f5670c3c remove default of dropping on pdb on test error or failure 2010-09-07 15:41:41 +01:00
iElectric
8e65481a3d fix last exception import 2010-09-07 03:18:46 +02:00
iElectric
653e723ce1 move all exception classes to migrate.exceptions 2010-09-07 02:25:29 +02:00
iElectric
28f06524b5 update todo and test-req.pip 2010-09-06 23:21:18 +02:00
iElectric
aff0896e16 use if main conditional in manage.py script 2010-08-20 15:40:14 +02:00
iElectric
8e01817b97 correct case for dependencies in setup.py 2010-08-16 12:29:22 +02:00
iElectric
236acfef5d fixes issue #88 2010-07-21 21:28:32 +02:00
iElectric
7035a3ed07 merge 2010-07-14 19:05:19 +02:00
iElectric
878c673ca8 fix tests on python2.7 2010-07-14 19:04:44 +02:00
Jan Dittberner
703d13b206 bump version to 0.6.1 to indicate that trunk is newer than release 0.6 2010-07-12 21:47:35 +02:00
Jan Dittberner
465447e193 exclude .hgtags from release tarballs 2010-07-12 21:46:48 +02:00
iElectric
ca11f6b631 merge 2010-07-12 21:32:39 +02:00
iElectric
1ccbc879de update TODO 2010-07-12 17:27:21 +02:00
Jan Dittberner
5a93027c61 link to mercurial instead of SVN 2010-07-12 13:19:43 +02:00
iElectric
af206c393d fix links in doc 2010-07-12 09:34:28 +02:00