<div dir="ltr">This task is more intrusive in source code. It touch the schema of DB, so DB contents can be corrupted if errors are introduced.<div><br></div><div>So i recommend to implement this solution in your dedicated developpement branch in first and to check it until it stable. Write unit test code if necessary.</div><div>When code is enough stable, it will be backported to git/master safety.</div><div><br></div><div>Gilles Caulier</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-08 14:54 GMT+02:00 Swati Lodha <span dir="ltr"><<a href="mailto:swatilodha27@gmail.com" target="_blank">swatilodha27@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello<div><br></div><div>To <font color="#800000" face="arial, helvetica, sans-serif"><span style="line-height:16.9px;white-space:pre-wrap">change "collection" property in DB Album table to "category":</span></font></div><div><font color="#800000" face="monospace"><span style="line-height:16.9px;white-space:pre-wrap"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="line-height:16.9px;white-space:pre-wrap">1) Add ALTER TABLE statement in <a href="http://dbconfig.xml.cmake.in" target="_blank">dbconfig.xml.cmake.in</a> file around below CREATE TABLE ALBUMS statement for both SQLite and MySQL.</span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="line-height:16.9px;white-space:pre-wrap"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="line-height:16.9px;white-space:pre-wrap">2) Changing "collection" to "category" in all source code files.</span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="line-height:16.9px;white-space:pre-wrap"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="line-height:16.9px;white-space:pre-wrap">Would it be right?</span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="line-height:16.9px;white-space:pre-wrap"><br></span></font></div><div><font color="#000000" face="arial, helvetica, sans-serif"><span style="line-height:16.9px;white-space:pre-wrap">Regards</span></font></div></div><div hspace="streak-pt-mark" style="max-height:1px"><img style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=ac3dhdGlsb2RoYTI3QGdtYWlsLmNvbQ%3D%3D&type=zerocontent&guid=c4174091-8337-451a-8486-3a9a658c8e13"><font color="#ffffff" size="1">ᐧ</font></div>
<br>_______________________________________________<br>
Digikam-devel mailing list<br>
<a href="mailto:Digikam-devel@kde.org">Digikam-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/digikam-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/digikam-devel</a><br>
<br></blockquote></div><br></div>