Simon Charette 
							
						 
					 
					
						
						
							
						
						afe84c71eb 
					 
					
						
						
							
							[1.8.x] Refs  #25745  -- Avoided multiple registration of the same model in schema tests.  
						
						... 
						
						
						
						Conflicts:
	tests/schema/tests.py
Backport of 64240263f2 
						
						
					 
					
						2015-11-14 12:15:51 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						a8133e73a7 
					 
					
						
						
							
							[1.8.x] Used SchemaEditor.delete_model() for teardown in schema tests.  
						
						... 
						
						
						
						Some third-party database backends (MSSQL) have custom
delete_model() requirements that must be executed.
Backport of 4dcc2a1955 
						
						
					 
					
						2015-10-16 09:34:38 -07:00 
						 
				 
			
				
					
						
							
							
								Ville Skyttä 
							
						 
					 
					
						
						
							
						
						69017bade0 
					 
					
						
						
							
							[1.8.x]  Fixed   #25393  -- Fixed MySQL crash when adding text/blob field with unhashable default.  
						
						... 
						
						
						
						Backport of 4d933ad418 
						
						
					 
					
						2015-09-14 12:28:04 -04:00 
						 
				 
			
				
					
						
							
							
								Adam Brenecki 
							
						 
					 
					
						
						
							
						
						0e3a80fa68 
					 
					
						
						
							
							[1.8.x]  Fixed   #24972  -- Fixed removing unique_together indexes on MySQL.  
						
						... 
						
						
						
						Backport of 65296b3be3 
						
						
					 
					
						2015-06-15 17:32:07 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						2009525c8b 
					 
					
						
						
							
							[1.8.x] Applied db_table conversion to fix schema tests on Oracle.  
						
						... 
						
						
						
						Backport of 7c637a3aae 
						
						
					 
					
						2015-06-02 19:45:24 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						1c57d7e7fa 
					 
					
						
						
							
							[1.8.x]  Fixed   #24893  -- Fixed lack of unique constraint when changing a field from primary_key=True to unique=True  
						
						... 
						
						
						
						Backport of e1e6399c2c 
						
						
					 
					
						2015-06-02 09:32:22 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						8911d2e20f 
					 
					
						
						
							
							[1.8.x]  Fixed   #24892  -- Fixed quoting of SQL when renaming a field to AutoField in PostgreSQL  
						
						... 
						
						
						
						Backport of 5ab8680983 
						
						
					 
					
						2015-06-02 09:15:08 -04:00 
						 
				 
			
				
					
						
							
							
								Andriy Sokolovskiy 
							
						 
					 
					
						
						
							
						
						f65d4db8a8 
					 
					
						
						
							
							[1.8.x]  Fixed   #24817  -- Prevented loss of null info in MySQL field renaming.  
						
						... 
						
						
						
						Backport of 80ad5472ce 
						
						
					 
					
						2015-05-28 10:08:14 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						3c0e03ef42 
					 
					
						
						
							
							[1.8.x]  Fixed   #24812  -- Fixed app registry RuntimeWarnings in schema and migrations tests.  
						
						... 
						
						
						
						Backport of f5da438072 
						
						
					 
					
						2015-05-18 10:14:57 -04:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						6a0d9f068f 
					 
					
						
						
							
							[1.8.x]  Fixed   #24757  -- Recreated MySQL index when needed during combined index removal  
						
						... 
						
						
						
						Thanks Thomas Recouvreux for the report and Tim Graham for the tests and
review.
Backport of ae635cc36 
						
						
					 
					
						2015-05-15 17:08:49 +02:00 
						 
				 
			
				
					
						
							
							
								Shai Berger 
							
						 
					 
					
						
						
							
						
						8363f217f2 
					 
					
						
						
							
							[1.8.x]  Fixed   #24595  Oracle test failure  
						
						... 
						
						
						
						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 
						
						
					 
					
						2015-04-18 18:55:54 +03:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						bbfcd9618b 
					 
					
						
						
							
							[1.8.x]  Fixed   #24595  -- Prevented loss of null info in MySQL field alteration  
						
						... 
						
						
						
						Thanks Simon Percivall for the report, and Simon Charette and Tim
