Manual:$wgExtPGAlteredFields

From mediawiki.org
This page is a translated version of the page Manual:$wgExtPGAlteredFields and the translation is 62% complete.
拡張機能のフィールド: $wgExtPGAlteredFields
拡張機能が定義した、既存のテーブルを変更するカラム
導入されたバージョン:1.15.0
除去されたバージョン:1.36.0 (Gerrit change 554602; git #95649c39)
許容される値:下記参照
既定値:[]

詳細

Used to alter the data type of a column in an existing table. Used for Postgres tables only. The final rule is optional and only needed if Postgres cannot convert the types automatically.

使用法

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