Skip to content

Commit 82cb467

Browse files
docs: fix StartOptions and table count in v2 migration guide
- Replace non-existent StartOptions::new() with new StartOptions() in the post-upgrade verification example (P0 blocker #319). - Correct base-migration count from 19 to 24 to match v2 schema (#320). Closes #319 Closes #320 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 7baca1c commit 82cb467

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/migration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ use Workflow\V2\WorkflowStub;
155155
use Workflow\V2\StartOptions;
156156

157157
$workflow = WorkflowStub::make(TestWorkflow::class, 'test-upgrade');
158-
$runId = $workflow->start(['test' => true], StartOptions::new());
158+
$runId = $workflow->start(['test' => true], new StartOptions());
159159
```
160160

161161
Check that:
@@ -400,7 +400,7 @@ composer update durable-workflow/workflow
400400
php artisan migrate
401401
```
402402

403-
The 2.0.0 release includes 19 clean base table migrations. If you previously published migration files, you may need to publish the new ones or switch to auto-loaded migrations.
403+
The 2.0.0 release includes 24 clean base table migrations. If you previously published migration files, you may need to publish the new ones or switch to auto-loaded migrations.
404404

405405
### Backend capability check
406406

0 commit comments

Comments
 (0)