getTable('talk_participants'); if (!$table->hasIndex('tp_uid')) { $table->addIndex(['user_id'], 'tp_uid'); } return $schema; } }