id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 12643 Check for table existence in DatabaseManager.upgrade_tables Ryan J Ollos Ryan J Ollos If `upgrade_tables` checked for table existence before attempting to copy the data to a temporary table, then `upgrade_tables` could handle a mix of new and revised tables. This would make the upgrade function slightly similar for a case such as that demonstrated in [browser:plugins/1.2/spam-filter/tracspamfilter/upgrades/db4.py@15307:63-64#L38 db4.py for SpamFilter]. defect closed normal 1.3.2 database backend normal fixed " - `DatabaseManager.upgrade_tables` checks table existence before migrating data for a table, allowing new tables to be specified in `schema`. - Added `has_table` method to `DatabaseManager` and `ConnectionBase`. - `get_column_names` and `drop_columns` of `DatabaseManager` raises an `OperationalError` when the given table is missing."