1. Andrew Godwin
  2. south

Source

south / south / db / sqlite3.py

Author Commit Message Date Builds
Shai Berger
Make Sqlite backend comply with new "no defaults left in db" policy
Reed Sandberg
limited column set. A describe on the table definition showed two unique constraints - the old and new, with the old one (of course) being the limited case. While tracing the migration with verbose output, I noticed South re-creates the table for sqlite3 and instead of creating one new (correct) unique index, it created both the existing (which was to be replaced) and the new index. Digging into the source code, I see that for sqlite3, delete_unique is triggered by a c…
charettes
Now that `get_indexes()` consistently returns only unique and primary key columns on all backends we can't assume all altered columns will be present in the provided indexes dict.
charettes
Removed a leftover print statement
charettes
Since generic.DatabaseOperations.column_sql can return None, we make sure we've got a string before attempting to remove 'PRIMARY_KEY' from the sql
Andrew Godwin
Fix tests and SQLite backend for alter_column behaviour and boolean defaults.
Andrew Godwin
De-linting the core database modules
Álvaro Arranz García
Preserve column default values in the sqlite3 _remake_table method
Branches
bug-700
Álvaro Arranz García
Add " NOT NULL" to column definition if null_ok == False
Branches
bug-700
Asheesh Laroia
Adjust the sqlite3 alter_column method to accept ignore_constraints Before this patch, migrations written to call alter_column() and pass ignore_constraints=True (or =False) would work on database backends like MySQL, but fail on sqlite3 with a TyepError: TypeError: alter_column() got an unexpected keyword argument 'ignore_constraints' This patch fixes that.
Andrew Godwin
Merge in schema-caching branch.
Jack Diederich
invalidate sqlite3 table constraints on table changes, just in case (are they ever queried?)
Andrew Godwin
Fix from ticket #672. Thanks to Charlie DeTar.
Andrew Godwin
Fixed #144: Unique_together support on SQLite.
Andrew Godwin
Fix bug with field initialisation and SQLite add_column
Andrew Godwin
Fix #473: Implement SQLite PK support
Carl Meyer
set default value correctly for added columns in SQLite; fixes #447
Carl Meyer
use correct column name when adding fkey in sqlite; fixes #415
Andrew Godwin
Fix #402: Primary key and sqlite problems
Andrew Godwin
#380 (sqlite deletion not working)
Andrew Godwin
Fixing #383 and #377 (sqlite regen errors)
Andrew Godwin
SQLite quoting fix from #382.
Andrew Godwin
Fix SQLite primary key bug.
Andrew Godwin
Fix problems with alter_column and sqlite.
Andrew Godwin
SQLite module now has "standard" support, and passes all of the tests (bar unique and primary_key altering).
Branches
0.7
Andrew Godwin
SQLite column altering support. This one's a sick implementation.
Branches
0.7
Andrew Godwin
Fix some unit tests for sqlite, and add in column deleting support.
Branches
0.7
Andrew Godwin
Fix non-multidb SQlite module
Branches
0.7
Andrew Godwin
Fix 0.7 sqlite module and syncdb command
Branches
0.7
Andrew Godwin
Merging in multi-db changes
Branches
0.7
  1. Prev
  2. 1
  3. 2
  4. Next