From 0322537b637ba4e8a59f9d1b232abf4fac9da412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 2 May 2020 05:42:33 +0200 Subject: [PATCH] [skip travis] Fix inner links --- Documentation/Migrations.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/Migrations.md b/Documentation/Migrations.md index de0b8d8f4..3042ae81b 100644 --- a/Documentation/Migrations.md +++ b/Documentation/Migrations.md @@ -4,7 +4,7 @@ Migrations run in order, once and only once. When a user upgrades your application, only non-applied migrations are run. -Inside each migration, you typically [define and update your database tables](#database-schema) according to your evolving application needs: +Inside each migration, you typically [define and update your database tables](../README.md#database-schema) according to your evolving application needs: ```swift var migrator = DatabaseMigrator() @@ -32,7 +32,7 @@ migrator.registerMigration("v2") { db in **Each migration runs in a separate transaction.** Should one throw an error, its transaction is rollbacked, subsequent migrations do not run, and the error is eventually thrown by `migrator.migrate(dbQueue)`. **Migrations run with deferred foreign key checks,** starting SQLite 3.7.16+ (iOS 9.0+ / -+ / tvOS 9.0+ / watchOS 2.0+ / [custom SQLite build] / [SQLCipher](#encryption)). This means that eventual foreign key violations are only checked at the end of the migration (and they make the migration fail). ++ / tvOS 9.0+ / watchOS 2.0+ / [custom SQLite build] / [SQLCipher](../README.md#encryption)). This means that eventual foreign key violations are only checked at the end of the migration (and they make the migration fail). **The memory of applied migrations is stored in the database itself** (in a reserved table).