Below is the file 'fourstar.sql' from this revision. You can also download the file.

CREATE TABLE CHART (
accountid integer primary key,
details text,
debitbalance boolean,
info text);
CREATE TABLE JOURNAL (
journalid integer primary key,
date text
explanation text,
postref integer,
accountid integer,
debit float,
credit float);
CREATE TABLE LEDGER (
accountid integer primary key,
date text,
explanation text,
journalref integer,
debit float,
credit float,
balancedebit float,
balancecredit float);