Graham for the reviews.
Backport of 02260ea3f6 
						
						
					 
					
						2015-04-17 11:01:36 +02:00 
						 
				 
			
				
					
						
							
							
								Jean-Louis Fuchs 
							
						 
					 
					
						
						
							
						
						1ae2df6bfc 
					 
					
						
						
							
							[1.8.x]  Fixed   #24447  -- Made migrations add FK constraints for existing columns  
						
						... 
						
						
						
						When altering from e.g. an IntegerField to a ForeignKey, Django didn't
add a constraint.
Backport of f4f0060fea 
						
						
					 
					
						2015-03-07 14:15:27 +01:00 
						 
				 
			
				
					
						
							
							
								Shai Berger 
							
						 
					 
					
						
						
							
						
						66d37e593c 
					 
					
						
						
							
							[1.8.x]  Fixed   #24307 : Avoided redundant column nullability modifications on Oracle  
						
						... 
						
						
						
						Thanks Joris Benschop for the report, and Tim Graham for the tests.
Backport of ceadc94f09 
						
						
					 
					
						2015-02-19 02:44:08 +02:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						a8b70d251d 
					 
					
						
						
							
							[1.8.x] Sorted imports with isort; refs  #23860 .  
						
						... 
						
						
						
						Backport of 0ed7d15563 
						
						
					 
					
						2015-02-09 14:24:06 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						c9addfd4bf 
					 
					
						
						
							
							[1.8.x] Fixed small regression caused by  e3702dc3f2 
						
						... 
						
						
						
						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 235124d3ea 
						
						
					 
					
						2015-02-06 00:50:42 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						e3702dc3f2 
					 
					
						
						
							
							[1.8.x] Cleaned up schema tests  
						
						... 
						
						
						
						Thanks Tim Graham for the review.
Backport of 0204714b0b 
						
						
					 
					
						2015-02-05 20:15:18 +01:00 
						 
				 
			
				
					
						
							
							
								Andriy Sokolovskiy 
							
						 
					 
					
						
						
							
						
						11a5e45b96 
					 
					
						
						
							
							[1.8.x]  Fixed   #24104  -- Fixed check to look on field.many_to_many instead of class instance  
						
						... 
						
						
						
						Backport of 38c17871bb 
						
						
					 
					
						2015-01-22 18:53:47 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						20f1aafa14 
					 
					
						
						
							
							[1.8.x] Refs  #24163  -- Fixed failing Oracle test when migrating from ForeignKey to OneToOneField  
						
						... 
						
						
						
						Thanks Tim Graham for review
Backport of 64ecb3f07d 
						
						
					 
					
						2015-01-20 17:45:29 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						e55cb91bd4 
					 
					
						
						
							
							[1.8.x]  Fixed   #24163  -- Removed unique constraint after index on MySQL  
						
						... 
						
						
						
						Thanks Łukasz Harasimowicz for the report.
Backport of 5792e6a88c 
						
						
					 
					
						2015-01-19 16:55:25 +01:00 
						 
				 
			
				
					
						
							
							
								Daniel Pyrathon 
							
						 
					 
					
						
						
							
						
						fb48eb0581 
					 
					
						
						
							
							Fixed   #12663  -- Formalized the Model._meta API for retrieving fields.  
						
						... 
						
						
						
						Thanks to Russell Keith-Magee for mentoring this Google Summer of
