You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iflet count =try?getRowCountWithCondition(sql:"SELECT count(*) FROM sqlite_schema WHERE type='index' AND tbl_name='\(tableName)' AND name='\(indexName)';", valuesToBind:nil){
263
+
iflet count =try?getRowCountWithCondition(sql:"SELECT count(*) FROM sqlite_master WHERE type='index' AND tbl_name='\(tableName)' AND name='\(indexName)';", valuesToBind:nil){
264
264
letresult= count ==1?true:false
265
265
log("successfully checked if index \(indexName) exists: \(result)")
266
266
return result
@@ -315,17 +315,17 @@ open class SQLite: SQLiteType {
0 commit comments