1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-21 09:48:47 +02:00
phorge-phorge/src/infrastructure
epriestley 1dfa94e571 Use binary collations for most text
Summary:
Ref T1191. For most text columns, we either don't care if "a" and "A" are the same, or we expect them to be different (for example: keys, domains, secrets, etc). Default text columns to the `_bin` collation so they are compared by strict character value. This is safer in cases where we aren't sure.

For some text columns, we allow the user to sort by the column in the UI (like Maniphest task titles) or we do care that "A" and "a" are the same (for example: project names). Introduce a new class of virtual data types, the "sort..." types, to cover these columns. These are like the "text..." types but use sorting collations which treat "A" and "a" the same.

Test Plan:
  - Made an effort to identify all columns where the UI relies on database collation.
  - Ran `bin/storage adjust` and cleared all warnings.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: beng, epriestley

Maniphest Tasks: T1191

Differential Revision: https://secure.phabricator.com/D10602
2014-10-01 08:18:53 -07:00
..
celerity Add an acceptance test for Celerity maps 2014-09-22 18:55:47 +10:00
customfield Use binary collations for most text 2014-10-01 08:18:53 -07:00
daemon Fix almost all remaining schemata issues 2014-10-01 08:18:36 -07:00
diff Disable full screen mode for inline comments 2014-06-16 13:05:08 -07:00
edges Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
env asort should be ksort 2014-08-27 11:36:08 -07:00
events Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
internationalization Revisionss -> revision 2014-09-24 13:57:12 -07:00
javelin Add support for aural-only and visual-only elements 2014-05-01 07:18:18 -07:00
lint/linter Rename Conduit classes 2014-07-25 10:54:15 +10:00
log Add an SSH access log 2013-12-05 17:00:48 -08:00
management Extend all "ManagementWorkflow" classes from a base class 2013-12-27 13:15:40 -08:00
markup Don't link objects after a hyphen 2014-09-09 16:38:42 -07:00
query Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
sms Generate expected schemata for MetaMTA, Nuance, MetaData, OAuthServer 2014-09-24 13:50:00 -07:00
ssh Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
storage Fix almost all remaining schemata issues 2014-10-01 08:18:36 -07:00
testing Make Releeph a normal prototype application 2014-09-24 13:49:25 -07:00
time Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
util Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
PhabricatorEditor.php Use ManiphestTaskQuery in nearly all interfaces 2013-09-25 13:44:14 -07:00