Escape single-quotes in text-type columns. Also did additional testing against prod db, looking good for individual tables. Next: associations.