To implement TODO coredb.cpp:504

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

To implement TODO coredb.cpp:504

Swati Lodha
Hello

To change "collection" property in DB Album table to "category":

1) Add ALTER TABLE statement in dbconfig.xml.cmake.in file around below CREATE TABLE ALBUMS statement for both SQLite and MySQL.

2) Changing "collection" to "category" in all source code files.

Would it be right?

Regards

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: To implement TODO coredb.cpp:504

Gilles Caulier-4
This task is more intrusive in source code. It touch the schema of DB, so DB contents can be corrupted if errors are introduced.

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.
When code is enough stable, it will be backported to git/master safety.

Gilles Caulier

2016-06-08 14:54 GMT+02:00 Swati Lodha <[hidden email]>:
Hello

To change "collection" property in DB Album table to "category":

1) Add ALTER TABLE statement in dbconfig.xml.cmake.in file around below CREATE TABLE ALBUMS statement for both SQLite and MySQL.

2) Changing "collection" to "category" in all source code files.

Would it be right?

Regards

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel



_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel