moved table related types from attribute.go to table.go