As calling $updater->modifyField will do the action immediately (not queued),
this may be undesired.
So this is a shortcut/utility function like addExtensionField/addExtensionTable etc,
instead of the developer calling addExtensionUpdate( array() ) themselves.
Change-Id: Ie94f2b42679062c6e106ae560faab26818a9b15c
$this->extensionUpdates[] = array( 'renameIndex', $tableName, $oldIndexName, $newIndexName, $skipBothIndexExistWarning, $sqlPath, true );
}
+ /**
+ * @since 1.21
+ *
+ * @param $tableName string The table name
+ * @param $fieldName string The field to be modified
+ * @param $sqlPath string The path to the SQL change path
+ */
+ public function modifyExtensionField( $tableName, $fieldName, $sqlPath) {
+ $this->extensionUpdates[] = array( 'modifyField', $tableName, $fieldName, $sqlPath, true );
+ }
+
/**
*
* @since 1.20