Reject the promise on errors from getConnection.
Dont need to pass args directly to db.query, also destroy connections to prevent hanging.
Change the getChannels to return a count of unread items as well.
Add db API to get group ids and to insert a group and return its ID or return the id for a given group name.
Add a Groups table.

Use group_id = 1 as a default group with no name.
That is a silly idea.
Add a tool to import a google reader exported subscriptions.xml file
Sort the channels list by name and also get the group name