mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 21:15:48 +00:00
Update default conflict method to be 'ignore'.
This commit is contained in:
@@ -369,7 +369,7 @@ class InsertBuilderPart2(
|
||||
private val tableName: String,
|
||||
private val values: ContentValues
|
||||
) {
|
||||
fun run(conflictStrategy: Int = SQLiteDatabase.CONFLICT_NONE): Long {
|
||||
fun run(conflictStrategy: Int = SQLiteDatabase.CONFLICT_IGNORE): Long {
|
||||
return db.insert(tableName, conflictStrategy, values)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user