executeSql("update note set attributeContentClass = ''");
}
+ // Evernoteサムネイルカラムを追加
+ if (!dbTableColumnExists("NOTE", "ENTHUMBNAIL")) {
+ executeSql("alter table note add column enThumbNail Blob");
+ }
+
// Apache Luceneを使った日本語検索のためのプレーンテキストノートコンテンツカラムを準備
if (!dbTableColumnExists("NOTE", "CONTENTTEXT")) {
executeSql("alter table note add column contentText VarChar");
Global.rebuildFullTextResourceTarget(this);
}
+
+ // 注意:ここから先でnoteテーブルとnoteResourcesテーブルの構造を変更するな。全文検索ができなくなる。
}
public void executeSql(String sql) {