app_config, connection.alias and include_auto_created set to boolean True. call the method connection.creation.sql_create_model with arguments model, style and known_models, substitute the result for output and references.
output , references = connection . creation . sql_create_model ( model , style , known_models )