Fixing DDL not creating inherits statements