mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
Documentation formatting
This commit is contained in:
1 parent
49b80a4f71
commit
ea07cba3fb
1 file changed
+3
-2
@@ -66,10 +66,11 @@ public struct DatabaseMigrator {
|
||||
/// }
|
||||
///
|
||||
/// - parameters:
|
||||
/// - identifier: The migration identifier. It must be unique.
|
||||
/// - identifier: The migration identifier.
|
||||
/// - disabledForeignKeyChecks: If true, the migration is run with
|
||||
// disabled foreign key checks.
|
||||
/// disabled foreign key checks.
|
||||
/// - block: The migration block that performs SQL statements.
|
||||
/// - precondition: No migration with the same same as already been registered.
|
||||
public mutating func registerMigration(identifier: String, withDisabledForeignKeyChecks disabledForeignKeyChecks: Bool = false, migrate: (db: Database) throws -> Void) {
|
||||
registerMigration(Migration(identifier: identifier, disabledForeignKeyChecks: disabledForeignKeyChecks, migrate: migrate))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user