Create foreign keys in a distributed hypertable