Documentation formatting

This commit is contained in:
Gwendal Roué committed 2016-01-31 13:43:48 +01:00
1 parent 49b80a4f71
commit ea07cba3fb
1 file changed
+3 -2
+3 -2
View File
@@ -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))
}