Manual:$wgExtPGAlteredFields/pt-br

From Linux Web Expert

<translate> Extension fields</translate>: $wgExtPGAlteredFields
Colunas definidas por extensão a serem alteradas nas tabelas
<translate> Introduced in version:</translate>1.15.0
<translate> Removed in version:</translate>1.36.0 (Gerrit change 554602; git #95649c39)
<translate> Allowed values:</translate>Ver abaixo
<translate> Default value:</translate>[]

Detalhes

Usado para alterar o tipo de dados de uma coluna em uma tabela existente. Usado apenas para tabelas Postgres. A regra final é opcional e necessária apenas se o Postgres não puder converter os tipos automaticamente.

Uso

$wgExtPGAlteredFields[] = array( 'tablename', 'column_name', 'column_type', 'conversion_rule' );