├── .gitignore ├── .idea ├── .name ├── codeStyles │ ├── Project.xml │ └── codeStyleConfig.xml ├── compiler.xml ├── gradle.xml ├── jarRepositories.xml ├── misc.xml ├── runConfigurations.xml └── vcs.xml ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro ├── schemas │ └── com.adammcneilly.masteringroommigrations.StudentDatabase │ │ ├── 1.json │ │ ├── 2.json │ │ ├── 3.json │ │ ├── 4.json │ │ ├── 5.json │ │ └── 6.json └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── adammcneilly │ │ └── masteringroommigrations │ │ ├── StudentDatabaseMigrationsTest.kt │ │ └── StudentDatabaseTest.kt │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── adammcneilly │ │ │ └── masteringroommigrations │ │ │ ├── MainActivity.kt │ │ │ ├── Migrations.kt │ │ │ ├── Student.kt │ │ │ ├── StudentDAO.kt │ │ │ └── StudentDatabase.kt │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── values-night │ │ └── styles.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── com │ └── adammcneilly │ └── masteringroommigrations │ └── ExampleUnitTest.kt ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.name: -------------------------------------------------------------------------------- 1 | Mastering Room Migrations -------------------------------------------------------------------------------- /.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/.idea/codeStyles/Project.xml -------------------------------------------------------------------------------- /.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/.idea/codeStyles/codeStyleConfig.xml -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/.idea/compiler.xml -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/.idea/gradle.xml -------------------------------------------------------------------------------- /.idea/jarRepositories.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/.idea/jarRepositories.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/.idea/runConfigurations.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/README.md -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/schemas/com.adammcneilly.masteringroommigrations.StudentDatabase/1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/schemas/com.adammcneilly.masteringroommigrations.StudentDatabase/1.json -------------------------------------------------------------------------------- /app/schemas/com.adammcneilly.masteringroommigrations.StudentDatabase/2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/schemas/com.adammcneilly.masteringroommigrations.StudentDatabase/2.json -------------------------------------------------------------------------------- /app/schemas/com.adammcneilly.masteringroommigrations.StudentDatabase/3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/schemas/com.adammcneilly.masteringroommigrations.StudentDatabase/3.json -------------------------------------------------------------------------------- /app/schemas/com.adammcneilly.masteringroommigrations.StudentDatabase/4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/schemas/com.adammcneilly.masteringroommigrations.StudentDatabase/4.json -------------------------------------------------------------------------------- /app/schemas/com.adammcneilly.masteringroommigrations.StudentDatabase/5.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/schemas/com.adammcneilly.masteringroommigrations.StudentDatabase/5.json -------------------------------------------------------------------------------- /app/schemas/com.adammcneilly.masteringroommigrations.StudentDatabase/6.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/schemas/com.adammcneilly.masteringroommigrations.StudentDatabase/6.json -------------------------------------------------------------------------------- /app/src/androidTest/java/com/adammcneilly/masteringroommigrations/StudentDatabaseMigrationsTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/androidTest/java/com/adammcneilly/masteringroommigrations/StudentDatabaseMigrationsTest.kt -------------------------------------------------------------------------------- /app/src/androidTest/java/com/adammcneilly/masteringroommigrations/StudentDatabaseTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/androidTest/java/com/adammcneilly/masteringroommigrations/StudentDatabaseTest.kt -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/java/com/adammcneilly/masteringroommigrations/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/java/com/adammcneilly/masteringroommigrations/MainActivity.kt -------------------------------------------------------------------------------- /app/src/main/java/com/adammcneilly/masteringroommigrations/Migrations.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/java/com/adammcneilly/masteringroommigrations/Migrations.kt -------------------------------------------------------------------------------- /app/src/main/java/com/adammcneilly/masteringroommigrations/Student.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/java/com/adammcneilly/masteringroommigrations/Student.kt -------------------------------------------------------------------------------- /app/src/main/java/com/adammcneilly/masteringroommigrations/StudentDAO.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/java/com/adammcneilly/masteringroommigrations/StudentDAO.kt -------------------------------------------------------------------------------- /app/src/main/java/com/adammcneilly/masteringroommigrations/StudentDatabase.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/java/com/adammcneilly/masteringroommigrations/StudentDatabase.kt -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values-night/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/res/values-night/styles.xml -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /app/src/test/java/com/adammcneilly/masteringroommigrations/ExampleUnitTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/app/src/test/java/com/adammcneilly/masteringroommigrations/ExampleUnitTest.kt -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AdamMc331/mastering-room-migrations/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | rootProject.name = "Mastering Room Migrations" --------------------------------------------------------------------------------