DB design document

Bill Gribble grib@gnumatic.com
Wed, 20 Dec 2000 10:21:30 -0600


On Wed, Dec 20, 2000 at 09:58:25AM -0500, David Merrill wrote:
> So an account group can belong to another account group? The current
> schema doesn't provide for that. Should it? If it does, then we have
> account groups which can contain other account groups or accounts. the
> sub-groups can contain other groups or accounts. The accounts can
> contain other accounts.

Currently in gnucash, a Group (account group) has a set of Accounts.
An Account has a Group which contains all of its children.  So an
Account has exactly one Group, which itself has some set of accounts,
rather than an Account having several Accounts as children.

b.g.