Instance Methodgrdb 7.4.0GRDB

migrate(_:)

Runs all unapplied migrations, in the same order as they were registered.

DatabaseMigrator.swift:239
func migrate(_ writer: any DatabaseWriter) throws

Parameters

writer

A DatabaseWriter.

Throws

The error thrown by the first failed migration.