1

Topic: What to write down?

Hello.
The organizations have accounts. There are requests and to them the organizations are appropriated. The request it is important to know about the organization account.
It is implemented so:
The table of the organizations "organization":
id, name...
The table of accounts  "organization_account":
id, organization_id, bank_name...
Question what to write down in the table of requests, only "organization_account_id" or "organization_id" and "organization_account_id"?

2

Re: What to write down?

Itself you write:

Golodaea wrote:

Form requests and to them the organizations are appropriated.

The organizations, instead of accounts...

3

Re: What to write down?

Akina;
Requests should know, what account is anchored.
Then I need to write down and the organization account in the table of requests, but it is possible to write down only the organization account, and through the account to learn and the organization. I write down the account, but somehow to me  from such decision, here and I want to learn judgement of experts.

4

Re: What to write down?

wrote:

Requests should know Golodaea, what account is anchored.

carry out anew the analysis - it, possibly, it is made with errors, time tasks put by you does not correspond to business process.