Commits

Author Commit Message Labels Comments Date
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Renaming startmigration2, step 1
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Add/remove fields and models now work for automaticness. Only lacking changing of fields.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Last commit was missing a 'not'.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Allow migrate-before-tests to be turned back on with the SOUTH_TESTS_MIGRATE setting.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Start of automatic change detection code - currently does adding/removing of models.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Models parser unit tests, and a bug that writing them caught.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Test cleanup and rejiggling.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Final bit of polishing on new ORM freezer. Ready for initial testing.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Drop table now cascades by default, as this is usually the intended behaviour. You can pass cascade=False to stop this.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Updated ORM and ORM-ified migration command; it's nearly there.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Upgrades to the models parser and fake ORM; both now seem to be working reasonably well. The new startmigration needs more work, however.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix for bug #84: Wrong signature for SQLite delete_column.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Models.py parser is in a state of OMG-it-actually-works.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Initial attempt at a models.py parser, using the parser module. Committing this for posterity (and the css-selector-tree-searcher), since it might be easier to use something simpler.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
First part of ORM-in-migrations
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix quoting of % in execute_many
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
First go at a SQL-file splitter.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Update setup.py metadata
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Bump version in setup.py too
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Version bump, which sadly makes the revision not a power of two :(
Tags
0.4
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
#74: Rename primary key index with table
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fire post_syncdb signals even if a later migration errored, and fix signature of sqlite alter_column.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
#55: Delay post_syncdb signal. Possibly backwards-incompatable change.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix for #14: Default callables
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix for #24: startmigration now respects PEP 0263.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix for #66: Incorrect delete_column with FKs and startmigration. Also added a DATABASE_STORAGE_ENGINE conf option in case you want to set it automatically.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix #67: --add-field doesn't work with ManyToMany.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Allow a single column name to be passed to delete_index without thinking it's the columns 'c','o','l','u','m','n' etc.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix for #69: Make keep_default work for ForeignKeys.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix for #63: Use predictable names for UNIQUE indexes.
  1. Prev
  2. Next