Jc 2032 code review refactoring

http://jira.jtalks.org/browse/JC-2032
I'd call the table `TOPIC_ATTRIBUTE`