Replaced VARCHAR with TEXT in databases.
authorGrzegorz Rynkowski <g.rynkowski@samsung.com>
Fri, 1 Mar 2013 16:12:58 +0000 (17:12 +0100)
committerGerrit Code Review <gerrit2@kim11>
Thu, 7 Mar 2013 06:22:03 +0000 (15:22 +0900)
commit6fc2f17ef688e830727aca99783ad935850e1210
tree883ee5c8991360b68346d3bc683e6ab999a7b29d
parent2154ac77e69c8c5bf50688f02c70e93f720f7135
Replaced VARCHAR with TEXT in databases.

[Issue#] LINUXWRT-71

[Problem] CREATE TABLE statement could be misleading - string fields are
falsely limited.

[Cause] SQLite ignore numeric arguments in parentheses of data types
(ex. VARCHAR(256), VARCHAR(8) is TEXT).

[Solution] If length of string fields are not specified, replace VARCHAR(x) to TEXT.

[Verification] Build wrt-commons, other rpms depending on
wrt-common, run tests and compare results before and after this patch.

Change-Id: I1abbea070fef250b456ac45b299cba3f2691464b
modules/widget_dao/dao/widget_dao.cpp
modules/widget_dao/orm/wrt_db