title: How to annotate Column as NOT NULL using Android Room Persistence Library
body: <p>My data class looks like this</p>
  
  <pre><code>@Entity(tableName = "items")
  data class Item(
          @ColumnInfo(name = "name") var name: String = "",
          @ColumnInfo(name = "room") var room: String = "",
          @ColumnInfo(name = "quantity") var quantity: String = "",
          @ColumnInfo(name = "description") var description: String = "",
          @PrimaryKey(autoGenerate = true)
          @ColumnInfo(name = "id") var id: Long = 0
  )
  </code></pre>
  
  <p>Room uses SQLite and SQLite supports NOT NULL columns in its database. I tried annotating columns with @NonNull but it has no effect.</p>
  
  <p>Is there a way to make columns in Room Database not nullable?</p>