def create_all(graph):
    """
    Create all database tables.

    """
    head = get_current_head(graph)
    if head is None:
        Model.metadata.create_all(graph.postgres)
        stamp_head(graph)
def create_all ( graph ) : head = get_current_head ( graph ) if head is None : Model . metadata . create_all ( graph . postgres ) stamp_head ( graph )
Create all database tables.