package Ġdatabase Ċ Ċ import Ġorg . jetbrains . ex posed . sql . Table Ċ import Ġorg . jetbrains . ex posed . sql . datetime Ċ Ċ object ĠReports Ġ: ĠTable () Ġ{ ĊĠĠĠ Ġval Ġid Ġ= Ġinteger (" id "). primaryKey (). auto Increment () ĊĠĠĠ Ġval ĠuserId Ġ= Ġ( integer (" user _ id ") Ġreferences ĠUsers . id ) ĊĠĠĠ Ġval Ġtitle Ġ= Ġvarchar (" title ", Ġlength Ġ= Ġ 5 0 ) ĊĠĠĠ Ġval Ġdescription Ġ= Ġtext (" description ") ĊĠĠĠ Ġval Ġvotes Ġ= Ġinteger (" votes "). default ( 1 ) ĊĠĠĠ Ġval Ġapp Version Ġ= Ġvarchar (" app _ version ", Ġ 5 0 ) ĊĠĠĠ Ġval Ġdevice Name Ġ= Ġvarchar (" device _ name ", Ġ 5 0 ) ĊĠĠĠ Ġval Ġos Version Ġ= Ġvarchar (" os _ version ", Ġ 5 0 ) ĊĠĠĠ Ġval Ġdate Created Ġ= Ġdatetime (" created _ at ") ĊĠĠĠ Ġval Ġdate Resolved Ġ= Ġdatetime (" resolved _ at "). nullable () Ċ }