Skip to content

Commit 0af49a2

Browse files
committed
Remove schema change migration dev affordance
1 parent 5836c4a commit 0af49a2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Modules/Sources/Storage/GRDB/GRDBManager.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@ private extension GRDBManager {
5959
func migrateIfNeeded() throws {
6060
var migrator = DatabaseMigrator()
6161

62-
#if DEBUG
63-
// Speed up development by dropping the database when migrations change
64-
migrator.eraseDatabaseOnSchemaChange = true
65-
#endif
66-
6762
migrator.registerMigration("V001InitialSchema") { db in
6863
try V001InitialSchema.migrate(db)
6964
}

0 commit comments

Comments
 (0)