Fix the broken sql for inheritance when a child table don't have columns
but only constraints. (issue #435)
Merge branch 'fix435-broken-inherits-sql' into develop