package Ġorg . step ic . d roid . storage . migration Ċ Ċ import Ġandroidx . room . migration . Migration Ċ import Ġandroidx . sqlite . db . Support SQLite Database Ċ import Ġorg . step ic . d roid . storage . structure . Db Structure Course Ċ Ċ object ĠMigration From 7 6 To 7 7 Ġ: ĠMigration ( 7 6 , Ġ 7 7 ) Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġmigrate ( db : ĠSupport SQLite Database ) Ġ{ ĊĠĠĠĠĠĠĠ Ġdb . exec SQL (" ALTER ĠTABLE Ġ${ Db Structure Course . TABLE _ NAME } ĠADD ĠCOLUMN Ġ${ Db Structure Course . Columns . PRE VIEW _ LESS ON } ĠINTEGER ") ĊĠĠĠĠĠĠĠ Ġdb . exec SQL (" ALTER ĠTABLE Ġ${ Db Structure Course . TABLE _ NAME } ĠADD ĠCOLUMN Ġ${ Db Structure Course . Columns . PRE VIEW _ UNIT } ĠINTEGER ") ĊĠĠĠ Ġ} Ċ }