Room require four parts: Database class, DAO classes, Entity classes and Migration classes (now you may use only DDL methods):
Entity classes
// Set custom table name, add indexes
@Entity(tableName = "videos",
indices = {@Index("title")}
)
public final class VideoIt...