View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008246 | mantisbt | upgrade | public | 2007-08-08 18:34 | 2007-10-04 01:40 |
Reporter | giallu | Assigned To | thraxisp | ||
Priority | normal | Severity | feature | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Fixed in Version | 1.1.0rc1 | ||||
Summary | 0008246: Add support for running arbitrary functions | ||||
Description | The old system allowed running arbitrary functions during the upgrade; this looks like not being available now, but would be very useful | ||||
Tags | No tags attached. | ||||
Initial code submitted to CVS. Two options were added: SQL only upgrade and a php function upgrade. The former is done as follows: $upgrade[] = Array('UpdateSQL', 'UPDATE '.config_get('mantis_user_table') SET duplicate_realname = 'Y' WHERE id<10' ); The latter references a function named in the upgrade. $upgrade[] = Array('AddColumnSQL',Array(config_get('mantis_user_table'), "duplicate_realname I(1) NOTNULL DEFAULT \"0\"")); function install_user_duplicate() {
} |
|