summaryrefslogtreecommitdiff
path: root/django/db/backends/sqlite3/schema.py
AgeCommit message (Collapse)Author
2014-03-24Fixed #22293 -- Avoided renaming many-to-many tables to themselves.Daniel Hahler
Fixed this for both implementations of _alter_many_to_many, instead of in `alter_db_table` itself (more implementations).
2014-03-18Fix any sqlite field migration deleting all implicit m2m tablesChris Beaven
Fixes #22281
2014-03-01Fixed #22168 -- Fixed migrations failing on sqlite when column names are SQL ↵Baptiste Mispelon
keywords Thanks to trac user fallen_flint for the report and initial patch.
2014-02-09Fixed #21844: Move quote_parameter off of Operations and renameAndrew Godwin
2014-02-09Fixed #21917: Overly cautious SQLite3 backend for null fields + defaultsAndrew Godwin
2014-01-25Fixed #21783: More SQLite default fun with nulls.Andrew Godwin
2014-01-19Fixed #21783: Use defaults for adding NOT NULL on sqliteAndrew Godwin
2013-12-28Added generation of SQLite FK DDL in initial migrations.Ramiro Morales
SQLite accepts the relevant standard SQL (although by default it doesn't enforce the constraint), and the 'traditional' creation backend helper generate it, so this allows us to: - Maintain the status quo - Improve readability of the SQL code generated for that backend. Also, we will need this for when we fix Refs #14204.
2013-12-24Renamed AppCache to Apps.Aymeric Augustin
Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
2013-12-22Moved apps back in the toplevel django namespace.Aymeric Augustin
Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
2013-12-17Deborgified the app cache.Aymeric Augustin
Improved Andrew's hack to create temporary app caches to handle migrations. Now the main app cache has a "master" flag set to True (which is a non-default keyword argument, thus unlikely to be used by mistake). Other app cache instances have "master" set to False. The only sanctioned way to access the app cache is by importing django.core.apps.app_cache. If you were instanciating an app cache and relying on the Borg pattern, you'll have to refactor your code.
2013-12-17Moved the new app cache inside core.Aymeric Augustin
2013-12-17Moved django.db.models.loading to django.apps.cache.Aymeric Augustin
This commit doesn't contain any code changes; it's purely a refactoring.
2013-09-06Adding 'sqlmigrate' command and quote_parameter to support it.Andrew Godwin
2013-08-30Fixed #20989 -- Removed useless explicit list comprehensions.Simon Charette
2013-05-29Start adding operations that work and tests for themAndrew Godwin
2013-05-09Split out a BaseAppCache, make AppCache borg again, add _meta.app_cacheAndrew Godwin
2012-09-24Fix nullability changing codeAndrew Godwin
2012-09-22Remove AppCache state handling, replace with swappable cachesAndrew Godwin
2012-09-18Stylistic fixes: triple-quoted docstrings, more commentsAndrew Godwin
2012-09-07Add check constraint support - needed a few Field changesAndrew Godwin
2012-09-07Add M2M repointingAndrew Godwin
2012-09-07Added SQLite backend which passes all current testsAndrew Godwin
2012-08-18Add a SQlite backend. One test passes!Andrew Godwin