This commit is contained in:
Gwendal Roué committed 2018-03-15 20:22:39 +01:00
1 parent c7ad3ef4a9
commit ebe1d93c3a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ Release Notes
- `Database.isSQLiteInternalTable(_:)` returns whether a table name is an internal SQLite table.
- `Database.isGRDBInternalTable(_:)` returns whether a table name is an internal GRDB table.
- `DatabaseMigrator.appliedMigrations(in:)` returns the set of applied migrations identifiers.
- `DatabaseMigrator.appliedMigrations(in:)` returns the set of applied migrations identifiers in a database.
### Breaking Changes
+1 -1
View File
@@ -3859,7 +3859,7 @@ Check if a migration has been applied:
```swift
let appliedMigrations = try migrator.appliedMigration(in: dbQueue)
if appliedMigrations.contains("v2") {
// "v2" has been applied
// "v2" migration has been applied
}
```