Commits

Author Commit Message Labels Comments Date
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.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Refactor out delete column string
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix from #61: uppercase column names for indexes. Added a few tests, and slightly tweaked the patch to work under MySQL.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix and test for #65: --dry-run causes rename_column to fail
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix inconsistent whitespace
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Add support in startmigration for mockmodels which refer to models with a primary key field that needs arguments
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Better SQL Server support.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Oops. Forgot self.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Add column support for sql server
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Initial SQL Server support using pyodbc (#46)
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
Fix for [108], where ForeignKeys weren't being --add-field'd correctly.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
#59: --add-field option.
and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8
#58: Be nicer to MySQL users by checking for AttributeErrors, and trying to help them if the migration causes EPIC FAIL.
  1. Prev
  2. Next