在 .env.example 的 AWS_* 區塊與 MigrateStorageToS3 command 加上 TODO(2026-08-03) 註解,說明目前功能已實作但因缺帳號未啟用,直接在 code 裡就看得到狀態,不用另外翻 openspec 文件。 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011LpcY9b7y9x4fusHBTXciQ
This commit is contained in:
@@ -56,6 +56,9 @@ MAIL_ENCRYPTION=null
|
||||
MAIL_FROM_ADDRESS="hello@example.com"
|
||||
MAIL_FROM_NAME="${APP_NAME}"
|
||||
|
||||
# TODO(2026-08-03): 尚未申請 S3 相容服務帳號,以下 AWS_* 僅供未來啟用 FILESYSTEM_DISK=s3
|
||||
# 時填入,目前留空不影響任何功能(public disk 走 local)。詳見
|
||||
# openspec/changes/cloud-ready-s3-storage/tasks.md 第 4-6 組。
|
||||
AWS_ACCESS_KEY_ID=
|
||||
AWS_SECRET_ACCESS_KEY=
|
||||
AWS_DEFAULT_REGION=us-east-1
|
||||
|
||||
@@ -6,6 +6,9 @@ use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use Throwable;
|
||||
|
||||
// TODO(2026-08-03): 尚未申請 S3 相容服務帳號,此指令目前無法在正式環境執行
|
||||
// (會因缺少 AWS_* credentials 連線失敗)。待 R2 帳號建立後才會實際使用,
|
||||
// 見 openspec/changes/cloud-ready-s3-storage/tasks.md 第 4-6 組。
|
||||
class MigrateStorageToS3 extends Command
|
||||
{
|
||||
protected $signature = 'storage:migrate-to-s3
|
||||
|
||||
Reference in New Issue
Block a user