add table size printing
Revert "cleanup types"

This reverts commit 6231aa18d1ceffd632d453189d7fbe9a0b1cf312.
add sql structure codegen