Thanks Jiri.
I was looking to query the database to get some task related information. But anyway I achieved that using TaskClient.
Still if we need a foreign key, we can add one manually, but is this recommended? I mean in a scenario where nothing is going your way and joining two tables is only thing you have left. Will this affect may be some thing in some way?
Or is it just that if you need it you can create one. No issues at all?