On Sun, 16 Feb 2014 17:13:11 +0000
Sylvain B. <sth...@hotmail.com> wrote:

> Thanks for the report on qt-project, I just faced this exact same
> issue this afternoon (my app is not released yet but I already wanted
> to see if a DB update will be possible). It's a shame not to be able
> to open the DB without specifying the version :/
> 
> Waiting for improvements on QML LocalStorage API, I've found out via
> StackOverflow the "table_info" SQLite Pragma statement:
> http://www.sqlite.org/pragma.html#pragma_table_info With that, you
> can either look at the number of columns of your table, or iterate
> through the rows returned to see if your new column name already
> exists or not.
> 

Did you see the solution I posted on qt-project?
_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to