1234567891011121314151617181920212223 |
- <?php
- declare(strict_types=1);
- namespace OC\DB;
- class MissingPrimaryKeyInformation {
- private array $listOfMissingPrimaryKeys = [];
- public function addHintForMissingPrimaryKey(string $tableName): void {
- $this->listOfMissingPrimaryKeys[] = [
- 'tableName' => $tableName,
- ];
- }
- public function getListOfMissingPrimaryKeys(): array {
- return $this->listOfMissingPrimaryKeys;
- }
- }
|