Differential D18682 Diff 44854 src/applications/config/controller/PhabricatorConfigDatabaseStatusController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/controller/PhabricatorConfigDatabaseStatusController.php
| Show First 20 Lines • Show All 255 Lines • ▼ Show 20 Lines | foreach ($database->getTables() as $table_name => $table) { | ||||
| 'a', | 'a', | ||||
| array( | array( | ||||
| 'href' => $uri, | 'href' => $uri, | ||||
| ), | ), | ||||
| $table_name), | $table_name), | ||||
| $this->renderAttr( | $this->renderAttr( | ||||
| $table->getCollation(), | $table->getCollation(), | ||||
| $table->hasIssue($collation_issue)), | $table->hasIssue($collation_issue)), | ||||
| $table->getPersistenceTypeDisplayName(), | |||||
| ); | ); | ||||
| } | } | ||||
| $table = id(new AphrontTableView($rows)) | $table = id(new AphrontTableView($rows)) | ||||
| ->setHeaders( | ->setHeaders( | ||||
| array( | array( | ||||
| null, | null, | ||||
| pht('Table'), | pht('Table'), | ||||
| pht('Collation'), | pht('Collation'), | ||||
| pht('Persistence'), | |||||
| )) | )) | ||||
| ->setColumnClasses( | ->setColumnClasses( | ||||
| array( | array( | ||||
| null, | null, | ||||
| 'wide pri', | 'wide pri', | ||||
| null, | null, | ||||
| null, | |||||
| )); | )); | ||||
| $title = $database_name; | $title = $database_name; | ||||
| $actual_database = $actual->getDatabase($database_name); | $actual_database = $actual->getDatabase($database_name); | ||||
| if ($actual_database) { | if ($actual_database) { | ||||
| $actual_charset = $actual_database->getCharacterSet(); | $actual_charset = $actual_database->getCharacterSet(); | ||||
| $actual_collation = $actual_database->getCollation(); | $actual_collation = $actual_database->getCollation(); | ||||
| ▲ Show 20 Lines • Show All 576 Lines • Show Last 20 Lines | |||||