diff --git a/app/src/main/java/io/legado/app/data/entities/RssSource.kt b/app/src/main/java/io/legado/app/data/entities/RssSource.kt index 99650060c..1f5cba92a 100644 --- a/app/src/main/java/io/legado/app/data/entities/RssSource.kt +++ b/app/src/main/java/io/legado/app/data/entities/RssSource.kt @@ -2,11 +2,14 @@ package io.legado.app.data.entities import android.os.Parcelable import androidx.room.Entity +import androidx.room.PrimaryKey import kotlinx.android.parcel.Parcelize @Parcelize @Entity(tableName = "rssSources") data class RssSource( var sourceName: String, + @PrimaryKey + var sourceUrl: String, var enabled: Boolean = true ) : Parcelable \ No newline at end of file