<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi all, <br>
</p>
<p>currently I inspected the differences between 4.8 and master and
got the impression that git master uses a version already
allocated by 4.8. <br>
</p>
<p>With commit<a
href="https://commits.kde.org/kmymoney/75efcd673f8a750681ba35cc6e12a4d6d13ca474">
https://commits.kde.org/kmymoney/</a>6bce2ac059f1921ead3362687e48ce84367238d2
sql storage version has been raised to V11 which is implemented
as</p>
int MyMoneyStorageSql::upgradeToV11()<br>
<p>
{<br>
DBG("*** Entering MyMoneyStorageSql::upgradeToV11");<br>
MyMoneyDbTransaction dbtrans(*this, Q_FUNC_INFO);<br>
<br>
QSqlQuery q(*this);<br>
if (!alterTable(m_db.m_tables["kmmSchedules"], m_dbVersion))<br>
return 1;<br>
return 0;<br>
}</p>
<p>in master commit <a
href="https://commits.kde.org/kmymoney/75efcd673f8a750681ba35cc6e12a4d6d13ca474">https://commits.kde.org/kmymoney/</a>fd6a9557c637875aff7e53415f7c042c8f636858
reuses this version.<br>
<br>
</p>
<p>int MyMoneyStorageSql::upgradeToV11()<br>
{<br>
MyMoneyDbTransaction dbtrans(*this, Q_FUNC_INFO);<br>
<br>
QSqlQuery q(*this);<br>
// add column roundingMethodCol to kmmSecurities<br>
if (!alterTable(m_db.m_tables["kmmSecurities"], m_dbVersion))<br>
return (1);<br>
// add column pricePrecision to kmmCurrencies<br>
if (!alterTable(m_db.m_tables["kmmCurrencies"], m_dbVersion))<br>
return (1);<br>
<br>
return 0;<br>
}</p>
<p>To solve the issue, 4.8 branch should be merged into master to be
in sync or the related commit from 4.8 branch should be applied to
master too and master should then update to sql storage version
12.<br>
</p>
Regards<br>
Ralf<br>
</body>
</html>