package Ġdev . mo et z . ko ar l . backend . persistence . sql Ċ Ċ import Ġorg . jetbrains . ex posed . sql . Table Ċ import Ġorg . jetbrains . ex posed . sql . j od atime . datetime Ċ Ċ object ĠCrash Table Ġ: ĠTable (" crash Table ") Ġ{ ĊĠĠĠ Ġval Ġuuid Ġ= Ġuuid (" uuid ") ĊĠĠĠ Ġval Ġis Fatal Ġ= Ġbool (" is Fatal ") ĊĠĠĠ Ġval Ġin Foreground Ġ= Ġbool (" in Foreground ") ĊĠĠĠ Ġval ĠdateTime Ġ= Ġdatetime (" dateTime ") ĊĠĠĠ Ġval Ġthrowable Ġ= Ġtext (" throwable ") ĊĊĠĠĠ Ġval Ġdevice Data Ġ= Ġ( integer (" device Data ") Ġreferences ĠDevice DataTable . id ). nullable () ĊĠĠĠ Ġval Ġapp Data Ġ= Ġinteger (" app Data ") Ġreferences ĠApp DataTable . id ĊĠĠĠ Ġval Ġgroup Uuid Ġ= Ġuuid (" group Uuid ") ĊĊĠĠĠ Ġval Ġfree Memory Ġ= Ġlong (" free Memory ") ĊĠĠĠ Ġval Ġtotal Memory Ġ= Ġlong (" total Memory ") ĊĠĠĠ Ġval Ġorientation Ġ= Ġenumeration (" orientation ", ĠDevice Orientation :: class ) ĊĊĠĠĠ Ġenum Ġclass ĠDevice Orientation Ġ{ ĊĠĠĠĠĠĠĠ ĠPor trait , ĠLand scape , ĠUndefined ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġval Ġprimary Key Ġ= ĠPrimary Key ( uuid ) Ċ } Ċ Ċ object ĠDevice DataTable Ġ: ĠTable (" device DataTable ") Ġ{ ĊĠĠĠ Ġval Ġid Ġ= Ġinteger (" id "). auto Increment () ĊĠĠĠ Ġval Ġdevice Name Ġ= Ġvarchar (" device Name ", Ġ 1 2 8 ) ĊĠĠĠ Ġval Ġmanufacturer Ġ= Ġvarchar (" manufacturer ", Ġ 1 2 8 ) ĊĠĠĠ Ġval Ġbrand Ġ= Ġvarchar (" brand ", Ġ 1 2 8 ) ĊĠĠĠ Ġval Ġmodel Ġ= Ġvarchar (" model ", Ġ 1 2 8 ) ĊĠĠĠ Ġval Ġbuild Id Ġ= Ġvarchar (" build Id ", Ġ 1 2 8 ) ĊĠĠĠ Ġval Ġoperation System Version Ġ= Ġinteger (" operation System Version ") ĊĊĠĠĠ Ġoverride Ġval Ġprimary Key Ġ= ĠPrimary Key ( id ) Ċ } Ċ Ċ object ĠApp DataTable Ġ: ĠTable (" app DataTable ") Ġ{ ĊĠĠĠ Ġval Ġid Ġ= Ġinteger (" id "). auto Increment () ĊĠĠĠ Ġval ĠpackageName Ġ= Ġvarchar (" packageName ", Ġ 5 1 2 ) ĊĠĠĠ Ġval ĠappName Ġ= Ġvarchar (" appName ", Ġ 5 1 2 ) ĊĠĠĠ Ġval Ġapp Version Code Ġ= Ġlong (" app Version Code ") ĊĠĠĠ Ġval Ġapp Version Name Ġ= Ġvarchar (" app Version Name ", Ġ 5 1 2 ) ĊĊĠĠĠ Ġoverride Ġval Ġprimary Key Ġ= ĠPrimary Key ( id ) Ċ } ĊĊ Ċ object ĠO bf usc ation Mapping Table Ġ: ĠTable (" ob fusc ation Mapping Table ") Ġ{ ĊĠĠĠ Ġval ĠpackageName Ġ= Ġvarchar (" packageName ", Ġ 5 1 2 ) ĊĠĠĠ Ġval Ġapp Version Code Ġ= Ġlong (" app Version Code ") ĊĠĠĠ Ġval Ġmapping Ġ= Ġblob (" mapping ") ĊĊĠĠĠ Ġoverride Ġval Ġprimary Key Ġ= ĠPrimary Key ( packageName , Ġapp Version Code ) Ċ } Ċ