Use tuples instead of arrays for FK constraints. (fixup for 6bc1a19be0e6baf1)