async clearData(transaction) {
        const tables = this.tableList.map(t => t.name).reverse();

        // TODO: Remove this once we import posts_meta
        tables.unshift('posts_meta');

        // Clear data from any tables that are being imported
        for (const table of tables) {
            this.logger.debug(`Clearing table ${table}`);

            if (table === 'roles_users') {
                await transaction(table).del().whereNot('user_id', '1');
            } else if (table === 'users') {
                // Avoid deleting the admin user
                await transaction(table).del().whereNot('id', '1');
            } else {
                await transaction(table).truncate();
            }
        }
    }
TODO: This needs to reverse through all dependency chains to clear data from all tables
@param {import('knex/types').Knex.Transaction} transaction