appview/db: rework issues table
adds generated `at_uri` column. a lot easier for comments to refer to an
issue now. ingesting comments also does not require a lookup, we can
directly use the at-uri of the parent-issue in db queries.
Signed-off-by: oppiliappan <me@oppi.li>