mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Before setup, the grdb_migrations table doesn't exist, so calling `appliedMigrations` would throw an error. To avoid this, if the table to track migrations doesn't exist yet, we can be sure no migrations have been run, and we retun the empty set. FIXES https://github.com/groue/GRDB.swift/issues/652