Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
3.9 kB
0
Indexable
Never
(1) no such column: image_url in "UPDATE HTML_TABS SET id = ?, server_id = ?, city_id = ?, title = ?, menu_id = ?, icon = ?, url = ?, ios_app_url = ?, ios_url = ?, android_app_url = ?, android_url = ?, html = ?, f
2024-08-06 12:58:05.660 21984-24369 Upgrade db              com.cityapp.preview.dev              E  inser and update
                                                                                                    android.database.sqlite.SQLiteException: no such column: image_url (code 1 SQLITE_ERROR): , while compiling: UPDATE HTML_TABS SET id = ?, server_id = ?, city_id = ?, title = ?, menu_id = ?, icon = ?, url = ?, ios_app_url = ?, ios_url = ?, android_app_url = ?, android_url = ?, html = ?, form_url = ?, open_external_browser = ?, is_cache = ?, navigation_type = ?, show_alert = ?, device_id_needed = ?, sort_order = ?, status = ?, image_url = ? where server_id = '988'
                                                                                                    	at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
                                                                                                    	at android.database.sqlite.SQLiteConnection.acquirePreparedStatement(SQLiteConnection.java:1068)
                                                                                                    	at android.database.sqlite.SQLiteConnection.prepare(SQLiteConnection.java:673)
                                                                                                    	at android.database.sqlite.SQLiteSession.prepare(SQLiteSession.java:590)
                                                                                                    	at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:62)
                                                                                                    	at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:34)
                                                                                                    	at android.database.sqlite.SQLiteDatabase.compileStatement(SQLiteDatabase.java:1390)
                                                                                                    	at com.my.city.app.database.DBHelper.updateRecord(DBHelper.java:496)
                                                                                                    	at com.my.city.app.database.DBHelper.setRecord(DBHelper.java:383)
                                                                                                    	at com.my.city.app.database.DBHelper.upgradeDatabase(DBHelper.java:263)
                                                                                                    	at com.my.city.app.parser.ResponseParser.updateDatabaseRecord(ResponseParser.java:1192)
                                                                                                    	at com.my.city.app.parser.ResponseParser.parseNewBaseAPI(ResponseParser.java:1074)
                                                                                                    	at com.my.city.app.GetMainWorker.doWork(GetMainWorker.java:64)
                                                                                                    	at androidx.work.Worker$1.run(Worker.java:86)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
                                                                                                    	at java.lang.Thread.run(Thread.java:1012)
Leave a Comment