View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0024509||mantisbt||plug-ins||public||2018-05-31 05:03||2018-05-31 06:10|
|Priority||normal||Severity||minor||Reproducibility||have not tried|
|Summary||0024509: public function upgrade( $p_schema )|
The following is written in the MantisPlugin.class.php file:
And in plugin_api.pxp this function is executed before the schema update:
I change the database schema in the plugin. I need to convert the data after changing the schema.
|Tags||No tags attached.|
I get it.
This is not a simple description of the confusing.
A bit difficult to answer without specific information about what changes you made or what conversion is needed.
In any case, as mentioned in the method's PHPDoc
I would recommend to perform the data conversion via an upgrade step in the plugin's schema() method, using an