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 |
Reporter | 123 | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Product Version | 2.14.0 | ||||
Summary | 0024509: public function upgrade( $p_schema ) | ||||
Description | The following is written in the MantisPlugin.class.php file:
And in plugin_api.pxp this function is executed before the schema update:
Why? 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 |
|