I'm not sure if this is what you want (see attached zipped db).
Though, as a general rule, Account Codes should be text, not long (even if they are actually numbers) for numerous reasons, and most importantly, sorting. For example, when you sort the chart of accounts you want 150001 < 160...