Table PROJECT id (primary key for the table) ... Table ACCOUNT id (primary key for the table) project_id (reference to PROJECT.id) ... Table QUOTA id (primary key for the table) account_id (reference to ACCOUNT.id) ...