diff --git a/src/engine/sql/table-audit.sql b/src/engine/sql/table-audit.sql index dbe941d3b6..c2d608cb84 100644 --- a/src/engine/sql/table-audit.sql +++ b/src/engine/sql/table-audit.sql @@ -28,7 +28,6 @@ CREATE TABLE gncAccountTrail ( accountName TEXT NOT NULL CHECK (accountName <> ''), accountCode TEXT, description TEXT, - notes TEXT, type TEXT NOT NULL, commodity TEXT NOT NULL CHECK (commodity <>''), version INT4 NOT NULL diff --git a/src/engine/sql/table-create.sql b/src/engine/sql/table-create.sql index 4bffe505ef..34b6cc0b2a 100644 --- a/src/engine/sql/table-create.sql +++ b/src/engine/sql/table-create.sql @@ -46,7 +46,6 @@ CREATE TABLE gncAccount ( accountName TEXT NOT NULL CHECK (accountName <> ''), accountCode TEXT, description TEXT, - notes TEXT, type TEXT NOT NULL, commodity TEXT NOT NULL CHECK (commodity <>''), version INT4 NOT NULL diff --git a/src/engine/sql/table.m4 b/src/engine/sql/table.m4 index 56d088a532..74c64cd4a1 100644 --- a/src/engine/sql/table.m4 +++ b/src/engine/sql/table.m4 @@ -9,7 +9,6 @@ define(`account', `gncAccount, Account, Account, accountName, , char *, xaccAccountGetName(ptr), accountCode, , char *, xaccAccountGetCode(ptr), description, , char *, xaccAccountGetDescription(ptr), - notes, , char *, xaccAccountGetNotes(ptr), type, , char *, xaccAccountTypeEnumAsString(xaccAccountGetType(ptr)), commodity, , char *, gnc_commodity_get_unique_name(xaccAccountGetCommodity(ptr)), version, , int32, xaccAccountGetVersion(ptr), @@ -244,7 +243,7 @@ pgendStoreOne`'func_name($@)`'Only (PGBackend *be, define(`compare_one_only', ` /* ------------------------------------------------------ */ -/* This routine returns a positive int if the indicated transaction +/* This routine returns a positive int if the indicated object * differs from that in the SQL database. It returns negative * number if theres an error. * It does not do any traversals, it does not lock. @@ -320,7 +319,7 @@ pgendPutOne`'func_name($@)`'Only (PGBackend *be, xacc_type($@) *ptr) define(`compare_version', ` /* ------------------------------------------------------ */ -/* This routine compares the version number of the account in +/* This routine compares the version number of the object in * the engine and the sql database. It returns a negative * number if the sql version is older (or the item is not * present in the sql db). It returns a positive number