Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/schema/PhabricatorConfigSchemaSpec.php
Show First 20 Lines • Show All 315 Lines • ▼ Show 20 Lines | if (preg_match($pattern, $data_type, $matches)) { | ||||
case 'uint64': | case 'uint64': | ||||
$column_type = 'bigint(20) unsigned'; | $column_type = 'bigint(20) unsigned'; | ||||
break; | break; | ||||
case 'sint64': | case 'sint64': | ||||
$column_type = 'bigint(20)'; | $column_type = 'bigint(20)'; | ||||
break; | break; | ||||
case 'phid': | case 'phid': | ||||
case 'policy'; | case 'policy'; | ||||
case 'hashpath64': | |||||
$column_type = 'varbinary(64)'; | $column_type = 'varbinary(64)'; | ||||
break; | break; | ||||
case 'bytes64': | case 'bytes64': | ||||
$column_type = 'binary(64)'; | $column_type = 'binary(64)'; | ||||
break; | break; | ||||
case 'bytes40': | case 'bytes40': | ||||
$column_type = 'binary(40)'; | $column_type = 'binary(40)'; | ||||
break; | break; | ||||
Show All 36 Lines |