adding sql for a table that can be used to query the datamodel

A number of tables include ca_change_log and ca_attributes have references to a table_num, this just makes the table_num human readable
Merge pull request #58 from kehh/datamodelSql

adding sql for a table that can be used to query the datamodel