Commit b22266a
committed
feat: add app_id to github_repo_connections for app-scoped repo linking
Each app now has its own GitHub repo connection (UNIQUE(app_id)) instead
of one connection per project. Drizzle relations updated accordingly:
apps.githubRepoConnection (one), projects.githubRepoConnections (many).1 parent 1bb80b5 commit b22266a
File tree
10 files changed
+39
-57
lines changed- pkg/db
- queries
- web/internal/db/src/schema
10 files changed
+39
-57
lines changedLines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | 382 | | |
413 | 383 | | |
414 | 384 | | |
| |||
433 | 403 | | |
434 | 404 | | |
435 | 405 | | |
436 | | - | |
437 | | - | |
438 | 406 | | |
439 | | - | |
440 | 407 | | |
441 | 408 | | |
442 | 409 | | |
| |||
538 | 505 | | |
539 | 506 | | |
540 | 507 | | |
541 | | - | |
| 508 | + | |
542 | 509 | | |
543 | 510 | | |
544 | 511 | | |
| |||
572 | 539 | | |
573 | 540 | | |
574 | 541 | | |
575 | | - | |
| 542 | + | |
576 | 543 | | |
577 | 544 | | |
578 | 545 | | |
| |||
681 | 648 | | |
682 | 649 | | |
683 | 650 | | |
684 | | - | |
| 651 | + | |
685 | 652 | | |
686 | 653 | | |
687 | 654 | | |
| |||
712 | 679 | | |
713 | 680 | | |
714 | 681 | | |
715 | | - | |
| 682 | + | |
716 | 683 | | |
717 | 684 | | |
718 | 685 | | |
| |||
737 | 704 | | |
738 | 705 | | |
739 | 706 | | |
| 707 | + | |
740 | 708 | | |
741 | 709 | | |
742 | 710 | | |
743 | 711 | | |
744 | 712 | | |
745 | 713 | | |
746 | | - | |
| 714 | + | |
747 | 715 | | |
748 | 716 | | |
749 | 717 | | |
750 | 718 | | |
751 | 719 | | |
752 | 720 | | |
753 | 721 | | |
754 | | - | |
| 722 | + | |
755 | 723 | | |
756 | 724 | | |
757 | 725 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
44 | 49 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | | - | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
43 | 49 | | |
44 | 50 | | |
45 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | 21 | | |
25 | | - | |
26 | 22 | | |
27 | 23 | | |
28 | 24 | | |
| |||
35 | 31 | | |
36 | 32 | | |
37 | 33 | | |
| 34 | + | |
38 | 35 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 36 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 37 | + | |
49 | 38 | | |
0 commit comments