Code 2014 project and everyone else who helped with the patch! 
						
						
					 
					
						2015-01-06 19:25:12 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						ab4f709da4 
					 
					
						
						
							
							Fixed   #23581  -- Prevented extraneous DROP DEFAULT statements.  
						
						... 
						
						
						
						Thanks john_scott for the report and Markus Holtermann for review. 
						
						
					 
					
						2014-12-30 07:54:05 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						ac5f2a4ef7 
					 
					
						
						
							
							Fixed refs  #23987  test on Oracle.  
						
						
						
						
					 
					
						2014-12-15 18:15:55 -05:00 
						 
				 
			
				
					
						
							
							
								Andriy Sokolovskiy 
							
						 
					 
					
						
						
							
						
						089047331d 
					 
					
						
						
							
							Fixed   #23987  -- Made SQLite SchemaEditor always use effective_default().  
						
						
						
						
					 
					
						2014-12-15 13:40:24 -05:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						4468c08d70 
					 
					
						
						
							
							Fixed   #23968  -- Replaced list comprehension with generators and dict comprehension  
						
						
						
						
					 
					
						2014-12-08 07:58:23 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						765fa36d57 
					 
					
						
						
							
							Fixed   #23920  -- Fixed MySQL crash when adding blank=True to TextField.  
						
						... 
						
						
						
						Thanks wkornewald for the report and Markus Holtermann for review. 
						
						
					 
					
						2014-12-04 10:57:10 -05:00 
						 
				 
			
				
					
						
							
							
								Veres Lajos 
							
						 
					 
					
						
						
							
						
						a71a2ea756 
					 
					
						
						
							
							Fixed typos using  https://github.com/vlajos/misspell_fixer  
						
						
						
						
					 
					
						2014-11-03 20:59:30 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						715ccfde24 
					 
					
						
						
							
							Fixed   #23738  -- Allowed migrating from NULL to NOT NULL with the same default value  
						
						... 
						
						
						
						Thanks to Andrey Antukh for the report. 
						
						
					 
					
						2014-10-31 13:30:30 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						92269b7b53 
					 
					
						
						
							
							Fixed   #23702  -- Fixed adding an explicit id field on SQLite.  
						
						... 
						
						
						
						Thanks gavinwahl for the report. 
						
						
					 
					
						2014-10-23 12:24:34 -04:00 
						 
				 
			
				
					
						
							
							
								Markus Holtermann 
							
						 
					 
					
						
						
							
						
						f633ba778d 
					 
					
						
						
							
							Fixed   #23609  -- Fixed IntegrityError that prevented altering a NULL column into a NOT NULL one due to existing rows  
						
						... 
						
						
						
						Thanks to Simon Charette, Loic Bistuer and Tim Graham for the review. 
						
						
					 
					
						2014-10-09 21:32:06 +07:00 
						 
				 
			
				
					
						
							
							
								Shai Berger 
							
						 
					 
					
						
						
							
						
						c1ae0621ba 
					 
					
						
						
							
							Fixed   #22738  -- made finer distinctions for when Boolean is not detected on Oracle  
						
						... 
						
						
						
						Thanks Claude Paroz for partial fix and Simon Charrette for review 
						
						
					 
					
						2014-09-27 09:49:50 +03:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						dbdae3a755 
					 
					
						
						
							
							Fixed   #22738  -- Abstracted boolean field type introspection  
						
						... 
						
						
						
						Thanks maxi for the report, Shai Berger for his help with the patch
