Add graph id (gid) to schema