From 012eff78e7021b8df62b196d501928090719115b Mon Sep 17 00:00:00 2001
From: Philipp Heckel <pheckel@datto.com>
Date: Tue, 23 Nov 2021 22:38:31 -0500
Subject: [PATCH] Add migration

---
 app/src/main/java/io/heckel/ntfy/data/Database.kt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/src/main/java/io/heckel/ntfy/data/Database.kt b/app/src/main/java/io/heckel/ntfy/data/Database.kt
index 5befac6..42b554c 100644
--- a/app/src/main/java/io/heckel/ntfy/data/Database.kt
+++ b/app/src/main/java/io/heckel/ntfy/data/Database.kt
@@ -62,6 +62,7 @@ abstract class Database : RoomDatabase() {
                 val instance = Room
                     .databaseBuilder(context.applicationContext, Database::class.java,"AppDatabase")
                     .addMigrations(MIGRATION_1_2)
+                    .addMigrations(MIGRATION_2_3)
                     .fallbackToDestructiveMigration()
                     .build()
                 this.instance = instance