Fix bug 593865 - Unable to save to database error when scheduling transactions

Allow scheduled transaction to have NULL start date.  Will require db to be deleted
and recreated.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18300 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Phil Longstaff
2009-09-07 16:25:11 +00:00
parent 989a1e4631
commit 1dbcb0dada

View File

@@ -70,7 +70,7 @@ static const GncSqlColumnTableEntry col_table[] =
{ "name", CT_STRING, SX_MAX_NAME_LEN, 0, NULL, GNC_SX_NAME },
{ "enabled", CT_BOOLEAN, 0, COL_NNUL, NULL, NULL,
(QofAccessFunc)xaccSchedXactionGetEnabled, (QofSetterFunc)xaccSchedXactionSetEnabled },
{ "start_date", CT_GDATE, 0, COL_NNUL, NULL, GNC_SX_START_DATE },
{ "start_date", CT_GDATE, 0, 0, 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 },