mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
fix the 'date-entered' bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3714 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
fcb5a854f8
commit
d60244ffad
@ -58,7 +58,8 @@ CREATE TABLE gncAccount (
|
||||
|
||||
CREATE TABLE gncTransaction (
|
||||
transGuid CHAR(32) PRIMARY KEY,
|
||||
date_entered DATETIME DEFAULT 'NOW',
|
||||
last_modified DATETIME DEFAULT 'NOW',
|
||||
date_entered DATETIME,
|
||||
date_posted DATETIME,
|
||||
num TEXT,
|
||||
description TEXT,
|
||||
|
@ -43,7 +43,8 @@ define(`transaction', `gncTransaction, Transaction, Transaction,
|
||||
num, , char *, xaccTransGetNum(ptr),
|
||||
description, , char *, xaccTransGetDescription(ptr),
|
||||
currency, , commod, gnc_commodity_get_unique_name(xaccTransGetCurrency(ptr)),
|
||||
date_entered, , now, "NOW",
|
||||
last_modified, , now, "NOW",
|
||||
date_entered, , Timespec, xaccTransRetDateEnteredTS(ptr),
|
||||
date_posted, , Timespec, xaccTransRetDatePostedTS(ptr),
|
||||
version, , int32, xaccTransGetVersion(ptr),
|
||||
transGUID, KEY, GUID *, xaccTransGetGUID(ptr),
|
||||
|
Loading…
Reference in New Issue
Block a user