mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Remove constraint that lot.account_guid must not be null. Unfortunately,
sqlite doesn't support ALTER TABLE which modifies column constraints, so existing databases can't be modified programmatically. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17503 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
693f93c0f4
commit
6b62aa321e
@ -50,7 +50,7 @@ static void set_lot_is_closed( gpointer pObject, gboolean value );
|
||||
static const GncSqlColumnTableEntry col_table[] =
|
||||
{
|
||||
{ "guid", CT_GUID, 0, COL_NNUL|COL_PKEY, "guid" },
|
||||
{ "account_guid", CT_GUID, 0, COL_NNUL, NULL, NULL, get_lot_account, set_lot_account },
|
||||
{ "account_guid", CT_GUID, 0, 0, NULL, NULL, get_lot_account, set_lot_account },
|
||||
{ "is_closed", CT_BOOLEAN, 0, COL_NNUL, NULL, NULL,
|
||||
(QofAccessFunc)gnc_lot_is_closed, (QofSetterFunc)set_lot_is_closed },
|
||||
{ NULL }
|
||||
|
Loading…
Reference in New Issue
Block a user