From 541ab58aa06b1ebea4a7e55fc90d7687da99e8e5 Mon Sep 17 00:00:00 2001 From: Lemo-nade-room Date: Wed, 18 Jun 2025 22:12:50 +0900 Subject: [PATCH] Update Japanese translation for fluent/overview.ja.md - Update internal links to use relative paths without .ja.md extension - Follow documentation linking convention --- docs/fluent/overview.ja.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/fluent/overview.ja.md b/docs/fluent/overview.ja.md index 9bf0683e..2fcbaa5f 100644 --- a/docs/fluent/overview.ja.md +++ b/docs/fluent/overview.ja.md @@ -286,7 +286,7 @@ init(id: UUID? = nil, name: String) { ```swift struct CreateGalaxy: AsyncMigration { // Galaxy モデルを格納するためのデータベースの準備 - func prepare(on database: Database) async throws { + func prepare(on database: any Database) async throws { try await database.schema("galaxies") .id() .field("name", .string) @@ -294,7 +294,7 @@ struct CreateGalaxy: AsyncMigration { } // 必要に応じて、prepare メソッドで行った変更を元に戻します - func revert(on database: Database) async throws { + func revert(on database: any Database) async throws { try await database.schema("galaxies").delete() } } @@ -478,7 +478,7 @@ self.$galaxy.id = galaxyID ```swift struct CreateStar: AsyncMigration { // Star モデルを格納するためのデータベースの準備 - func prepare(on database: Database) async throws { + func prepare(on database: any Database) async throws { try await database.schema("stars") .id() .field("name", .string) @@ -487,7 +487,7 @@ struct CreateStar: AsyncMigration { } // 必要に応じて、prepare メソッドで行った変更を元に戻します - func revert(on database: Database) async throws { + func revert(on database: any Database) async throws { try await database.schema("stars").delete() } }