Row - column would not be a problem.
ext.php
because there's no drop_rows
in the migration object. Something simple likeCode: Select all
$sql = 'DELETE FROM ' . your_table . '
WHERE unique_value = ' . your_unique_value;
$this->db->sql_query($sql);
revert_data()
https://area51.phpbb.com/docs/dev/3.2.x ... ta-changesTherevert_data()
method is optional and can be used to undo data changes. Normally, therevert_data()
method is automatically reverted during a purge step, reversing any of the changes introduced by the migration tools. Using therevert_data()
method is only needed to perform additional changes during an extension’s uninstall, such as performing a custom functions.
Thanks - that was it. I was forgetting the "custom function" part.AbaddonOrmuz wrote: ↑Sun May 06, 2018 8:06 pm You can use a migration for that, using a custom function within revert_data()