title: Room: Conflicting Declarations
body: <p>I would like to add value, date and details to the current pb. I am receiving an error 'conflicting declaration' in the database for pbInfo. How should I fix this error?</p>
  
  <pre><code>@Entity(tableName = "pb_table")
  data class Pb(@PrimaryKey
                val pb: String)
  
  @Entity
  data class PbInfo(@PrimaryKey
                    var value: Double,
                    var date: Int,
                    var details: String)
  
  </code></pre>
  
  <pre><code>@Dao
  interface PbInfoDao {
  
  
      @Insert
      fun update(vararg pbInfo: PbInfo): LongArray
  
  </code></pre>
  
  <pre><code> INSTANCE?.let { database -&gt;
                      scope.launch {
                          populateDatabase(database.pbDao(), database.pbInfo())
                      }
                  }
              }
              suspend fun populateDatabase(pbDao: PbDao, pbInfoDao: PbInfoDao) {
                  pbDao.deleteAll()
  
                  var pb = Pb("Squat")
                  pbDao.insert(pb)
                  var pbInfo = PbInfo(122.5, 28, "I was feeling on top form today!")
  </code></pre>