package Ġre . not ifica . internal . storage . database Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroidx . room . Database Ċ import Ġandroidx . room . Room Ċ import Ġandroidx . room . Room Database Ċ import Ġre . not ifica . internal . storage . database . dao . Not ific are Events Dao Ċ import Ġre . not ifica . internal . storage . database . entities . Not ific are Event Entity Ċ Ċ @ Database ( ĊĠĠĠ Ġversion Ġ= Ġ 1 , ĊĠĠĠ Ġentities Ġ= Ġ[ ĊĠĠĠĠĠĠĠ ĠNot ific are Event Entity :: class ĊĠĠĠ Ġ] Ċ ) Ċ internal Ġabstract Ġclass ĠNot ific are Database Ġ: ĠRoom Database () Ġ{ ĊĊĠĠĠ Ġabstract Ġfun Ġevents (): ĠNot ific are Events Dao ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġprivate Ġconst Ġval ĠDB _ NAME Ġ= Ġ" not ific are . db " ĊĊĠĠĠĠĠĠĠ Ġinternal Ġfun Ġcreate ( context : ĠContext ): ĠNot ific are Database Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn ĠRoom . database Builder ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġcontext , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠNot ific are Database :: class . java , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠDB _ NAME ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ). fallback To Dest ruct ive Migration (). build () ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