Merge pull request #9817 from creative-commoners/pulls/4/fix-dbcomposite-indexspecs

FIX DBComposite getIndexSpecs method
This commit is contained in:
Steve Boyd 2021-01-17 11:18:35 +13:00 committed by GitHub
commit ed5c1488c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -331,7 +331,7 @@ abstract class DBComposite extends DBField
if ($type = $this->getIndexType()) {
$columns = array_map(function ($name) {
return $this->getName() . $name;
}, array_keys((array) static::config()->get('composite_db')));
}, array_keys((array) $this->compositeDatabaseFields()));
return [
'type' => $type,