1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-13 10:22:42 +01:00
phorge-phorge/src/applications/phame
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
..
application Rename "beta" to "prototype" and document support policy 2014-09-17 18:25:57 -07:00
celerity Move build-time resources to "CelerityPhysicalResources" to fix Phame 2013-12-31 19:21:56 -08:00
conduit phutil_utf8_shorten => PhutilUTF8StringTruncator 2014-08-29 15:15:13 -07:00
config Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
controller Remove "Edit" text on Phame 2014-08-08 10:02:22 -07:00
phid Rename PHIDType classes 2014-07-24 08:05:46 +10:00
query Remove @group annotations 2014-07-10 08:12:48 +10:00
skins Render Phame templates in the expected order 2014-07-28 19:08:45 -07:00
storage Use binary collations for most text 2014-10-01 08:18:53 -07:00
view Fix broken references to auth adapters 2014-07-22 21:20:45 +10:00