and Tim Graham for the review. 
						
						
					 
					
						2014-09-26 20:03:44 +02:00 
						 
				 
			
				
					
						
							
							
								Sergey Fedoseev 
							
						 
					 
					
						
						
							
						
						83cd18633f 
					 
					
						
						
							
							Fixed   #23065  -- Quoted constraint names in SQL generated by migrations.  
						
						
						
						
					 
					
						2014-09-23 09:25:31 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						e0cf030194 
					 
					
						
						
							
							Removed unnecessary absolute_imports.  
						
						
						
						
					 
					
						2014-08-25 10:07:14 -04:00 
						 
				 
			
				
					
						
							
							
								Shai Berger 
							
						 
					 
					
						
						
							
						
						56252e7f46 
					 
					
						
						
							
							Fixed schema test for Oracle 11.2.0.1 which is used in Django Project's CI.  
						
						... 
						
						
						
						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-22 05:08:53 +03:00 
						 
				 
			
				
					
						
							
							
								Andrew Godwin 
							
						 
					 
					
						
						
							
						
						27b6f28435 
					 
					
						
						
							
							Fixed   #23264 : Schema backends honour db_constraint  
						
						
						
						
					 
					
						2014-08-09 17:50:00 +10:00 
						 
				 
			
				
					
						
							
							
								Andrew Godwin 
							
						 
					 
					
						
						
							
						
						c06e124b5e 
					 
					
						
						
							
							Fixed   #23091 : CreateModel and AddField were clashing with deferred SQL  
						
						
						
						
					 
					
						2014-08-04 11:59:29 +10:00 
						 
				 
			
				
					
						
							
							
								Andrew Godwin 
							
						 
					 
					
						
						
							
						
						7dacc6ae46 
					 
					
						
						
							
							Fixed   #23009 : Shorten FK identifiers in add_field and make consistent  
						
						
						
						
					 
					
						2014-07-21 10:50:21 +01:00 
						 
				 
			
				
					
						
							
							
								Alex Gaynor 
							
						 
					 
					
						
						
							
						
						d015c9d11c 
					 
					
						
						
							
							Fixed several flake8 errors  
						
						
						
						
					 
					
						2014-06-18 07:47:13 -07:00 
						 
				 
			
				
					
						
							
							
								Andrew Godwin 
							
						 
					 
					
						
						
							
						
						61d7ae31cf 
					 
					
						
						
							
							Fix test breakage on MySQL  
						
						
						
						
					 
					
						2014-06-17 00:36:27 -07:00 
						 
				 
			
				
					
						
							
							
								Andrew Godwin 
							
						 
					 
					
						
						
							
						
						b22917bd50 
					 
					
						
						
							
							Fixed   #22851 : BinaryView wasn't getting a binary default  
						
						
						
						
					 
					
						2014-06-16 18:44:08 -07:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						82c935d44c 
					 
					
						
						
							
							Renamed DatabaseFeature.supports_check_constraints to supports_column_check_constraints.  
						
						... 
						
						
						
						Thanks maxi for the suggestion. 
						
						
					 
					
						2014-06-16 19:25:13 -04:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						b1432bfc22 
					 
					
						
						
							
							Appeased flake8.  
						
						
						
						
					 
					
						2014-05-08 21:49:54 +02:00 
						 
				 
			
				
					
						
							
							
								Andrew Godwin 
							
						 
					 
					
						
						
							
						
						b25aee3b7b 
					 
					
						
						
							
							Fixed   #22476 : Couldn't alter attributes on M2Ms with through= set  
						
						
						
						
					 
					
						2014-05-08 10:34:24 -07:00 
						 
				 
			
				
					
						
							
							
								Andrew Godwin 
							
						 
					 
					
						
						
							
						
						e9a456d11b 
					 
					
						
						
							
							Fixed   #22581 : Pass default values for schema through get_db_prep_save()  
						
						
						
						
					 
					
						2014-05-07 13:46:23 -07:00 
						 
				 
			
				
					
						
							
							
								Alex Gaynor 
							
						 
					 
					
						
						
							
						
						2bcb8bfc8d 
					 
					
						
						
							
							Fix many many typos in comments throughout the codebase  
						
						
						
						
					 
					
						2014-04-26 10:18:45 -07:00 
						 
				 
			
				
					
						
							
							
								Daniel Hahler 
							
						 
					 
					
						
						
							
						
						1edfa155e3 
					 
					
						
						
							
							Fixed   #22293  -- Avoided renaming many-to-many tables to themselves.  
						
						... 
						
						
						
						Fixed this for both implementations of _alter_many_to_many, instead of
in `alter_db_table` itself (more implementations). 
						
						
					 
					
						2014-03-24 13:24:52 -04:00 
						 
				 
			
				
					
						
							
							
								Andrew Godwin 
							
						 
					 
					
						
						
							
						
						6b07804474 
					 
					
						
						
							
							Fixed   #22183 : Through M2Ms now correctly handled  
						
						
						
						
					 
					
						2014-03-08 15:58:04 -08:00 
						 
				 
			
				
					
						
							
							
								Michael Manfre 
							
						 
					 
					
						
						
							
						
						3ffeb93186 
					 
					
						
						
							
							Ensure cursors are closed when no longer needed.  
						
						... 
						
						
						
						This commit touchs various parts of the code base and test framework. Any
found usage of opening a cursor for the sake of initializing a connection
has been replaced with 'ensure_connection()'. 
						
						
					 
					
						2014-02-02 12:47:21 -05:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						3acdb3068a 
					 
					
						
						
							
							Fixed a failing schema assertion.  
						
						... 
						
						
						
						BooleanFields are stored as TINYINT(1) on MySQL. 
						
						
					 
					
						2014-01-25 10:59:38 -05:00