mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 17:05:45 +02:00
BUGFIX Fixing index building failing on array check when the index is a string.
This commit is contained in:
parent
1fd2088c96
commit
200dcf3121
@ -428,7 +428,7 @@ class PostgreSQLDatabase extends SS_Database {
|
||||
$triggers='';
|
||||
if($indexes){
|
||||
foreach($indexes as $name=>$this_index){
|
||||
if($this_index['type']=='fulltext'){
|
||||
if(is_array($this_index) && $this_index['type']=='fulltext'){
|
||||
$ts_details=$this->fulltext($this_index, $tableName, $name);
|
||||
$fulltexts.=$ts_details['fulltexts'] . ', ';
|
||||
$triggers.=$ts_details['triggers'];
|
||||
|
Loading…
Reference in New Issue
Block a user