Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/schema/PhabricatorConfigSchemaSpec.php
Show First 20 Lines • Show All 227 Lines • ▼ Show 20 Lines | private function getDetailsForDataType($data_type) { | ||||
} | } | ||||
switch ($data_type) { | switch ($data_type) { | ||||
case 'id': | case 'id': | ||||
case 'epoch': | case 'epoch': | ||||
case 'uint32': | case 'uint32': | ||||
$column_type = 'int(10) unsigned'; | $column_type = 'int(10) unsigned'; | ||||
break; | break; | ||||
case 'sint32': | |||||
$column_type = 'int(10)'; | |||||
break; | |||||
case 'id64': | case 'id64': | ||||
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': | ||||
▲ Show 20 Lines • Show All 123 Lines • Show Last 20 Lines |