summaryrefslogtreecommitdiff
path: root/tests/schema
AgeCommit message (Collapse)Author
2015-12-10[1.8.x] Fixed #25412 -- Fixed missing PostgreSQL index on Char/TextField ↵Federico Frenguelli
when using AlterField. Thanks to Emanuele Palazzetti for the help. Backport of 3a36c8079544c83dcdea4e52181efcd2d1e86b9c from master
2015-11-14[1.8.x] Refs #25745 -- Avoided multiple registration of the same model in ↵Simon Charette
schema tests. Conflicts: tests/schema/tests.py Backport of 64240263f22055cb539159e9359e64d5096f39d9 from master
2015-10-16[1.8.x] Used SchemaEditor.delete_model() for teardown in schema tests.Tim Graham
Some third-party database backends (MSSQL) have custom delete_model() requirements that must be executed. Backport of 4dcc2a195595f8d7ddad45bc4baf98ffdeec7f41 from master
2015-09-14[1.8.x] Fixed #25393 -- Fixed MySQL crash when adding text/blob field with ↵Ville Skyttä
unhashable default. Backport of 4d933ad4181a511f3ced98edba4e17aff054e0e2 from master
2015-06-15[1.8.x] Fixed #24972 -- Fixed removing unique_together indexes on MySQL.Adam Brenecki
Backport of 65296b3be376e9cd25216b6ad2b1758b03765781 from master
2015-06-02[1.8.x] Applied db_table conversion to fix schema tests on Oracle.Tim Graham
Backport of 7c637a3aaec311269bf863c220bf894eebbe7c7c from master
2015-06-02[1.8.x] Fixed #24893 -- Fixed lack of unique constraint when changing a ↵Tim Graham
field from primary_key=True to unique=True Backport of e1e6399c2ce39a3656155c4d704340eac83926a7 from master
2015-06-02[1.8.x] Fixed #24892 -- Fixed quoting of SQL when renaming a field to ↵Tim Graham
AutoField in PostgreSQL Backport of 5ab86809832726957dd6f0eb8e17a461f0a9be84 from master
2015-05-28[1.8.x] Fixed #24817 -- Prevented loss of null info in MySQL field renaming.Andriy Sokolovskiy
Backport of 80ad5472ce4b6ba6e94227422d0727371e97cdf0 from master
2015-05-18[1.8.x] Fixed #24812 -- Fixed app registry RuntimeWarnings in schema and ↵Tim Graham
migrations tests. Backport of f5da4380723c93998a4f5a845b6f26fa51a2cfe1 from master
2015-05-15[1.8.x] Fixed #24757 -- Recreated MySQL index when needed during combined ↵Claude Paroz
index removal Thanks Thomas Recouvreux for the report and Tim Graham for the tests and review. Backport of ae635cc36 from master.
2015-04-19[1.8.x] Fixed #24658 -- Added missing Meta attribute in schema testsClaude Paroz
Without that, the Note model would be initially created and then the tests using that model failed when run in isolation. Backport of f54c0ec06e from master.
2015-04-18[1.8.x] Fixed #24595 Oracle test failureShai Berger
The only problem for Oracle was the test, which tested nullity on text/char fields -- but Oracle interprets_empty_strings_as_null. Backport of d5a0acc from master
2015-04-17[1.8.x] Fixed #24595 -- Prevented loss of null info in MySQL field alterationClaude Paroz
Thanks Simon Percivall for the report, and Simon Charette and Tim Graham for the reviews. Backport of 02260ea3f6 from master.
2015-03-07[1.8.x] Fixed #24447 -- Made migrations add FK constraints for existing columnsJean-Louis Fuchs
When altering from e.g. an IntegerField to a ForeignKey, Django didn't add a constraint. Backport of f4f0060feaee6bbd76a0d575487682bc541111e4 from master
2015-02-19[1.8.x] Fixed #24307: Avoided redundant column nullability modifications on ↵Shai Berger
Oracle Thanks Joris Benschop for the report, and Tim Graham for the tests. Backport of ceadc94f09 from master
2015-02-09[1.8.x] Sorted imports with isort; refs #23860.Tim Graham
Backport of 0ed7d155635da9f79d4dd67e4889087d3673c6da from master
2015-02-06[1.8.x] Fixed small regression caused by ↵Markus Holtermann
e3702dc3f2af9e8cc6c1155b248f458899be334e Since 1.7 models need to declare an explicit app_label if they are not in an application in INSTALLED_APPS or were imported before their application was loaded. Backport of 235124d3eaf6cc7ab9f97f1d1467d1caf18e1016 from master
2015-02-05[1.8.x] Cleaned up schema testsMarkus Holtermann
Thanks Tim Graham for the review. Backport of 0204714b0bdf10d7558ee106de9a718407f3ec5a from master
2015-01-22[1.8.x] Fixed #24104 -- Fixed check to look on field.many_to_many instead of ↵Andriy Sokolovskiy
class instance Backport of 38c17871bb6dafd489367f6fe8bc56199223adb8 from master
2015-01-20[1.8.x] Refs #24163 -- Fixed failing Oracle test when migrating from ↵Markus Holtermann
ForeignKey to OneToOneField Thanks Tim Graham for review Backport of 64ecb3f07db4be5eef4d9eb7687f783ee446c82f from master
2015-01-19[1.8.x] Fixed #24163 -- Removed unique constraint after index on MySQLMarkus Holtermann
Thanks Łukasz Harasimowicz for the report. Backport of 5792e6a88c1444d4ec84abe62077338ad3765b80 from master
2015-01-06Fixed #12663 -- Formalized the Model._meta API for retrieving fields.Daniel Pyrathon
Thanks to Russell Keith-Magee for mentoring this Google Summer of Code 2014 project and everyone else who helped with the patch!
2014-12-30Fixed #23581 -- Prevented extraneous DROP DEFAULT statements.Tim Graham
Thanks john_scott for the report and Markus Holtermann for review.
2014-12-15Fixed refs #23987 test on Oracle.Tim Graham
2014-12-15Fixed #23987 -- Made SQLite SchemaEditor always use effective_default().Andriy Sokolovskiy
2014-12-08Fixed #23968 -- Replaced list comprehension with generators and dict ↵Jon Dufresne
comprehension
2014-12-04Fixed #23920 -- Fixed MySQL crash when adding blank=True to TextField.Tim Graham
Thanks wkornewald for the report and Markus Holtermann for review.
2014-11-03Fixed typos using https://github.com/vlajos/misspell_fixerVeres Lajos
2014-10-31Fixed #23738 -- Allowed migrating from NULL to NOT NULL with the same ↵Markus Holtermann
default value Thanks to Andrey Antukh for the report.
2014-10-23Fixed #23702 -- Fixed adding an explicit id field on SQLite.Tim Graham
Thanks gavinwahl for the report.
2014-10-09Fixed #23609 -- Fixed IntegrityError that prevented altering a NULL column ↵Markus Holtermann
into a NOT NULL one due to existing rows Thanks to Simon Charette, Loic Bistuer and Tim Graham for the review.
2014-09-27Fixed #22738 -- made finer distinctions for when Boolean is not detected on ↵Shai Berger
Oracle Thanks Claude Paroz for partial fix and Simon Charrette for review
2014-09-26Fixed #22738 -- Abstracted boolean field type introspectionClaude Paroz
Thanks maxi for the report, Shai Berger for his help with the patch and Tim Graham for the review.
2014-09-23Fixed #23065 -- Quoted constraint names in SQL generated by migrations.Sergey Fedoseev
2014-08-25Removed unnecessary absolute_imports.Tim Graham
2014-08-22Fixed schema test for Oracle 11.2.0.1 which is used in Django Project's CI.Shai Berger
Refs #23073 Workaround. Refs #22738 Repeats the mysql "offense". When the issue is solved, the Oracle special case should be made to play with the solution (that is, Oracle should be fixed the same way that mysql and the 3rd-party backneds are).
2014-08-09Fixed #23264: Schema backends honour db_constraintAndrew Godwin
2014-08-04Fixed #23091: CreateModel and AddField were clashing with deferred SQLAndrew Godwin
2014-07-21Fixed #23009: Shorten FK identifiers in add_field and make consistentAndrew Godwin
2014-06-18Fixed several flake8 errorsAlex Gaynor
2014-06-17Fix test breakage on MySQLAndrew Godwin
2014-06-16Fixed #22851: BinaryView wasn't getting a binary defaultAndrew Godwin
2014-06-16Renamed DatabaseFeature.supports_check_constraints to ↵Tim Graham
supports_column_check_constraints. Thanks maxi for the suggestion.
2014-05-08Appeased flake8.Aymeric Augustin
2014-05-08Fixed #22476: Couldn't alter attributes on M2Ms with through= setAndrew Godwin
2014-05-07Fixed #22581: Pass default values for schema through get_db_prep_save()Andrew Godwin
2014-04-26Fix many many typos in comments throughout the codebaseAlex Gaynor
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-08Fixed #22183: Through M2Ms now correctly handledAndrew Godwin