mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-04 03:27:12 -05:00 
			
		
		
		
	Documentation: add search caveat when using MariaDB (#8424)
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									fbeaed930e
								
							
						
					
					
						commit
						1f85da64e4
					
				@ -585,10 +585,13 @@ services:
 | 
				
			|||||||
### Case Sensitivity
 | 
					### Case Sensitivity
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The database interface does not provide a method to configure a MySQL
 | 
					The database interface does not provide a method to configure a MySQL
 | 
				
			||||||
database to be case sensitive. This would prevent a user from creating a
 | 
					database to be case-sensitive. A case-**in**sensitive database prevents a user from creating a
 | 
				
			||||||
tag `Name` and `NAME` as they are considered the same.
 | 
					tag `Name` and `NAME` as they are considered the same.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Per Django documentation, to enable this requires manual intervention.
 | 
					However, there is a downside to turning on case sensitivity, as it also makes searches case-sensitive,
 | 
				
			||||||
 | 
					so for example a document with the title `Invoice` won't be found when searching for `invoice`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Per Django documentation, making a database case-sensitive requires manual intervention.
 | 
				
			||||||
To enable case sensitive tables, you can execute the following command
 | 
					To enable case sensitive tables, you can execute the following command
 | 
				
			||||||
against each table:
 | 
					against each table:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -605,6 +608,8 @@ existing tables) with:
 | 
				
			|||||||
    an older system may fix issues that can arise while setting up Paperless-ngx but
 | 
					    an older system may fix issues that can arise while setting up Paperless-ngx but
 | 
				
			||||||
    `utf8mb3` can cause issues with consumption (where `utf8mb4` does not).
 | 
					    `utf8mb3` can cause issues with consumption (where `utf8mb4` does not).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					For more information on this topic, you can refer to [this](https://code.djangoproject.com/ticket/9682) Django issue.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Missing timezones
 | 
					### Missing timezones
 | 
				
			||||||
 | 
					
 | 
				
			||||||
MySQL as well as MariaDB do not have any timezone information by default (though some
 | 
					MySQL as well as MariaDB do not have any timezone information by default (though some
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user