Skip to content

Commit fb81ec6

Browse files
committed
Migrations Guide in now a DocC article
1 parent 1be868c commit fb81ec6

File tree

16 files changed

+326
-375
lines changed

16 files changed

+326
-375
lines changed

Documentation/AssociationsBasics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2963,7 +2963,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
29632963
[Further Refinements to Associations]: #further-refinements-to-associations
29642964
[The Types of Associations]: #the-types-of-associations
29652965
[FetchableRecord]: ../README.md#fetchablerecord-protocols
2966-
[migration]: Migrations.md
2966+
[migration]: http://groue.github.io/GRDB.swift/docs/6.3/documentation/grdb/migrations
29672967
[Record]: ../README.md#records
29682968
[Foreign Key Actions]: https://sqlite.org/foreignkeys.html#fk_actions
29692969
[Associations and the Database Schema]: #associations-and-the-database-schema

Documentation/Combine.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ let cancellable = hallOfFamePublisher.sink(
398398
[`readPublisher(receiveOn:value:)`]: #databasereaderreadpublisherreceiveonvalue
399399
[`writePublisher(receiveOn:updates:)`]: #databasewriterwritepublisherreceiveonupdates
400400
[`writePublisher(receiveOn:updates:thenRead:)`]: #databasewriterwritepublisherreceiveonupdatesthenread
401-
[`migratePublisher(_:receiveOn:)`]: Migrations.md#asynchronous-migrations
401+
[`migratePublisher(_:receiveOn:)`]: http://groue.github.io/GRDB.swift/docs/6.3/documentation/grdb/databasemigrator/migratepublisher(_:receiveon:)
402402
[configured]: ../README.md#databasepool-configuration
403403
[database pool]: ../README.md#database-pools
404404
[database queue]: ../README.md#database-queues

Documentation/DemoApps/GRDBAsyncDemo/GRDBAsyncDemo/AppDatabase.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ struct AppDatabase {
2222

2323
/// The DatabaseMigrator that defines the database schema.
2424
///
25-
/// See <https://github.com/groue/GRDB.swift/blob/master/Documentation/Migrations.md>
25+
/// See <http://groue.github.io/GRDB.swift/docs/6.3/documentation/grdb/migrations>
2626
private var migrator: DatabaseMigrator {
2727
var migrator = DatabaseMigrator()
2828

2929
#if DEBUG
3030
// Speed up development by nuking the database when migrations change
31-
// See https://github.com/groue/GRDB.swift/blob/master/Documentation/Migrations.md#the-erasedatabaseonschemachange-option
31+
// See <http://groue.github.io/GRDB.swift/docs/6.3/documentation/grdb/migrations>
3232
migrator.eraseDatabaseOnSchemaChange = true
3333
#endif
3434

Documentation/DemoApps/GRDBAsyncDemo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The topics covered in this demo are:
2525

2626
- [AppDatabase.swift](GRDBAsyncDemo/AppDatabase.swift)
2727

28-
`AppDatabase` is the type that grants database access. It uses [DatabaseMigrator](../../Migrations.md) in order to setup the database schema.
28+
`AppDatabase` is the type that grants database access. It uses [DatabaseMigrator](http://groue.github.io/GRDB.swift/docs/6.3/documentation/grdb/databasemigrator) in order to setup the database schema.
2929

3030
- [Persistence.swift](GRDBAsyncDemo/Persistence.swift)
3131

Documentation/DemoApps/GRDBCombineDemo/GRDBCombineDemo/AppDatabase.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ struct AppDatabase {
2323

2424
/// The DatabaseMigrator that defines the database schema.
2525
///
26-
/// See <https://github.com/groue/GRDB.swift/blob/master/Documentation/Migrations.md>
26+
/// See <http://groue.github.io/GRDB.swift/docs/6.3/documentation/grdb/migrations>
2727
private var migrator: DatabaseMigrator {
2828
var migrator = DatabaseMigrator()
2929

3030
#if DEBUG
3131
// Speed up development by nuking the database when migrations change
32-
// See https://github.com/groue/GRDB.swift/blob/master/Documentation/Migrations.md#the-erasedatabaseonschemachange-option
32+
// See <http://groue.github.io/GRDB.swift/docs/6.3/documentation/grdb/migrations>
3333
migrator.eraseDatabaseOnSchemaChange = true
3434
#endif
3535

Documentation/DemoApps/GRDBCombineDemo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The topics covered in this demo are:
2525

2626
- [AppDatabase.swift](GRDBCombineDemo/AppDatabase.swift)
2727

28-
`AppDatabase` is the type that grants database access. It uses [DatabaseMigrator](../../Migrations.md) in order to setup the database schema.
28+
`AppDatabase` is the type that grants database access. It uses [DatabaseMigrator](http://groue.github.io/GRDB.swift/docs/6.3/documentation/grdb/databasemigrator) in order to setup the database schema.
2929

3030
- [Persistence.swift](GRDBCombineDemo/Persistence.swift)
3131

Documentation/DemoApps/GRDBDemoiOS/GRDBDemoiOS/AppDatabase.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ final class AppDatabase {
2121

2222
/// The DatabaseMigrator that defines the database schema.
2323
///
24-
/// See <https://github.com/groue/GRDB.swift/blob/master/Documentation/Migrations.md>
24+
/// See <http://groue.github.io/GRDB.swift/docs/6.3/documentation/grdb/migrations>
2525
private var migrator: DatabaseMigrator {
2626
var migrator = DatabaseMigrator()
2727

2828
#if DEBUG
2929
// Speed up development by nuking the database when migrations change
30-
// See https://github.com/groue/GRDB.swift/blob/master/Documentation/Migrations.md#the-erasedatabaseonschemachange-option
30+
// See <http://groue.github.io/GRDB.swift/docs/6.3/documentation/grdb/migrations>
3131
migrator.eraseDatabaseOnSchemaChange = true
3232
#endif
3333

Documentation/DemoApps/GRDBDemoiOS/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The topics covered in this demo are:
2020

2121
- [AppDatabase.swift](GRDBDemoiOS/AppDatabase.swift)
2222

23-
`AppDatabase` is the type that grants database access. It uses [DatabaseMigrator](../../Migrations.md) in order to setup the database schema, and [ValueObservation](../../../README.md#valueobservation) in order to let the application observe database changes.
23+
`AppDatabase` is the type that grants database access. It uses [DatabaseMigrator](http://groue.github.io/GRDB.swift/docs/6.3/documentation/grdb/databasemigrator) in order to setup the database schema, and [ValueObservation](../../../README.md#valueobservation) in order to let the application observe database changes.
2424

2525
- [Persistence.swift](GRDBDemoiOS/Persistence.swift)
2626

Documentation/GoodPracticesForDesigningRecordTypes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -804,8 +804,8 @@ Instead, have a look at [Database Observation]:
804804
[Divide and Conquer]: https://en.wikipedia.org/wiki/Divide_and_rule
805805
[Why Adopt GRDB?]: WhyAdoptGRDB.md
806806
[isolation]: https://en.wikipedia.org/wiki/Isolation_(database_systems)
807-
[migrations]: Migrations.md
808-
[migration]: Migrations.md
807+
[migrations]: http://groue.github.io/GRDB.swift/docs/6.3/documentation/grdb/migrations
808+
[migration]: http://groue.github.io/GRDB.swift/docs/6.3/documentation/grdb/migrations
809809
[Foreign Key Actions]: https://sqlite.org/foreignkeys.html#fk_actions
810810
[Concurrency Guide]: Concurrency.md
811811
[GRDB concurrency rules]: Concurrency.md#concurrency-rules

0 commit comments

Comments
 (0)