mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user