Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/reminder-worker/wrangler.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{
"binding": "DB",
"database_name": "kanban-db",
"database_id": "replace-with-production-database-id",
"database_id": "5f20a0e8-27aa-46dd-9b4a-aee7ae1a5e9c",
"migrations_dir": "../../packages/db/migrations",
},
],
Expand Down
4 changes: 2 additions & 2 deletions apps/web/wrangler.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
"binding": "DB",
"database_name": "kanban-db",
"database_id": "replace-with-production-database-id",
"database_id": "5f20a0e8-27aa-46dd-9b4a-aee7ae1a5e9c",
"migrations_dir": "../../packages/db/migrations",
},
],
Expand Down Expand Up @@ -56,7 +56,7 @@
{
"binding": "DB",
"database_name": "kanban-db-preview",
"database_id": "replace-with-preview-database-id",
"database_id": "3e03d55d-c10d-46fc-8014-9adcec53b7b2",
"migrations_dir": "../../packages/db/migrations",
},
],
Expand Down
2 changes: 1 addition & 1 deletion docs/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pnpm exec wrangler r2 bucket create kanban-files-preview
pnpm exec wrangler queues create kanban-notifications-preview
```

`database_id` を書く場所 (いまは `replace-with-…` になっている):
`database_id` を書く場所 (ut-code のアカウントに作成済みで、書き込み済み):

- `apps/web/wrangler.jsonc` の `d1_databases` (本番) と `env.preview.d1_databases` (プレビュー)
- `apps/reminder-worker/wrangler.jsonc` の `d1_databases` (本番。リマインドの対象を探すため、Web と同じ DB を指す)
Expand Down
Loading