Commit b3b0bd5
authored
fix: Connect seed-dev demo operator seeder to identity database (#2144)
seedDemoOperator used DATABASE_URL directly, which points to
meridian_platform. The identity repository needs meridian_identity
where the org_<tenant> schemas contain the identity tables.
Derive the identity DSN from DATABASE_URL by replacing the database
component, matching how the main binary routes per-service
connections via ServiceDatabases.
Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>1 parent 98230f2 commit b3b0bd5
1 file changed
Lines changed: 23 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
400 | 401 | | |
401 | 402 | | |
402 | 403 | | |
403 | | - | |
404 | | - | |
| 404 | + | |
| 405 | + | |
405 | 406 | | |
406 | 407 | | |
407 | 408 | | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
408 | 418 | | |
409 | | - | |
| 419 | + | |
410 | 420 | | |
411 | 421 | | |
412 | 422 | | |
| |||
426 | 436 | | |
427 | 437 | | |
428 | 438 | | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
0 commit comments