26 Commits

Author SHA1 Message Date
Jan Dittberner
3619347441 drop SQLAlchemy < 0.6 compatibility code 2011-10-28 10:59:10 +02:00
Jan Dittberner
95a329b16a fix SQLAlchemy 0.6.x compatibility of issue 128 patch 2011-10-28 10:06:19 +02:00
markbmc@gmail.com
6ecf665f14 fix issue 128: "table rename failure with sqlalchemy 0.7.x" 2011-10-28 09:34:08 +02:00
Jan Dittberner
ca5d59910a fix column.create() properly 2011-05-27 21:59:35 +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
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
b5a02cb7cf remove the alter_metadata feature 2011-02-10 16:49:20 +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
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
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
aef73ed13e attempt at improving the api docs a little 2010-09-08 15:48:28 +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
iElectric
653e723ce1 move all exception classes to migrate.exceptions 2010-09-07 02:25:29 +02:00
iElectric
811201d47b small doc correction; fixes #67 2010-07-11 18:16:51 +02:00
iElectric
201fe50e6c better document summary of changeset actions 2010-07-11 17:45:29 +02:00
iElectric
a3d3470d5e adding connection keyword to ORM methods 2010-07-11 17:22:28 +02:00
iElectric
43e0c3caf2 unified warnings, use compare columns in tests 2010-05-01 08:32:41 +02:00
iElectric
feab45798f move warning exceptions to right module 2010-05-01 07:38:33 +02:00
iElectric
cef2abb30f deprecate two columns alter 2010-04-30 08:34:30 +02:00
iElectric
e4868841d5 partly fix SA0.6 tests on postgres 2010-04-24 21:40:16 +02:00
iElectric
3dfb8c8a29 more SA06 fixes 2010-02-05 05:06:48 +01:00
hudson@fubarite.fubar.si
f9159b6851 SA06 fixes 2010-02-05 04:25:15 +01:00
emil.kroymann
7912af18ed apply Emil Kroymann's patch for Issue 75 2010-01-07 20:10:47 +01:00
iElectric
e765caaef4 add populate_default kwarg to column.create, fixes issue #50 2009-07-01 04:01:13 +02:00
iElectric
9cedba8b8b convert svn to hg 2009-06-30 22:50:18 +02:00