SQL to Dgraph Migration - Edges not creating

Thanks @MichelDiz.

My schema has the types defined as lowercase, but since it seems like the best practice is to start with upper-case letters, I’ll make the change.

In regards to the authored.json file that contains the author to book mappings, does this format above look like it should work, or do I need to switch Bulk Loader to use the --store_xids flag and add the xid predicate to both the author and book files, as suggested by @rcbevans?

If I could you please show what the new format should look like?

Current:

{
    "author_id": "_:00004178-a951-4425-a260-40e548189169",
    "authored": {
          "book_id": "_:d6d30b03-27cf-4156-8b63-0218ff69a2bc"
    }
  }

Would it just become:

{
    "xid": "_:00004178-a951-4425-a260-40e548189169",
    "authored": {
          "xid": "_:d6d30b03-27cf-4156-8b63-0218ff69a2bc"
    }
 }

Thank you