Fixes/updates: table SQL definitions.