Python program generates sql code for proper creating tables by parsing written structure of it in postgresql database