Fix bug 591614: Saving to postgresql causes zombie scheduled transactions.

SX end date was not being stored.  It is now stored.

NOTE: This is a change in the db table schema.  You need to save your data to XML, then resave
to the database.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18252 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Phil Longstaff 2009-08-15 21:09:47 +00:00
parent f4d7272312
commit b83d32f83f

View File

@ -71,6 +71,8 @@ static const GncSqlColumnTableEntry col_table[] =
{ "enabled", CT_BOOLEAN, 0, COL_NNUL, NULL, NULL,
(QofAccessFunc)xaccSchedXactionGetEnabled, (QofSetterFunc)xaccSchedXactionSetEnabled },
{ "start_date", CT_GDATE, 0, COL_NNUL, NULL, GNC_SX_START_DATE },
{ "end_date", CT_GDATE, 0, 0, NULL, NULL,
(QofAccessFunc)xaccSchedXactionGetEndDate, (QofSetterFunc)xaccSchedXactionSetEndDate },
{ "last_occur", CT_GDATE, 0, 0, NULL, GNC_SX_LAST_DATE },
{ "num_occur", CT_INT, 0, COL_NNUL, NULL, GNC_SX_NUM_OCCUR },
{ "rem_occur", CT_INT, 0, COL_NNUL, NULL, GNC_SX_REM_OCCUR },