Skip to content

Commit ffdc446

Browse files
committed
定期更新直後に修正2件。対応。
1 parent e88beef commit ffdc446

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

original-en/filesystem.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The `local` driver interacts with files stored locally on the server running the
4343
<a name="the-local-driver"></a>
4444
### The Local Driver
4545

46-
When using the `local` driver, all file operations are relative to the `root` directory defined in your `filesystems` configuration file. By default, this value is set to the `storage/app` directory. Therefore, the following method would write to `storage/app/example.txt`:
46+
When using the `local` driver, all file operations are relative to the `root` directory defined in your `filesystems` configuration file. By default, this value is set to the `storage/app/private` directory. Therefore, the following method would write to `storage/app/private/example.txt`:
4747

4848
use Illuminate\Support\Facades\Storage;
4949

@@ -54,7 +54,7 @@ When using the `local` driver, all file operations are relative to the `root` di
5454

5555
The `public` disk included in your application's `filesystems` configuration file is intended for files that are going to be publicly accessible. By default, the `public` disk uses the `local` driver and stores its files in `storage/app/public`.
5656

57-
To make these files accessible from the web, you should create a symbolic link from source directory `storage/app/public` to target directory `public/storage`. Utilizing this folder convention will keep your publicly accessible files in one directory that can be easily shared across deployments when using zero down-time deployment systems like [Envoyer](https://envoyer.io).
57+
If your `public` disk uses the `local` driver and you want to make these files accessible from the web, you should create a symbolic link from source directory `storage/app/public` to target directory `public/storage`:
5858

5959
To create the symbolic link, you may use the `storage:link` Artisan command:
6060

original-en/migrations.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,13 +638,17 @@ The `json` method creates a `JSON` equivalent column:
638638

639639
$table->json('options');
640640

641+
When using SQLite, a `TEXT` column will be created.
642+
641643
<a name="column-method-jsonb"></a>
642644
#### `jsonb()` {.collection-method}
643645

644646
The `jsonb` method creates a `JSONB` equivalent column:
645647

646648
$table->jsonb('options');
647649

650+
When using SQLite, a `TEXT` column will be created.
651+
648652
<a name="column-method-longText"></a>
649653
#### `longText()` {.collection-method}
650654

translation-ja/filesystem.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Laravelのファイルシステム設定ファイルは`config/filesystems.php`
4343
<a name="the-local-driver"></a>
4444
### ローカルドライバ
4545

46-
`local`ドライバを使用する場合、すべてのファイル操作は、`filesystems`設定ファイルで定義した`root`ディレクトリからの相対位置です。デフォルトでは、この値は`storage/app`ディレクトリに設定されています。したがって、次のメソッドは`storage/app/example.txt`に書き込みます
46+
`local`ドライバを使用する場合、すべてのファイル操作は、`filesystems`設定ファイルで定義した`root`ディレクトリからの相対位置です。デフォルトでは、この値は`storage/app/private`ディレクトリに設定されています。したがって、以下のメソッドは`storage/app/private/example.txt`へ書き込みます
4747

4848
use Illuminate\Support\Facades\Storage;
4949

@@ -54,7 +54,7 @@ Laravelのファイルシステム設定ファイルは`config/filesystems.php`
5454

5555
アプリケーションの`filesystems`設定ファイルに含まれている`public`ディスクは、パブリックに公開してアクセスできるようにするファイルを対象としています。デフォルトでは、`public`ディスクは`local`ドライバを使用し、そのファイルを`storage/app/public`に保存します。
5656

57-
これらのファイルにWebからアクセスできるようにするには、`storage/app/public`ソースディレクトリから`public/storage`ターゲットディレクトリへのシンボリックリンクを作成する必要があります。このフォルダ規約を利用すると、[Envoyer](https://envoyer.io)のようなダウンタイムゼロのデプロイメントシステムを使用する場合に、パブリックにアクセス可能なファイルを1つのディレクトリに保持し、デプロイメント間で簡単に共有できます
57+
`public`ディスクが`local`ドライバを使用しており、これらのファイルにウェブからアクセスできるようにしたい場合は、ソースディレクトリ`storage/app/public`からターゲットディレクトリ`public/storage`へ、シンボリックリンクを作成する必要があります
5858

5959
シンボリックリンクを作成するには、`storage:link` Artisanコマンドを使用できます。
6060

translation-ja/migrations.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,13 +638,17 @@ PostgreSQLを使用する場合、`INET`カラムが作成されます。
638638

639639
$table->json('options');
640640

641+
SQLite使用時は、`TEXT`カラムを作成します。
642+
641643
<a name="column-method-jsonb"></a>
642644
#### `jsonb()` {.collection-method}
643645

644646
`jsonb`メソッドは`JSONB`カラムを作成します。
645647

646648
$table->jsonb('options');
647649

650+
SQLite使用時は、`TEXT`カラムを作成します。
651+
648652
<a name="column-method-longText"></a>
649653
#### `longText()` {.collection-method}
650654

0 commit comments

Comments
 (0)