add pull request reviews33b6bc916 days ago4727 lines · 121.4 KB | 1 | { |
| 2 | "id": "52e81f19-be44-4e2d-a5f8-20bd5493adf2", |
| 3 | "prevId": |
| 4 | "version": |
| 5 | "dialect": |
| 6 | "tables": |
| 7 | "public.account": |
| 8 | "name": |
| 9 | "schema": |
| 10 | "columns": |
| 11 | "id": |
| 12 | "name": |
| 13 | "type": |
| 14 | "primaryKey": |
| 15 | "notNull": |
| 16 | }, |
| 17 | "account_id": |
| 18 | "name": |
| 19 | "type": |
| 20 | "primaryKey": |
| 21 | "notNull": |
| 22 | }, |
| 23 | "provider_id": |
| 24 | "name": |
| 25 | "type": |
| 26 | "primaryKey": |
| 27 | "notNull": |
| 28 | }, |
| 29 | "user_id": |
| 30 | "name": |
| 31 | "type": |
| 32 | "primaryKey": |
| 33 | "notNull": |
| 34 | }, |
| 35 | "access_token": |
| 36 | "name": |
| 37 | "type": |
| 38 | "primaryKey": |
| 39 | "notNull": |
| 40 | }, |
| 41 | "refresh_token": |
| 42 | "name": |
| 43 | "type": |
| 44 | "primaryKey": |
| 45 | "notNull": |
| 46 | }, |
| 47 | "id_token": |
| 48 | "name": |
| 49 | "type": |
| 50 | "primaryKey": |
| 51 | "notNull": |
| 52 | }, |
| 53 | "access_token_expires_at": |
| 54 | "name": |
| 55 | "type": |
| 56 | "primaryKey": |
| 57 | "notNull": |
| 58 | }, |
| 59 | "refresh_token_expires_at": |
| 60 | "name": |
| 61 | "type": |
| 62 | "primaryKey": |
| 63 | "notNull": |
| 64 | }, |
| 65 | "scope": |
| 66 | "name": |
| 67 | "type": |
| 68 | "primaryKey": |
| 69 | "notNull": |
| 70 | }, |
| 71 | "issuer": |
| 72 | "name": |
| 73 | "type": |
| 74 | "primaryKey": |
| 75 | "notNull": |
| 76 | }, |
| 77 | "password": |
| 78 | "name": |
| 79 | "type": |
| 80 | "primaryKey": |
| 81 | "notNull": |
| 82 | }, |
| 83 | "created_at": |
| 84 | "name": |
| 85 | "type": |
| 86 | "primaryKey": |
| 87 | "notNull": |
| 88 | "default": |
| 89 | }, |
| 90 | "updated_at": |
| 91 | "name": |
| 92 | "type": |
| 93 | "primaryKey": |
| 94 | "notNull": |
| 95 | } |
| 96 | }, |
| 97 | "indexes": |
| 98 | "account_userId_idx": |
| 99 | "name": |
| 100 | "columns": |
| 101 | { |
| 102 | "expression": |
| 103 | "isExpression": |
| 104 | "asc": |
| 105 | "nulls": |
| 106 | } |
| 107 | ], |
| 108 | "isUnique": |
| 109 | "concurrently": |
| 110 | "method": |
| 111 | "with": |
| 112 | } |
| 113 | }, |
| 114 | "foreignKeys": |
| 115 | "account_user_id_user_id_fk": |
| 116 | "name": |
| 117 | "tableFrom": |
| 118 | "tableTo": |
| 119 | "columnsFrom": |
| 120 | "user_id" |
| 121 | ], |
| 122 | "columnsTo": |
| 123 | "id" |
| 124 | ], |
| 125 | "onDelete": |
| 126 | "onUpdate": |
| 127 | } |
| 128 | }, |
| 129 | "compositePrimaryKeys": |
| 130 | "uniqueConstraints": |
| 131 | "policies": |
| 132 | "checkConstraints": |
| 133 | "isRLSEnabled": |
| 134 | }, |
| 135 | "public.apikey": |
| 136 | "name": |
| 137 | "schema": |
| 138 | "columns": |
| 139 | "id": |
| 140 | "name": |
| 141 | "type": |
| 142 | "primaryKey": |
| 143 | "notNull": |
| 144 | }, |
| 145 | "config_id": |
| 146 | "name": |
| 147 | "type": |
| 148 | "primaryKey": |
| 149 | "notNull": |
| 150 | "default": |
| 151 | }, |
| 152 | "name": |
| 153 | "name": |
| 154 | "type": |
| 155 | "primaryKey": |
| 156 | "notNull": |
| 157 | }, |
| 158 | "start": |
| 159 | "name": |
| 160 | "type": |
| 161 | "primaryKey": |
| 162 | "notNull": |
| 163 | }, |
| 164 | "reference_id": |
| 165 | "name": |
| 166 | "type": |
| 167 | "primaryKey": |
| 168 | "notNull": |
| 169 | }, |
| 170 | "prefix": |
| 171 | "name": |
| 172 | "type": |
| 173 | "primaryKey": |
| 174 | "notNull": |
| 175 | }, |
| 176 | "key": |
| 177 | "name": |
| 178 | "type": |
| 179 | "primaryKey": |
| 180 | "notNull": |
| 181 | }, |
| 182 | "refill_interval": |
| 183 | "name": |
| 184 | "type": |
| 185 | "primaryKey": |
| 186 | "notNull": |
| 187 | }, |
| 188 | "refill_amount": |
| 189 | "name": |
| 190 | "type": |
| 191 | "primaryKey": |
| 192 | "notNull": |
| 193 | }, |
| 194 | "last_refill_at": |
| 195 | "name": |
| 196 | "type": |
| 197 | "primaryKey": |
| 198 | "notNull": |
| 199 | }, |
| 200 | "enabled": |
| 201 | "name": |
| 202 | "type": |
| 203 | "primaryKey": |
| 204 | "notNull": |
| 205 | "default": |
| 206 | }, |
| 207 | "rate_limit_enabled": |
| 208 | "name": |
| 209 | "type": |
| 210 | "primaryKey": |
| 211 | "notNull": |
| 212 | "default": |
| 213 | }, |
| 214 | "rate_limit_time_window": |
| 215 | "name": |
| 216 | "type": |
| 217 | "primaryKey": |
| 218 | "notNull": |
| 219 | "default": |
| 220 | }, |
| 221 | "rate_limit_max": |
| 222 | "name": |
| 223 | "type": |
| 224 | "primaryKey": |
| 225 | "notNull": |
| 226 | "default": |
| 227 | }, |
| 228 | "request_count": |
| 229 | "name": |
| 230 | "type": |
| 231 | "primaryKey": |
| 232 | "notNull": |
| 233 | "default": |
| 234 | }, |
| 235 | "remaining": |
| 236 | "name": |
| 237 | "type": |
| 238 | "primaryKey": |
| 239 | "notNull": |
| 240 | }, |
| 241 | "last_request": |
| 242 | "name": |
| 243 | "type": |
| 244 | "primaryKey": |
| 245 | "notNull": |
| 246 | }, |
| 247 | "expires_at": |
| 248 | "name": |
| 249 | "type": |
| 250 | "primaryKey": |
| 251 | "notNull": |
| 252 | }, |
| 253 | "created_at": |
| 254 | "name": |
| 255 | "type": |
| 256 | "primaryKey": |
| 257 | "notNull": |
| 258 | }, |
| 259 | "updated_at": |
| 260 | "name": |
| 261 | "type": |
| 262 | "primaryKey": |
| 263 | "notNull": |
| 264 | }, |
| 265 | "permissions": |
| 266 | "name": |
| 267 | "type": |
| 268 | "primaryKey": |
| 269 | "notNull": |
| 270 | }, |
| 271 | "metadata": |
| 272 | "name": |
| 273 | "type": |
| 274 | "primaryKey": |
| 275 | "notNull": |
| 276 | } |
| 277 | }, |
| 278 | "indexes": |
| 279 | "apikey_configId_idx": |
| 280 | "name": |
| 281 | "columns": |
| 282 | { |
| 283 | "expression": |
| 284 | "isExpression": |
| 285 | "asc": |
| 286 | "nulls": |
| 287 | } |
| 288 | ], |
| 289 | "isUnique": |
| 290 | "concurrently": |
| 291 | "method": |
| 292 | "with": |
| 293 | }, |
| 294 | "apikey_referenceId_idx": |
| 295 | "name": |
| 296 | "columns": |
| 297 | { |
| 298 | "expression": |
| 299 | "isExpression": |
| 300 | "asc": |
| 301 | "nulls": |
| 302 | } |
| 303 | ], |
| 304 | "isUnique": |
| 305 | "concurrently": |
| 306 | "method": |
| 307 | "with": |
| 308 | }, |
| 309 | "apikey_key_idx": |
| 310 | "name": |
| 311 | "columns": |
| 312 | { |
| 313 | "expression": |
| 314 | "isExpression": |
| 315 | "asc": |
| 316 | "nulls": |
| 317 | } |
| 318 | ], |
| 319 | "isUnique": |
| 320 | "concurrently": |
| 321 | "method": |
| 322 | "with": |
| 323 | } |
| 324 | }, |
| 325 | "foreignKeys": |
| 326 | "compositePrimaryKeys": |
| 327 | "uniqueConstraints": |
| 328 | "policies": |
| 329 | "checkConstraints": |
| 330 | "isRLSEnabled": |
| 331 | }, |
| 332 | "public.invitation": |
| 333 | "name": |
| 334 | "schema": |
| 335 | "columns": |
| 336 | "id": |
| 337 | "name": |
| 338 | "type": |
| 339 | "primaryKey": |
| 340 | "notNull": |
| 341 | }, |
| 342 | "organization_id": |
| 343 | "name": |
| 344 | "type": |
| 345 | "primaryKey": |
| 346 | "notNull": |
| 347 | }, |
| 348 | "email": |
| 349 | "name": |
| 350 | "type": |
| 351 | "primaryKey": |
| 352 | "notNull": |
| 353 | }, |
| 354 | "role": |
| 355 | "name": |
| 356 | "type": |
| 357 | "primaryKey": |
| 358 | "notNull": |
| 359 | }, |
| 360 | "team_id": |
| 361 | "name": |
| 362 | "type": |
| 363 | "primaryKey": |
| 364 | "notNull": |
| 365 | }, |
| 366 | "status": |
| 367 | "name": |
| 368 | "type": |
| 369 | "primaryKey": |
| 370 | "notNull": |
| 371 | "default": |
| 372 | }, |
| 373 | "expires_at": |
| 374 | "name": |
| 375 | "type": |
| 376 | "primaryKey": |
| 377 | "notNull": |
| 378 | }, |
| 379 | "created_at": |
| 380 | "name": |
| 381 | "type": |
| 382 | "primaryKey": |
| 383 | "notNull": |
| 384 | "default": |
| 385 | }, |
| 386 | "inviter_id": |
| 387 | "name": |
| 388 | "type": |
| 389 | "primaryKey": |
| 390 | "notNull": |
| 391 | } |
| 392 | }, |
| 393 | "indexes": |
| 394 | "invitation_organizationId_idx": |
| 395 | "name": |
| 396 | "columns": |
| 397 | { |
| 398 | "expression": |
| 399 | "isExpression": |
| 400 | "asc": |
| 401 | "nulls": |
| 402 | } |
| 403 | ], |
| 404 | "isUnique": |
| 405 | "concurrently": |
| 406 | "method": |
| 407 | "with": |
| 408 | }, |
| 409 | "invitation_email_idx": |
| 410 | "name": |
| 411 | "columns": |
| 412 | { |
| 413 | "expression": |
| 414 | "isExpression": |
| 415 | "asc": |
| 416 | "nulls": |
| 417 | } |
| 418 | ], |
| 419 | "isUnique": |
| 420 | "concurrently": |
| 421 | "method": |
| 422 | "with": |
| 423 | } |
| 424 | }, |
| 425 | "foreignKeys": |
| 426 | "invitation_organization_id_organization_id_fk": |
| 427 | "name": |
| 428 | "tableFrom": |
| 429 | "tableTo": |
| 430 | "columnsFrom": |
| 431 | "organization_id" |
| 432 | ], |
| 433 | "columnsTo": |
| 434 | "id" |
| 435 | ], |
| 436 | "onDelete": |
| 437 | "onUpdate": |
| 438 | }, |
| 439 | "invitation_inviter_id_user_id_fk": |
| 440 | "name": |
| 441 | "tableFrom": |
| 442 | "tableTo": |
| 443 | "columnsFrom": |
| 444 | "inviter_id" |
| 445 | ], |
| 446 | "columnsTo": |
| 447 | "id" |
| 448 | ], |
| 449 | "onDelete": |
| 450 | "onUpdate": |
| 451 | } |
| 452 | }, |
| 453 | "compositePrimaryKeys": |
| 454 | "uniqueConstraints": |
| 455 | "policies": |
| 456 | "checkConstraints": |
| 457 | "isRLSEnabled": |
| 458 | }, |
| 459 | "public.member": |
| 460 | "name": |
| 461 | "schema": |
| 462 | "columns": |
| 463 | "id": |
| 464 | "name": |
| 465 | "type": |
| 466 | "primaryKey": |
| 467 | "notNull": |
| 468 | }, |
| 469 | "organization_id": |
| 470 | "name": |
| 471 | "type": |
| 472 | "primaryKey": |
| 473 | "notNull": |
| 474 | }, |
| 475 | "user_id": |
| 476 | "name": |
| 477 | "type": |
| 478 | "primaryKey": |
| 479 | "notNull": |
| 480 | }, |
| 481 | "role": |
| 482 | "name": |
| 483 | "type": |
| 484 | "primaryKey": |
| 485 | "notNull": |
| 486 | "default": |
| 487 | }, |
| 488 | "created_at": |
| 489 | "name": |
| 490 | "type": |
| 491 | "primaryKey": |
| 492 | "notNull": |
| 493 | } |
| 494 | }, |
| 495 | "indexes": |
| 496 | "member_organizationId_idx": |
| 497 | "name": |
| 498 | "columns": |
| 499 | { |
| 500 | "expression": |
| 501 | "isExpression": |
| 502 | "asc": |
| 503 | "nulls": |
| 504 | } |
| 505 | ], |
| 506 | "isUnique": |
| 507 | "concurrently": |
| 508 | "method": |
| 509 | "with": |
| 510 | }, |
| 511 | "member_userId_idx": |
| 512 | "name": |
| 513 | "columns": |
| 514 | { |
| 515 | "expression": |
| 516 | "isExpression": |
| 517 | "asc": |
| 518 | "nulls": |
| 519 | } |
| 520 | ], |
| 521 | "isUnique": |
| 522 | "concurrently": |
| 523 | "method": |
| 524 | "with": |
| 525 | } |
| 526 | }, |
| 527 | "foreignKeys": |
| 528 | "member_organization_id_organization_id_fk": |
| 529 | "name": |
| 530 | "tableFrom": |
| 531 | "tableTo": |
| 532 | "columnsFrom": |
| 533 | "organization_id" |
| 534 | ], |
| 535 | "columnsTo": |
| 536 | "id" |
| 537 | ], |
| 538 | "onDelete": |
| 539 | "onUpdate": |
| 540 | }, |
| 541 | "member_user_id_user_id_fk": |
| 542 | "name": |
| 543 | "tableFrom": |
| 544 | "tableTo": |
| 545 | "columnsFrom": |
| 546 | "user_id" |
| 547 | ], |
| 548 | "columnsTo": |
| 549 | "id" |
| 550 | ], |
| 551 | "onDelete": |
| 552 | "onUpdate": |
| 553 | } |
| 554 | }, |
| 555 | "compositePrimaryKeys": |
| 556 | "uniqueConstraints": |
| 557 | "policies": |
| 558 | "checkConstraints": |
| 559 | "isRLSEnabled": |
| 560 | }, |
| 561 | "public.organization": |
| 562 | "name": |
| 563 | "schema": |
| 564 | "columns": |
| 565 | "id": |
| 566 | "name": |
| 567 | "type": |
| 568 | "primaryKey": |
| 569 | "notNull": |
| 570 | }, |
| 571 | "name": |
| 572 | "name": |
| 573 | "type": |
| 574 | "primaryKey": |
| 575 | "notNull": |
| 576 | }, |
| 577 | "slug": |
| 578 | "name": |
| 579 | "type": |
| 580 | "primaryKey": |
| 581 | "notNull": |
| 582 | }, |
| 583 | "logo": |
| 584 | "name": |
| 585 | "type": |
| 586 | "primaryKey": |
| 587 | "notNull": |
| 588 | }, |
| 589 | "created_at": |
| 590 | "name": |
| 591 | "type": |
| 592 | "primaryKey": |
| 593 | "notNull": |
| 594 | }, |
| 595 | "metadata": |
| 596 | "name": |
| 597 | "type": |
| 598 | "primaryKey": |
| 599 | "notNull": |
| 600 | } |
| 601 | }, |
| 602 | "indexes": |
| 603 | "organization_slug_uidx": |
| 604 | "name": |
| 605 | "columns": |
| 606 | { |
| 607 | "expression": |
| 608 | "isExpression": |
| 609 | "asc": |
| 610 | "nulls": |
| 611 | } |
| 612 | ], |
| 613 | "isUnique": |
| 614 | "concurrently": |
| 615 | "method": |
| 616 | "with": |
| 617 | } |
| 618 | }, |
| 619 | "foreignKeys": |
| 620 | "compositePrimaryKeys": |
| 621 | "uniqueConstraints": |
| 622 | "organization_slug_unique": |
| 623 | "name": |
| 624 | "nullsNotDistinct": |
| 625 | "columns": |
| 626 | "slug" |
| 627 | ] |
| 628 | } |
| 629 | }, |
| 630 | "policies": |
| 631 | "checkConstraints": |
| 632 | "isRLSEnabled": |
| 633 | }, |
| 634 | "public.organization_role": |
| 635 | "name": |
| 636 | "schema": |
| 637 | "columns": |
| 638 | "id": |
| 639 | "name": |
| 640 | "type": |
| 641 | "primaryKey": |
| 642 | "notNull": |
| 643 | }, |
| 644 | "organization_id": |
| 645 | "name": |
| 646 | "type": |
| 647 | "primaryKey": |
| 648 | "notNull": |
| 649 | }, |
| 650 | "role": |
| 651 | "name": |
| 652 | "type": |
| 653 | "primaryKey": |
| 654 | "notNull": |
| 655 | }, |
| 656 | "permission": |
| 657 | "name": |
| 658 | "type": |
| 659 | "primaryKey": |
| 660 | "notNull": |
| 661 | }, |
| 662 | "created_at": |
| 663 | "name": |
| 664 | "type": |
| 665 | "primaryKey": |
| 666 | "notNull": |
| 667 | "default": |
| 668 | }, |
| 669 | "updated_at": |
| 670 | "name": |
| 671 | "type": |
| 672 | "primaryKey": |
| 673 | "notNull": |
| 674 | } |
| 675 | }, |
| 676 | "indexes": |
| 677 | "organizationRole_organizationId_idx": |
| 678 | "name": |
| 679 | "columns": |
| 680 | { |
| 681 | "expression": |
| 682 | "isExpression": |
| 683 | "asc": |
| 684 | "nulls": |
| 685 | } |
| 686 | ], |
| 687 | "isUnique": |
| 688 | "concurrently": |
| 689 | "method": |
| 690 | "with": |
| 691 | }, |
| 692 | "organizationRole_role_idx": |
| 693 | "name": |
| 694 | "columns": |
| 695 | { |
| 696 | "expression": |
| 697 | "isExpression": |
| 698 | "asc": |
| 699 | "nulls": |
| 700 | } |
| 701 | ], |
| 702 | "isUnique": |
| 703 | "concurrently": |
| 704 | "method": |
| 705 | "with": |
| 706 | } |
| 707 | }, |
| 708 | "foreignKeys": |
| 709 | "organization_role_organization_id_organization_id_fk": |
| 710 | "name": |
| 711 | "tableFrom": |
| 712 | "tableTo": |
| 713 | "columnsFrom": |
| 714 | "organization_id" |
| 715 | ], |
| 716 | "columnsTo": |
| 717 | "id" |
| 718 | ], |
| 719 | "onDelete": |
| 720 | "onUpdate": |
| 721 | } |
| 722 | }, |
| 723 | "compositePrimaryKeys": |
| 724 | "uniqueConstraints": |
| 725 | "policies": |
| 726 | "checkConstraints": |
| 727 | "isRLSEnabled": |
| 728 | }, |
| 729 | "public.session": |
| 730 | "name": |
| 731 | "schema": |
| 732 | "columns": |
| 733 | "id": |
| 734 | "name": |
| 735 | "type": |
| 736 | "primaryKey": |
| 737 | "notNull": |
| 738 | }, |
| 739 | "expires_at": |
| 740 | "name": |
| 741 | "type": |
| 742 | "primaryKey": |
| 743 | "notNull": |
| 744 | }, |
| 745 | "token": |
| 746 | "name": |
| 747 | "type": |
| 748 | "primaryKey": |
| 749 | "notNull": |
| 750 | }, |
| 751 | "created_at": |
| 752 | "name": |
| 753 | "type": |
| 754 | "primaryKey": |
| 755 | "notNull": |
| 756 | "default": |
| 757 | }, |
| 758 | "updated_at": |
| 759 | "name": |
| 760 | "type": |
| 761 | "primaryKey": |
| 762 | "notNull": |
| 763 | }, |
| 764 | "ip_address": |
| 765 | "name": |
| 766 | "type": |
| 767 | "primaryKey": |
| 768 | "notNull": |
| 769 | }, |
| 770 | "user_agent": |
| 771 | "name": |
| 772 | "type": |
| 773 | "primaryKey": |
| 774 | "notNull": |
| 775 | }, |
| 776 | "user_id": |
| 777 | "name": |
| 778 | "type": |
| 779 | "primaryKey": |
| 780 | "notNull": |
| 781 | }, |
| 782 | "active_organization_id": |
| 783 | "name": |
| 784 | "type": |
| 785 | "primaryKey": |
| 786 | "notNull": |
| 787 | }, |
| 788 | "active_team_id": |
| 789 | "name": |
| 790 | "type": |
| 791 | "primaryKey": |
| 792 | "notNull": |
| 793 | } |
| 794 | }, |
| 795 | "indexes": |
| 796 | "session_userId_idx": |
| 797 | "name": |
| 798 | "columns": |
| 799 | { |
| 800 | "expression": |
| 801 | "isExpression": |
| 802 | "asc": |
| 803 | "nulls": |
| 804 | } |
| 805 | ], |
| 806 | "isUnique": |
| 807 | "concurrently": |
| 808 | "method": |
| 809 | "with": |
| 810 | } |
| 811 | }, |
| 812 | "foreignKeys": |
| 813 | "session_user_id_user_id_fk": |
| 814 | "name": |
| 815 | "tableFrom": |
| 816 | "tableTo": |
| 817 | "columnsFrom": |
| 818 | "user_id" |
| 819 | ], |
| 820 | "columnsTo": |
| 821 | "id" |
| 822 | ], |
| 823 | "onDelete": |
| 824 | "onUpdate": |
| 825 | } |
| 826 | }, |
| 827 | "compositePrimaryKeys": |
| 828 | "uniqueConstraints": |
| 829 | "session_token_unique": |
| 830 | "name": |
| 831 | "nullsNotDistinct": |
| 832 | "columns": |
| 833 | "token" |
| 834 | ] |
| 835 | } |
| 836 | }, |
| 837 | "policies": |
| 838 | "checkConstraints": |
| 839 | "isRLSEnabled": |
| 840 | }, |
| 841 | "public.team": |
| 842 | "name": |
| 843 | "schema": |
| 844 | "columns": |
| 845 | "id": |
| 846 | "name": |
| 847 | "type": |
| 848 | "primaryKey": |
| 849 | "notNull": |
| 850 | }, |
| 851 | "name": |
| 852 | "name": |
| 853 | "type": |
| 854 | "primaryKey": |
| 855 | "notNull": |
| 856 | }, |
| 857 | "member_count": |
| 858 | "name": |
| 859 | "type": |
| 860 | "primaryKey": |
| 861 | "notNull": |
| 862 | "default": |
| 863 | }, |
| 864 | "organization_id": |
| 865 | "name": |
| 866 | "type": |
| 867 | "primaryKey": |
| 868 | "notNull": |
| 869 | }, |
| 870 | "created_at": |
| 871 | "name": |
| 872 | "type": |
| 873 | "primaryKey": |
| 874 | "notNull": |
| 875 | }, |
| 876 | "updated_at": |
| 877 | "name": |
| 878 | "type": |
| 879 | "primaryKey": |
| 880 | "notNull": |
| 881 | } |
| 882 | }, |
| 883 | "indexes": |
| 884 | "team_organizationId_idx": |
| 885 | "name": |
| 886 | "columns": |
| 887 | { |
| 888 | "expression": |
| 889 | "isExpression": |
| 890 | "asc": |
| 891 | "nulls": |
| 892 | } |
| 893 | ], |
| 894 | "isUnique": |
| 895 | "concurrently": |
| 896 | "method": |
| 897 | "with": |
| 898 | } |
| 899 | }, |
| 900 | "foreignKeys": |
| 901 | "team_organization_id_organization_id_fk": |
| 902 | "name": |
| 903 | "tableFrom": |
| 904 | "tableTo": |
| 905 | "columnsFrom": |
| 906 | "organization_id" |
| 907 | ], |
| 908 | "columnsTo": |
| 909 | "id" |
| 910 | ], |
| 911 | "onDelete": |
| 912 | "onUpdate": |
| 913 | } |
| 914 | }, |
| 915 | "compositePrimaryKeys": |
| 916 | "uniqueConstraints": |
| 917 | "policies": |
| 918 | "checkConstraints": |
| 919 | "isRLSEnabled": |
| 920 | }, |
| 921 | "public.team_member": |
| 922 | "name": |
| 923 | "schema": |
| 924 | "columns": |
| 925 | "id": |
| 926 | "name": |
| 927 | "type": |
| 928 | "primaryKey": |
| 929 | "notNull": |
| 930 | }, |
| 931 | "team_id": |
| 932 | "name": |
| 933 | "type": |
| 934 | "primaryKey": |
| 935 | "notNull": |
| 936 | }, |
| 937 | "user_id": |
| 938 | "name": |
| 939 | "type": |
| 940 | "primaryKey": |
| 941 | "notNull": |
| 942 | }, |
| 943 | "membership_key": |
| 944 | "name": |
| 945 | "type": |
| 946 | "primaryKey": |
| 947 | "notNull": |
| 948 | }, |
| 949 | "created_at": |
| 950 | "name": |
| 951 | "type": |
| 952 | "primaryKey": |
| 953 | "notNull": |
| 954 | } |
| 955 | }, |
| 956 | "indexes": |
| 957 | "teamMember_teamId_idx": |
| 958 | "name": |
| 959 | "columns": |
| 960 | { |
| 961 | "expression": |
| 962 | "isExpression": |
| 963 | "asc": |
| 964 | "nulls": |
| 965 | } |
| 966 | ], |
| 967 | "isUnique": |
| 968 | "concurrently": |
| 969 | "method": |
| 970 | "with": |
| 971 | }, |
| 972 | "teamMember_userId_idx": |
| 973 | "name": |
| 974 | "columns": |
| 975 | { |
| 976 | "expression": |
| 977 | "isExpression": |
| 978 | "asc": |
| 979 | "nulls": |
| 980 | } |
| 981 | ], |
| 982 | "isUnique": |
| 983 | "concurrently": |
| 984 | "method": |
| 985 | "with": |
| 986 | } |
| 987 | }, |
| 988 | "foreignKeys": |
| 989 | "team_member_team_id_team_id_fk": |
| 990 | "name": |
| 991 | "tableFrom": |
| 992 | "tableTo": |
| 993 | "columnsFrom": |
| 994 | "team_id" |
| 995 | ], |
| 996 | "columnsTo": |
| 997 | "id" |
| 998 | ], |
| 999 | "onDelete": |
| 1000 | "onUpdate": |
| 1001 | }, |
| 1002 | "team_member_user_id_user_id_fk": |
| 1003 | "name": |
| 1004 | "tableFrom": |
| 1005 | "tableTo": |
| 1006 | "columnsFrom": |
| 1007 | "user_id" |
| 1008 | ], |
| 1009 | "columnsTo": |
| 1010 | "id" |
| 1011 | ], |
| 1012 | "onDelete": |
| 1013 | "onUpdate": |
| 1014 | } |
| 1015 | }, |
| 1016 | "compositePrimaryKeys": |
| 1017 | "uniqueConstraints": |
| 1018 | "team_member_membership_key_unique": |
| 1019 | "name": |
| 1020 | "nullsNotDistinct": |
| 1021 | "columns": |
| 1022 | "membership_key" |
| 1023 | ] |
| 1024 | } |
| 1025 | }, |
| 1026 | "policies": |
| 1027 | "checkConstraints": |
| 1028 | "isRLSEnabled": |
| 1029 | }, |
| 1030 | "public.user": |
| 1031 | "name": |
| 1032 | "schema": |
| 1033 | "columns": |
| 1034 | "id": |
| 1035 | "name": |
| 1036 | "type": |
| 1037 | "primaryKey": |
| 1038 | "notNull": |
| 1039 | }, |
| 1040 | "name": |
| 1041 | "name": |
| 1042 | "type": |
| 1043 | "primaryKey": |
| 1044 | "notNull": |
| 1045 | }, |
| 1046 | "email": |
| 1047 | "name": |
| 1048 | "type": |
| 1049 | "primaryKey": |
| 1050 | "notNull": |
| 1051 | }, |
| 1052 | "email_verified": |
| 1053 | "name": |
| 1054 | "type": |
| 1055 | "primaryKey": |
| 1056 | "notNull": |
| 1057 | "default": |
| 1058 | }, |
| 1059 | "image": |
| 1060 | "name": |
| 1061 | "type": |
| 1062 | "primaryKey": |
| 1063 | "notNull": |
| 1064 | }, |
| 1065 | "created_at": |
| 1066 | "name": |
| 1067 | "type": |
| 1068 | "primaryKey": |
| 1069 | "notNull": |
| 1070 | "default": |
| 1071 | }, |
| 1072 | "updated_at": |
| 1073 | "name": |
| 1074 | "type": |
| 1075 | "primaryKey": |
| 1076 | "notNull": |
| 1077 | "default": |
| 1078 | }, |
| 1079 | "username": |
| 1080 | "name": |
| 1081 | "type": |
| 1082 | "primaryKey": |
| 1083 | "notNull": |
| 1084 | }, |
| 1085 | "display_username": |
| 1086 | "name": |
| 1087 | "type": |
| 1088 | "primaryKey": |
| 1089 | "notNull": |
| 1090 | } |
| 1091 | }, |
| 1092 | "indexes": |
| 1093 | "foreignKeys": |
| 1094 | "compositePrimaryKeys": |
| 1095 | "uniqueConstraints": |
| 1096 | "user_email_unique": |
| 1097 | "name": |
| 1098 | "nullsNotDistinct": |
| 1099 | "columns": |
| 1100 | "email" |
| 1101 | ] |
| 1102 | }, |
| 1103 | "user_username_unique": |
| 1104 | "name": |
| 1105 | "nullsNotDistinct": |
| 1106 | "columns": |
| 1107 | "username" |
| 1108 | ] |
| 1109 | } |
| 1110 | }, |
| 1111 | "policies": |
| 1112 | "checkConstraints": |
| 1113 | "isRLSEnabled": |
| 1114 | }, |
| 1115 | "public.user_email": |
| 1116 | "name": |
| 1117 | "schema": |
| 1118 | "columns": |
| 1119 | "id": |
| 1120 | "name": |
| 1121 | "type": |
| 1122 | "primaryKey": |
| 1123 | "notNull": |
| 1124 | }, |
| 1125 | "user_id": |
| 1126 | "name": |
| 1127 | "type": |
| 1128 | "primaryKey": |
| 1129 | "notNull": |
| 1130 | }, |
| 1131 | "email": |
| 1132 | "name": |
| 1133 | "type": |
| 1134 | "primaryKey": |
| 1135 | "notNull": |
| 1136 | }, |
| 1137 | "verified": |
| 1138 | "name": |
| 1139 | "type": |
| 1140 | "primaryKey": |
| 1141 | "notNull": |
| 1142 | "default": |
| 1143 | }, |
| 1144 | "token": |
| 1145 | "name": |
| 1146 | "type": |
| 1147 | "primaryKey": |
| 1148 | "notNull": |
| 1149 | }, |
| 1150 | "token_expires_at": |
| 1151 | "name": |
| 1152 | "type": |
| 1153 | "primaryKey": |
| 1154 | "notNull": |
| 1155 | }, |
| 1156 | "created_at": |
| 1157 | "name": |
| 1158 | "type": |
| 1159 | "primaryKey": |
| 1160 | "notNull": |
| 1161 | "default": |
| 1162 | } |
| 1163 | }, |
| 1164 | "indexes": |
| 1165 | "user_email_user_id_idx": |
| 1166 | "name": |
| 1167 | "columns": |
| 1168 | { |
| 1169 | "expression": |
| 1170 | "isExpression": |
| 1171 | "asc": |
| 1172 | "nulls": |
| 1173 | } |
| 1174 | ], |
| 1175 | "isUnique": |
| 1176 | "concurrently": |
| 1177 | "method": |
| 1178 | "with": |
| 1179 | } |
| 1180 | }, |
| 1181 | "foreignKeys": |
| 1182 | "user_email_user_id_user_id_fk": |
| 1183 | "name": |
| 1184 | "tableFrom": |
| 1185 | "tableTo": |
| 1186 | "columnsFrom": |
| 1187 | "user_id" |
| 1188 | ], |
| 1189 | "columnsTo": |
| 1190 | "id" |
| 1191 | ], |
| 1192 | "onDelete": |
| 1193 | "onUpdate": |
| 1194 | } |
| 1195 | }, |
| 1196 | "compositePrimaryKeys": |
| 1197 | "uniqueConstraints": |
| 1198 | "user_email_email_unique": |
| 1199 | "name": |
| 1200 | "nullsNotDistinct": |
| 1201 | "columns": |
| 1202 | "email" |
| 1203 | ] |
| 1204 | }, |
| 1205 | "user_email_token_unique": |
| 1206 | "name": |
| 1207 | "nullsNotDistinct": |
| 1208 | "columns": |
| 1209 | "token" |
| 1210 | ] |
| 1211 | } |
| 1212 | }, |
| 1213 | "policies": |
| 1214 | "checkConstraints": |
| 1215 | "isRLSEnabled": |
| 1216 | }, |
| 1217 | "public.user_gpg_key": |
| 1218 | "name": |
| 1219 | "schema": |
| 1220 | "columns": |
| 1221 | "id": |
| 1222 | "name": |
| 1223 | "type": |
| 1224 | "primaryKey": |
| 1225 | "notNull": |
| 1226 | }, |
| 1227 | "user_id": |
| 1228 | "name": |
| 1229 | "type": |
| 1230 | "primaryKey": |
| 1231 | "notNull": |
| 1232 | }, |
| 1233 | "key_id": |
| 1234 | "name": |
| 1235 | "type": |
| 1236 | "primaryKey": |
| 1237 | "notNull": |
| 1238 | }, |
| 1239 | "fingerprint": |
| 1240 | "name": |
| 1241 | "type": |
| 1242 | "primaryKey": |
| 1243 | "notNull": |
| 1244 | }, |
| 1245 | "public_key": |
| 1246 | "name": |
| 1247 | "type": |
| 1248 | "primaryKey": |
| 1249 | "notNull": |
| 1250 | }, |
| 1251 | "created_at": |
| 1252 | "name": |
| 1253 | "type": |
| 1254 | "primaryKey": |
| 1255 | "notNull": |
| 1256 | "default": |
| 1257 | } |
| 1258 | }, |
| 1259 | "indexes": |
| 1260 | "user_gpg_key_user_id_idx": |
| 1261 | "name": |
| 1262 | "columns": |
| 1263 | { |
| 1264 | "expression": |
| 1265 | "isExpression": |
| 1266 | "asc": |
| 1267 | "nulls": |
| 1268 | } |
| 1269 | ], |
| 1270 | "isUnique": |
| 1271 | "concurrently": |
| 1272 | "method": |
| 1273 | "with": |
| 1274 | } |
| 1275 | }, |
| 1276 | "foreignKeys": |
| 1277 | "user_gpg_key_user_id_user_id_fk": |
| 1278 | "name": |
| 1279 | "tableFrom": |
| 1280 | "tableTo": |
| 1281 | "columnsFrom": |
| 1282 | "user_id" |
| 1283 | ], |
| 1284 | "columnsTo": |
| 1285 | "id" |
| 1286 | ], |
| 1287 | "onDelete": |
| 1288 | "onUpdate": |
| 1289 | } |
| 1290 | }, |
| 1291 | "compositePrimaryKeys": |
| 1292 | "uniqueConstraints": |
| 1293 | "user_gpg_key_key_id_unique": |
| 1294 | "name": |
| 1295 | "nullsNotDistinct": |
| 1296 | "columns": |
| 1297 | "key_id" |
| 1298 | ] |
| 1299 | }, |
| 1300 | "user_gpg_key_fingerprint_unique": |
| 1301 | "name": |
| 1302 | "nullsNotDistinct": |
| 1303 | "columns": |
| 1304 | "fingerprint" |
| 1305 | ] |
| 1306 | } |
| 1307 | }, |
| 1308 | "policies": |
| 1309 | "checkConstraints": |
| 1310 | "isRLSEnabled": |
| 1311 | }, |
| 1312 | "public.user_ssh_key": |
| 1313 | "name": |
| 1314 | "schema": |
| 1315 | "columns": |
| 1316 | "id": |
| 1317 | "name": |
| 1318 | "type": |
| 1319 | "primaryKey": |
| 1320 | "notNull": |
| 1321 | }, |
| 1322 | "user_id": |
| 1323 | "name": |
| 1324 | "type": |
| 1325 | "primaryKey": |
| 1326 | "notNull": |
| 1327 | }, |
| 1328 | "title": |
| 1329 | "name": |
| 1330 | "type": |
| 1331 | "primaryKey": |
| 1332 | "notNull": |
| 1333 | }, |
| 1334 | "fingerprint": |
| 1335 | "name": |
| 1336 | "type": |
| 1337 | "primaryKey": |
| 1338 | "notNull": |
| 1339 | }, |
| 1340 | "public_key": |
| 1341 | "name": |
| 1342 | "type": |
| 1343 | "primaryKey": |
| 1344 | "notNull": |
| 1345 | }, |
| 1346 | "last_used_at": |
| 1347 | "name": |
| 1348 | "type": |
| 1349 | "primaryKey": |
| 1350 | "notNull": |
| 1351 | }, |
| 1352 | "created_at": |
| 1353 | "name": |
| 1354 | "type": |
| 1355 | "primaryKey": |
| 1356 | "notNull": |
| 1357 | "default": |
| 1358 | } |
| 1359 | }, |
| 1360 | "indexes": |
| 1361 | "user_ssh_key_user_id_idx": |
| 1362 | "name": |
| 1363 | "columns": |
| 1364 | { |
| 1365 | "expression": |
| 1366 | "isExpression": |
| 1367 | "asc": |
| 1368 | "nulls": |
| 1369 | } |
| 1370 | ], |
| 1371 | "isUnique": |
| 1372 | "concurrently": |
| 1373 | "method": |
| 1374 | "with": |
| 1375 | } |
| 1376 | }, |
| 1377 | "foreignKeys": |
| 1378 | "user_ssh_key_user_id_user_id_fk": |
| 1379 | "name": |
| 1380 | "tableFrom": |
| 1381 | "tableTo": |
| 1382 | "columnsFrom": |
| 1383 | "user_id" |
| 1384 | ], |
| 1385 | "columnsTo": |
| 1386 | "id" |
| 1387 | ], |
| 1388 | "onDelete": |
| 1389 | "onUpdate": |
| 1390 | } |
| 1391 | }, |
| 1392 | "compositePrimaryKeys": |
| 1393 | "uniqueConstraints": |
| 1394 | "user_ssh_key_fingerprint_unique": |
| 1395 | "name": |
| 1396 | "nullsNotDistinct": |
| 1397 | "columns": |
| 1398 | "fingerprint" |
| 1399 | ] |
| 1400 | } |
| 1401 | }, |
| 1402 | "policies": |
| 1403 | "checkConstraints": |
| 1404 | "isRLSEnabled": |
| 1405 | }, |
| 1406 | "public.verification": |
| 1407 | "name": |
| 1408 | "schema": |
| 1409 | "columns": |
| 1410 | "id": |
| 1411 | "name": |
| 1412 | "type": |
| 1413 | "primaryKey": |
| 1414 | "notNull": |
| 1415 | }, |
| 1416 | "identifier": |
| 1417 | "name": |
| 1418 | "type": |
| 1419 | "primaryKey": |
| 1420 | "notNull": |
| 1421 | }, |
| 1422 | "value": |
| 1423 | "name": |
| 1424 | "type": |
| 1425 | "primaryKey": |
| 1426 | "notNull": |
| 1427 | }, |
| 1428 | "expires_at": |
| 1429 | "name": |
| 1430 | "type": |
| 1431 | "primaryKey": |
| 1432 | "notNull": |
| 1433 | }, |
| 1434 | "created_at": |
| 1435 | "name": |
| 1436 | "type": |
| 1437 | "primaryKey": |
| 1438 | "notNull": |
| 1439 | "default": |
| 1440 | }, |
| 1441 | "updated_at": |
| 1442 | "name": |
| 1443 | "type": |
| 1444 | "primaryKey": |
| 1445 | "notNull": |
| 1446 | "default": |
| 1447 | } |
| 1448 | }, |
| 1449 | "indexes": |
| 1450 | "verification_identifier_idx": |
| 1451 | "name": |
| 1452 | "columns": |
| 1453 | { |
| 1454 | "expression": |
| 1455 | "isExpression": |
| 1456 | "asc": |
| 1457 | "nulls": |
| 1458 | } |
| 1459 | ], |
| 1460 | "isUnique": |
| 1461 | "concurrently": |
| 1462 | "method": |
| 1463 | "with": |
| 1464 | } |
| 1465 | }, |
| 1466 | "foreignKeys": |
| 1467 | "compositePrimaryKeys": |
| 1468 | "uniqueConstraints": |
| 1469 | "policies": |
| 1470 | "checkConstraints": |
| 1471 | "isRLSEnabled": |
| 1472 | }, |
| 1473 | "public.repository": |
| 1474 | "name": |
| 1475 | "schema": |
| 1476 | "columns": |
| 1477 | "id": |
| 1478 | "name": |
| 1479 | "type": |
| 1480 | "primaryKey": |
| 1481 | "notNull": |
| 1482 | }, |
| 1483 | "name": |
| 1484 | "name": |
| 1485 | "type": |
| 1486 | "primaryKey": |
| 1487 | "notNull": |
| 1488 | }, |
| 1489 | "slug": |
| 1490 | "name": |
| 1491 | "type": |
| 1492 | "primaryKey": |
| 1493 | "notNull": |
| 1494 | }, |
| 1495 | "description": |
| 1496 | "name": |
| 1497 | "type": |
| 1498 | "primaryKey": |
| 1499 | "notNull": |
| 1500 | }, |
| 1501 | "organizationId": |
| 1502 | "name": |
| 1503 | "type": |
| 1504 | "primaryKey": |
| 1505 | "notNull": |
| 1506 | }, |
| 1507 | "ownerId": |
| 1508 | "name": |
| 1509 | "type": |
| 1510 | "primaryKey": |
| 1511 | "notNull": |
| 1512 | }, |
| 1513 | "visibility": |
| 1514 | "name": |
| 1515 | "type": |
| 1516 | "typeSchema": |
| 1517 | "primaryKey": |
| 1518 | "notNull": |
| 1519 | "default": |
| 1520 | }, |
| 1521 | "defaultBranch": |
| 1522 | "name": |
| 1523 | "type": |
| 1524 | "primaryKey": |
| 1525 | "notNull": |
| 1526 | }, |
| 1527 | "lastPushedAt": |
| 1528 | "name": |
| 1529 | "type": |
| 1530 | "primaryKey": |
| 1531 | "notNull": |
| 1532 | "default": |
| 1533 | }, |
| 1534 | "parentRepositoryId": |
| 1535 | "name": |
| 1536 | "type": |
| 1537 | "primaryKey": |
| 1538 | "notNull": |
| 1539 | }, |
| 1540 | "createdAt": |
| 1541 | "name": |
| 1542 | "type": |
| 1543 | "primaryKey": |
| 1544 | "notNull": |
| 1545 | "default": |
| 1546 | }, |
| 1547 | "updatedAt": |
| 1548 | "name": |
| 1549 | "type": |
| 1550 | "primaryKey": |
| 1551 | "notNull": |
| 1552 | "default": |
| 1553 | } |
| 1554 | }, |
| 1555 | "indexes": |
| 1556 | "repository_org_slug_idx": |
| 1557 | "name": |
| 1558 | "columns": |
| 1559 | { |
| 1560 | "expression": |
| 1561 | "isExpression": |
| 1562 | "asc": |
| 1563 | "nulls": |
| 1564 | }, |
| 1565 | { |
| 1566 | "expression": |
| 1567 | "isExpression": |
| 1568 | "asc": |
| 1569 | "nulls": |
| 1570 | } |
| 1571 | ], |
| 1572 | "isUnique": |
| 1573 | "where": |
| 1574 | "concurrently": |
| 1575 | "method": |
| 1576 | "with": |
| 1577 | }, |
| 1578 | "repository_owner_slug_idx": |
| 1579 | "name": |
| 1580 | "columns": |
| 1581 | { |
| 1582 | "expression": |
| 1583 | "isExpression": |
| 1584 | "asc": |
| 1585 | "nulls": |
| 1586 | }, |
| 1587 | { |
| 1588 | "expression": |
| 1589 | "isExpression": |
| 1590 | "asc": |
| 1591 | "nulls": |
| 1592 | } |
| 1593 | ], |
| 1594 | "isUnique": |
| 1595 | "where": |
| 1596 | "concurrently": |
| 1597 | "method": |
| 1598 | "with": |
| 1599 | } |
| 1600 | }, |
| 1601 | "foreignKeys": |
| 1602 | "repository_organizationId_organization_id_fk": |
| 1603 | "name": |
| 1604 | "tableFrom": |
| 1605 | "tableTo": |
| 1606 | "columnsFrom": |
| 1607 | "organizationId" |
| 1608 | ], |
| 1609 | "columnsTo": |
| 1610 | "id" |
| 1611 | ], |
| 1612 | "onDelete": |
| 1613 | "onUpdate": |
| 1614 | }, |
| 1615 | "repository_ownerId_user_id_fk": |
| 1616 | "name": |
| 1617 | "tableFrom": |
| 1618 | "tableTo": |
| 1619 | "columnsFrom": |
| 1620 | "ownerId" |
| 1621 | ], |
| 1622 | "columnsTo": |
| 1623 | "id" |
| 1624 | ], |
| 1625 | "onDelete": |
| 1626 | "onUpdate": |
| 1627 | }, |
| 1628 | "repository_parentRepositoryId_repository_id_fk": |
| 1629 | "name": |
| 1630 | "tableFrom": |
| 1631 | "tableTo": |
| 1632 | "columnsFrom": |
| 1633 | "parentRepositoryId" |
| 1634 | ], |
| 1635 | "columnsTo": |
| 1636 | "id" |
| 1637 | ], |
| 1638 | "onDelete": |
| 1639 | "onUpdate": |
| 1640 | } |
| 1641 | }, |
| 1642 | "compositePrimaryKeys": |
| 1643 | "uniqueConstraints": |
| 1644 | "repository_id_unique": |
| 1645 | "name": |
| 1646 | "nullsNotDistinct": |
| 1647 | "columns": |
| 1648 | "id" |
| 1649 | ] |
| 1650 | } |
| 1651 | }, |
| 1652 | "policies": |
| 1653 | "checkConstraints": |
| 1654 | "isRLSEnabled": |
| 1655 | }, |
| 1656 | "public.repository_contribution": |
| 1657 | "name": |
| 1658 | "schema": |
| 1659 | "columns": |
| 1660 | "repository_id": |
| 1661 | "name": |
| 1662 | "type": |
| 1663 | "primaryKey": |
| 1664 | "notNull": |
| 1665 | }, |
| 1666 | "author_email": |
| 1667 | "name": |
| 1668 | "type": |
| 1669 | "primaryKey": |
| 1670 | "notNull": |
| 1671 | }, |
| 1672 | "day": |
| 1673 | "name": |
| 1674 | "type": |
| 1675 | "primaryKey": |
| 1676 | "notNull": |
| 1677 | }, |
| 1678 | "author_name": |
| 1679 | "name": |
| 1680 | "type": |
| 1681 | "primaryKey": |
| 1682 | "notNull": |
| 1683 | }, |
| 1684 | "author_id": |
| 1685 | "name": |
| 1686 | "type": |
| 1687 | "primaryKey": |
| 1688 | "notNull": |
| 1689 | }, |
| 1690 | "commits": |
| 1691 | "name": |
| 1692 | "type": |
| 1693 | "primaryKey": |
| 1694 | "notNull": |
| 1695 | "default": |
| 1696 | } |
| 1697 | }, |
| 1698 | "indexes": |
| 1699 | "foreignKeys": |
| 1700 | "repository_contribution_repository_id_repository_id_fk": |
| 1701 | "name": |
| 1702 | "tableFrom": |
| 1703 | "tableTo": |
| 1704 | "columnsFrom": |
| 1705 | "repository_id" |
| 1706 | ], |
| 1707 | "columnsTo": |
| 1708 | "id" |
| 1709 | ], |
| 1710 | "onDelete": |
| 1711 | "onUpdate": |
| 1712 | }, |
| 1713 | "repository_contribution_author_id_user_id_fk": |
| 1714 | "name": |
| 1715 | "tableFrom": |
| 1716 | "tableTo": |
| 1717 | "columnsFrom": |
| 1718 | "author_id" |
| 1719 | ], |
| 1720 | "columnsTo": |
| 1721 | "id" |
| 1722 | ], |
| 1723 | "onDelete": |
| 1724 | "onUpdate": |
| 1725 | } |
| 1726 | }, |
| 1727 | "compositePrimaryKeys": |
| 1728 | "repository_contribution_repository_id_author_email_day_pk": |
| 1729 | "name": |
| 1730 | "columns": |
| 1731 | "repository_id", |
| 1732 | "author_email", |
| 1733 | "day" |
| 1734 | ] |
| 1735 | } |
| 1736 | }, |
| 1737 | "uniqueConstraints": |
| 1738 | "policies": |
| 1739 | "checkConstraints": |
| 1740 | "isRLSEnabled": |
| 1741 | }, |
| 1742 | "public.repository_contribution_index": |
| 1743 | "name": |
| 1744 | "schema": |
| 1745 | "columns": |
| 1746 | "repository_id": |
| 1747 | "name": |
| 1748 | "type": |
| 1749 | "primaryKey": |
| 1750 | "notNull": |
| 1751 | }, |
| 1752 | "indexed_commit_sha": |
| 1753 | "name": |
| 1754 | "type": |
| 1755 | "primaryKey": |
| 1756 | "notNull": |
| 1757 | }, |
| 1758 | "updated_at": |
| 1759 | "name": |
| 1760 | "type": |
| 1761 | "primaryKey": |
| 1762 | "notNull": |
| 1763 | "default": |
| 1764 | } |
| 1765 | }, |
| 1766 | "indexes": |
| 1767 | "foreignKeys": |
| 1768 | "repository_contribution_index_repository_id_repository_id_fk": |
| 1769 | "name": |
| 1770 | "tableFrom": |
| 1771 | "tableTo": |
| 1772 | "columnsFrom": |
| 1773 | "repository_id" |
| 1774 | ], |
| 1775 | "columnsTo": |
| 1776 | "id" |
| 1777 | ], |
| 1778 | "onDelete": |
| 1779 | "onUpdate": |
| 1780 | } |
| 1781 | }, |
| 1782 | "compositePrimaryKeys": |
| 1783 | "repository_contribution_index_repository_id_pk": |
| 1784 | "name": |
| 1785 | "columns": |
| 1786 | "repository_id" |
| 1787 | ] |
| 1788 | } |
| 1789 | }, |
| 1790 | "uniqueConstraints": |
| 1791 | "policies": |
| 1792 | "checkConstraints": |
| 1793 | "isRLSEnabled": |
| 1794 | }, |
| 1795 | "public.repository_language_index": |
| 1796 | "name": |
| 1797 | "schema": |
| 1798 | "columns": |
| 1799 | "repositoryId": |
| 1800 | "name": |
| 1801 | "type": |
| 1802 | "primaryKey": |
| 1803 | "notNull": |
| 1804 | }, |
| 1805 | "ref": |
| 1806 | "name": |
| 1807 | "type": |
| 1808 | "primaryKey": |
| 1809 | "notNull": |
| 1810 | }, |
| 1811 | "indexedCommitSha": |
| 1812 | "name": |
| 1813 | "type": |
| 1814 | "primaryKey": |
| 1815 | "notNull": |
| 1816 | }, |
| 1817 | "updatedAt": |
| 1818 | "name": |
| 1819 | "type": |
| 1820 | "primaryKey": |
| 1821 | "notNull": |
| 1822 | "default": |
| 1823 | } |
| 1824 | }, |
| 1825 | "indexes": |
| 1826 | "foreignKeys": |
| 1827 | "repository_language_index_repositoryId_repository_id_fk": |
| 1828 | "name": |
| 1829 | "tableFrom": |
| 1830 | "tableTo": |
| 1831 | "columnsFrom": |
| 1832 | "repositoryId" |
| 1833 | ], |
| 1834 | "columnsTo": |
| 1835 | "id" |
| 1836 | ], |
| 1837 | "onDelete": |
| 1838 | "onUpdate": |
| 1839 | } |
| 1840 | }, |
| 1841 | "compositePrimaryKeys": |
| 1842 | "repository_language_index_repositoryId_ref_pk": |
| 1843 | "name": |
| 1844 | "columns": |
| 1845 | "repositoryId", |
| 1846 | "ref" |
| 1847 | ] |
| 1848 | } |
| 1849 | }, |
| 1850 | "uniqueConstraints": |
| 1851 | "policies": |
| 1852 | "checkConstraints": |
| 1853 | "isRLSEnabled": |
| 1854 | }, |
| 1855 | "public.repository_language_stat": |
| 1856 | "name": |
| 1857 | "schema": |
| 1858 | "columns": |
| 1859 | "repositoryId": |
| 1860 | "name": |
| 1861 | "type": |
| 1862 | "primaryKey": |
| 1863 | "notNull": |
| 1864 | }, |
| 1865 | "ref": |
| 1866 | "name": |
| 1867 | "type": |
| 1868 | "primaryKey": |
| 1869 | "notNull": |
| 1870 | }, |
| 1871 | "language": |
| 1872 | "name": |
| 1873 | "type": |
| 1874 | "primaryKey": |
| 1875 | "notNull": |
| 1876 | }, |
| 1877 | "bytes": |
| 1878 | "name": |
| 1879 | "type": |
| 1880 | "primaryKey": |
| 1881 | "notNull": |
| 1882 | } |
| 1883 | }, |
| 1884 | "indexes": |
| 1885 | "foreignKeys": |
| 1886 | "repository_language_stat_repositoryId_repository_id_fk": |
| 1887 | "name": |
| 1888 | "tableFrom": |
| 1889 | "tableTo": |
| 1890 | "columnsFrom": |
| 1891 | "repositoryId" |
| 1892 | ], |
| 1893 | "columnsTo": |
| 1894 | "id" |
| 1895 | ], |
| 1896 | "onDelete": |
| 1897 | "onUpdate": |
| 1898 | } |
| 1899 | }, |
| 1900 | "compositePrimaryKeys": |
| 1901 | "repository_language_stat_repositoryId_ref_language_pk": |
| 1902 | "name": |
| 1903 | "columns": |
| 1904 | "repositoryId", |
| 1905 | "ref", |
| 1906 | "language" |
| 1907 | ] |
| 1908 | } |
| 1909 | }, |
| 1910 | "uniqueConstraints": |
| 1911 | "policies": |
| 1912 | "checkConstraints": |
| 1913 | "isRLSEnabled": |
| 1914 | }, |
| 1915 | "public.repository_path_commit": |
| 1916 | "name": |
| 1917 | "schema": |
| 1918 | "columns": |
| 1919 | "repositoryId": |
| 1920 | "name": |
| 1921 | "type": |
| 1922 | "primaryKey": |
| 1923 | "notNull": |
| 1924 | }, |
| 1925 | "ref": |
| 1926 | "name": |
| 1927 | "type": |
| 1928 | "primaryKey": |
| 1929 | "notNull": |
| 1930 | }, |
| 1931 | "path": |
| 1932 | "name": |
| 1933 | "type": |
| 1934 | "primaryKey": |
| 1935 | "notNull": |
| 1936 | }, |
| 1937 | "commitSha": |
| 1938 | "name": |
| 1939 | "type": |
| 1940 | "primaryKey": |
| 1941 | "notNull": |
| 1942 | }, |
| 1943 | "committedAt": |
| 1944 | "name": |
| 1945 | "type": |
| 1946 | "primaryKey": |
| 1947 | "notNull": |
| 1948 | }, |
| 1949 | "subject": |
| 1950 | "name": |
| 1951 | "type": |
| 1952 | "primaryKey": |
| 1953 | "notNull": |
| 1954 | } |
| 1955 | }, |
| 1956 | "indexes": |
| 1957 | "foreignKeys": |
| 1958 | "repository_path_commit_repositoryId_repository_id_fk": |
| 1959 | "name": |
| 1960 | "tableFrom": |
| 1961 | "tableTo": |
| 1962 | "columnsFrom": |
| 1963 | "repositoryId" |
| 1964 | ], |
| 1965 | "columnsTo": |
| 1966 | "id" |
| 1967 | ], |
| 1968 | "onDelete": |
| 1969 | "onUpdate": |
| 1970 | } |
| 1971 | }, |
| 1972 | "compositePrimaryKeys": |
| 1973 | "repository_path_commit_repositoryId_ref_path_pk": |
| 1974 | "name": |
| 1975 | "columns": |
| 1976 | "repositoryId", |
| 1977 | "ref", |
| 1978 | "path" |
| 1979 | ] |
| 1980 | } |
| 1981 | }, |
| 1982 | "uniqueConstraints": |
| 1983 | "policies": |
| 1984 | "checkConstraints": |
| 1985 | "isRLSEnabled": |
| 1986 | }, |
| 1987 | "public.repository_ref_index": |
| 1988 | "name": |
| 1989 | "schema": |
| 1990 | "columns": |
| 1991 | "repositoryId": |
| 1992 | "name": |
| 1993 | "type": |
| 1994 | "primaryKey": |
| 1995 | "notNull": |
| 1996 | }, |
| 1997 | "ref": |
| 1998 | "name": |
| 1999 | "type": |
| 2000 | "primaryKey": |
| 2001 | "notNull": |
| 2002 | }, |
| 2003 | "indexedCommitSha": |
| 2004 | "name": |
| 2005 | "type": |
| 2006 | "primaryKey": |
| 2007 | "notNull": |
| 2008 | }, |
| 2009 | "updatedAt": |
| 2010 | "name": |
| 2011 | "type": |
| 2012 | "primaryKey": |
| 2013 | "notNull": |
| 2014 | "default": |
| 2015 | } |
| 2016 | }, |
| 2017 | "indexes": |
| 2018 | "foreignKeys": |
| 2019 | "repository_ref_index_repositoryId_repository_id_fk": |
| 2020 | "name": |
| 2021 | "tableFrom": |
| 2022 | "tableTo": |
| 2023 | "columnsFrom": |
| 2024 | "repositoryId" |
| 2025 | ], |
| 2026 | "columnsTo": |
| 2027 | "id" |
| 2028 | ], |
| 2029 | "onDelete": |
| 2030 | "onUpdate": |
| 2031 | } |
| 2032 | }, |
| 2033 | "compositePrimaryKeys": |
| 2034 | "repository_ref_index_repositoryId_ref_pk": |
| 2035 | "name": |
| 2036 | "columns": |
| 2037 | "repositoryId", |
| 2038 | "ref" |
| 2039 | ] |
| 2040 | } |
| 2041 | }, |
| 2042 | "uniqueConstraints": |
| 2043 | "policies": |
| 2044 | "checkConstraints": |
| 2045 | "isRLSEnabled": |
| 2046 | }, |
| 2047 | "public.stars": |
| 2048 | "name": |
| 2049 | "schema": |
| 2050 | "columns": |
| 2051 | "id": |
| 2052 | "name": |
| 2053 | "type": |
| 2054 | "primaryKey": |
| 2055 | "notNull": |
| 2056 | }, |
| 2057 | "userId": |
| 2058 | "name": |
| 2059 | "type": |
| 2060 | "primaryKey": |
| 2061 | "notNull": |
| 2062 | }, |
| 2063 | "repositoryId": |
| 2064 | "name": |
| 2065 | "type": |
| 2066 | "primaryKey": |
| 2067 | "notNull": |
| 2068 | }, |
| 2069 | "createdAt": |
| 2070 | "name": |
| 2071 | "type": |
| 2072 | "primaryKey": |
| 2073 | "notNull": |
| 2074 | "default": |
| 2075 | }, |
| 2076 | "updatedAt": |
| 2077 | "name": |
| 2078 | "type": |
| 2079 | "primaryKey": |
| 2080 | "notNull": |
| 2081 | "default": |
| 2082 | } |
| 2083 | }, |
| 2084 | "indexes": |
| 2085 | "stars_userId_repositoryId_index": |
| 2086 | "name": |
| 2087 | "columns": |
| 2088 | { |
| 2089 | "expression": |
| 2090 | "isExpression": |
| 2091 | "asc": |
| 2092 | "nulls": |
| 2093 | }, |
| 2094 | { |
| 2095 | "expression": |
| 2096 | "isExpression": |
| 2097 | "asc": |
| 2098 | "nulls": |
| 2099 | } |
| 2100 | ], |
| 2101 | "isUnique": |
| 2102 | "concurrently": |
| 2103 | "method": |
| 2104 | "with": |
| 2105 | } |
| 2106 | }, |
| 2107 | "foreignKeys": |
| 2108 | "stars_userId_user_id_fk": |
| 2109 | "name": |
| 2110 | "tableFrom": |
| 2111 | "tableTo": |
| 2112 | "columnsFrom": |
| 2113 | "userId" |
| 2114 | ], |
| 2115 | "columnsTo": |
| 2116 | "id" |
| 2117 | ], |
| 2118 | "onDelete": |
| 2119 | "onUpdate": |
| 2120 | }, |
| 2121 | "stars_repositoryId_repository_id_fk": |
| 2122 | "name": |
| 2123 | "tableFrom": |
| 2124 | "tableTo": |
| 2125 | "columnsFrom": |
| 2126 | "repositoryId" |
| 2127 | ], |
| 2128 | "columnsTo": |
| 2129 | "id" |
| 2130 | ], |
| 2131 | "onDelete": |
| 2132 | "onUpdate": |
| 2133 | } |
| 2134 | }, |
| 2135 | "compositePrimaryKeys": |
| 2136 | "uniqueConstraints": |
| 2137 | "stars_id_unique": |
| 2138 | "name": |
| 2139 | "nullsNotDistinct": |
| 2140 | "columns": |
| 2141 | "id" |
| 2142 | ] |
| 2143 | } |
| 2144 | }, |
| 2145 | "policies": |
| 2146 | "checkConstraints": |
| 2147 | "isRLSEnabled": |
| 2148 | }, |
| 2149 | "public.pull_request": |
| 2150 | "name": |
| 2151 | "schema": |
| 2152 | "columns": |
| 2153 | "id": |
| 2154 | "name": |
| 2155 | "type": |
| 2156 | "primaryKey": |
| 2157 | "notNull": |
| 2158 | }, |
| 2159 | "issueId": |
| 2160 | "name": |
| 2161 | "type": |
| 2162 | "primaryKey": |
| 2163 | "notNull": |
| 2164 | }, |
| 2165 | "state": |
| 2166 | "name": |
| 2167 | "type": |
| 2168 | "typeSchema": |
| 2169 | "primaryKey": |
| 2170 | "notNull": |
| 2171 | "default": |
| 2172 | }, |
| 2173 | "draft": |
| 2174 | "name": |
| 2175 | "type": |
| 2176 | "primaryKey": |
| 2177 | "notNull": |
| 2178 | "default": |
| 2179 | }, |
| 2180 | "baseRepositoryId": |
| 2181 | "name": |
| 2182 | "type": |
| 2183 | "primaryKey": |
| 2184 | "notNull": |
| 2185 | }, |
| 2186 | "baseRef": |
| 2187 | "name": |
| 2188 | "type": |
| 2189 | "primaryKey": |
| 2190 | "notNull": |
| 2191 | }, |
| 2192 | "headRepositoryId": |
| 2193 | "name": |
| 2194 | "type": |
| 2195 | "primaryKey": |
| 2196 | "notNull": |
| 2197 | }, |
| 2198 | "headRef": |
| 2199 | "name": |
| 2200 | "type": |
| 2201 | "primaryKey": |
| 2202 | "notNull": |
| 2203 | }, |
| 2204 | "headSha": |
| 2205 | "name": |
| 2206 | "type": |
| 2207 | "primaryKey": |
| 2208 | "notNull": |
| 2209 | }, |
| 2210 | "mergeCommitSha": |
| 2211 | "name": |
| 2212 | "type": |
| 2213 | "primaryKey": |
| 2214 | "notNull": |
| 2215 | }, |
| 2216 | "mergedAt": |
| 2217 | "name": |
| 2218 | "type": |
| 2219 | "primaryKey": |
| 2220 | "notNull": |
| 2221 | } |
| 2222 | }, |
| 2223 | "indexes": |
| 2224 | "pull_request_open_branch_idx": |
| 2225 | "name": |
| 2226 | "columns": |
| 2227 | { |
| 2228 | "expression": |
| 2229 | "isExpression": |
| 2230 | "asc": |
| 2231 | "nulls": |
| 2232 | }, |
| 2233 | { |
| 2234 | "expression": |
| 2235 | "isExpression": |
| 2236 | "asc": |
| 2237 | "nulls": |
| 2238 | }, |
| 2239 | { |
| 2240 | "expression": |
| 2241 | "isExpression": |
| 2242 | "asc": |
| 2243 | "nulls": |
| 2244 | }, |
| 2245 | { |
| 2246 | "expression": |
| 2247 | "isExpression": |
| 2248 | "asc": |
| 2249 | "nulls": |
| 2250 | } |
| 2251 | ], |
| 2252 | "isUnique": |
| 2253 | "where": |
| 2254 | "concurrently": |
| 2255 | "method": |
| 2256 | "with": |
| 2257 | }, |
| 2258 | "pull_request_head_idx": |
| 2259 | "name": |
| 2260 | "columns": |
| 2261 | { |
| 2262 | "expression": |
| 2263 | "isExpression": |
| 2264 | "asc": |
| 2265 | "nulls": |
| 2266 | } |
| 2267 | ], |
| 2268 | "isUnique": |
| 2269 | "concurrently": |
| 2270 | "method": |
| 2271 | "with": |
| 2272 | }, |
| 2273 | "pull_request_base_state_idx": |
| 2274 | "name": |
| 2275 | "columns": |
| 2276 | { |
| 2277 | "expression": |
| 2278 | "isExpression": |
| 2279 | "asc": |
| 2280 | "nulls": |
| 2281 | }, |
| 2282 | { |
| 2283 | "expression": |
| 2284 | "isExpression": |
| 2285 | "asc": |
| 2286 | "nulls": |
| 2287 | } |
| 2288 | ], |
| 2289 | "isUnique": |
| 2290 | "concurrently": |
| 2291 | "method": |
| 2292 | "with": |
| 2293 | } |
| 2294 | }, |
| 2295 | "foreignKeys": |
| 2296 | "pull_request_issueId_issue_id_fk": |
| 2297 | "name": |
| 2298 | "tableFrom": |
| 2299 | "tableTo": |
| 2300 | "columnsFrom": |
| 2301 | "issueId" |
| 2302 | ], |
| 2303 | "columnsTo": |
| 2304 | "id" |
| 2305 | ], |
| 2306 | "onDelete": |
| 2307 | "onUpdate": |
| 2308 | }, |
| 2309 | "pull_request_baseRepositoryId_repository_id_fk": |
| 2310 | "name": |
| 2311 | "tableFrom": |
| 2312 | "tableTo": |
| 2313 | "columnsFrom": |
| 2314 | "baseRepositoryId" |
| 2315 | ], |
| 2316 | "columnsTo": |
| 2317 | "id" |
| 2318 | ], |
| 2319 | "onDelete": |
| 2320 | "onUpdate": |
| 2321 | }, |
| 2322 | "pull_request_headRepositoryId_repository_id_fk": |
| 2323 | "name": |
| 2324 | "tableFrom": |
| 2325 | "tableTo": |
| 2326 | "columnsFrom": |
| 2327 | "headRepositoryId" |
| 2328 | ], |
| 2329 | "columnsTo": |
| 2330 | "id" |
| 2331 | ], |
| 2332 | "onDelete": |
| 2333 | "onUpdate": |
| 2334 | } |
| 2335 | }, |
| 2336 | "compositePrimaryKeys": |
| 2337 | "uniqueConstraints": |
| 2338 | "pull_request_id_unique": |
| 2339 | "name": |
| 2340 | "nullsNotDistinct": |
| 2341 | "columns": |
| 2342 | "id" |
| 2343 | ] |
| 2344 | }, |
| 2345 | "pull_request_issueId_unique": |
| 2346 | "name": |
| 2347 | "nullsNotDistinct": |
| 2348 | "columns": |
| 2349 | "issueId" |
| 2350 | ] |
| 2351 | } |
| 2352 | }, |
| 2353 | "policies": |
| 2354 | "checkConstraints": |
| 2355 | "isRLSEnabled": |
| 2356 | }, |
| 2357 | "public.pull_request_review": |
| 2358 | "name": |
| 2359 | "schema": |
| 2360 | "columns": |
| 2361 | "id": |
| 2362 | "name": |
| 2363 | "type": |
| 2364 | "primaryKey": |
| 2365 | "notNull": |
| 2366 | }, |
| 2367 | "pullRequestId": |
| 2368 | "name": |
| 2369 | "type": |
| 2370 | "primaryKey": |
| 2371 | "notNull": |
| 2372 | }, |
| 2373 | "authorId": |
| 2374 | "name": |
| 2375 | "type": |
| 2376 | "primaryKey": |
| 2377 | "notNull": |
| 2378 | }, |
| 2379 | "state": |
| 2380 | "name": |
| 2381 | "type": |
| 2382 | "typeSchema": |
| 2383 | "primaryKey": |
| 2384 | "notNull": |
| 2385 | }, |
| 2386 | "body": |
| 2387 | "name": |
| 2388 | "type": |
| 2389 | "primaryKey": |
| 2390 | "notNull": |
| 2391 | }, |
| 2392 | "commitSha": |
| 2393 | "name": |
| 2394 | "type": |
| 2395 | "primaryKey": |
| 2396 | "notNull": |
| 2397 | }, |
| 2398 | "dismissedById": |
| 2399 | "name": |
| 2400 | "type": |
| 2401 | "primaryKey": |
| 2402 | "notNull": |
| 2403 | }, |
| 2404 | "dismissalMessage": |
| 2405 | "name": |
| 2406 | "type": |
| 2407 | "primaryKey": |
| 2408 | "notNull": |
| 2409 | }, |
| 2410 | "createdAt": |
| 2411 | "name": |
| 2412 | "type": |
| 2413 | "primaryKey": |
| 2414 | "notNull": |
| 2415 | "default": |
| 2416 | }, |
| 2417 | "submittedAt": |
| 2418 | "name": |
| 2419 | "type": |
| 2420 | "primaryKey": |
| 2421 | "notNull": |
| 2422 | } |
| 2423 | }, |
| 2424 | "indexes": |
| 2425 | "pull_request_review_pull_idx": |
| 2426 | "name": |
| 2427 | "columns": |
| 2428 | { |
| 2429 | "expression": |
| 2430 | "isExpression": |
| 2431 | "asc": |
| 2432 | "nulls": |
| 2433 | }, |
| 2434 | { |
| 2435 | "expression": |
| 2436 | "isExpression": |
| 2437 | "asc": |
| 2438 | "nulls": |
| 2439 | } |
| 2440 | ], |
| 2441 | "isUnique": |
| 2442 | "concurrently": |
| 2443 | "method": |
| 2444 | "with": |
| 2445 | }, |
| 2446 | "pull_request_review_pending_idx": |
| 2447 | "name": |
| 2448 | "columns": |
| 2449 | { |
| 2450 | "expression": |
| 2451 | "isExpression": |
| 2452 | "asc": |
| 2453 | "nulls": |
| 2454 | }, |
| 2455 | { |
| 2456 | "expression": |
| 2457 | "isExpression": |
| 2458 | "asc": |
| 2459 | "nulls": |
| 2460 | } |
| 2461 | ], |
| 2462 | "isUnique": |
| 2463 | "where": |
| 2464 | "concurrently": |
| 2465 | "method": |
| 2466 | "with": |
| 2467 | } |
| 2468 | }, |
| 2469 | "foreignKeys": |
| 2470 | "pull_request_review_pullRequestId_pull_request_id_fk": |
| 2471 | "name": |
| 2472 | "tableFrom": |
| 2473 | "tableTo": |
| 2474 | "columnsFrom": |
| 2475 | "pullRequestId" |
| 2476 | ], |
| 2477 | "columnsTo": |
| 2478 | "id" |
| 2479 | ], |
| 2480 | "onDelete": |
| 2481 | "onUpdate": |
| 2482 | }, |
| 2483 | "pull_request_review_authorId_user_id_fk": |
| 2484 | "name": |
| 2485 | "tableFrom": |
| 2486 | "tableTo": |
| 2487 | "columnsFrom": |
| 2488 | "authorId" |
| 2489 | ], |
| 2490 | "columnsTo": |
| 2491 | "id" |
| 2492 | ], |
| 2493 | "onDelete": |
| 2494 | "onUpdate": |
| 2495 | }, |
| 2496 | "pull_request_review_dismissedById_user_id_fk": |
| 2497 | "name": |
| 2498 | "tableFrom": |
| 2499 | "tableTo": |
| 2500 | "columnsFrom": |
| 2501 | "dismissedById" |
| 2502 | ], |
| 2503 | "columnsTo": |
| 2504 | "id" |
| 2505 | ], |
| 2506 | "onDelete": |
| 2507 | "onUpdate": |
| 2508 | } |
| 2509 | }, |
| 2510 | "compositePrimaryKeys": |
| 2511 | "uniqueConstraints": |
| 2512 | "pull_request_review_id_unique": |
| 2513 | "name": |
| 2514 | "nullsNotDistinct": |
| 2515 | "columns": |
| 2516 | "id" |
| 2517 | ] |
| 2518 | } |
| 2519 | }, |
| 2520 | "policies": |
| 2521 | "checkConstraints": |
| 2522 | "isRLSEnabled": |
| 2523 | }, |
| 2524 | "public.pull_request_review_comment": |
| 2525 | "name": |
| 2526 | "schema": |
| 2527 | "columns": |
| 2528 | "id": |
| 2529 | "name": |
| 2530 | "type": |
| 2531 | "primaryKey": |
| 2532 | "notNull": |
| 2533 | }, |
| 2534 | "pullRequestId": |
| 2535 | "name": |
| 2536 | "type": |
| 2537 | "primaryKey": |
| 2538 | "notNull": |
| 2539 | }, |
| 2540 | "reviewId": |
| 2541 | "name": |
| 2542 | "type": |
| 2543 | "primaryKey": |
| 2544 | "notNull": |
| 2545 | }, |
| 2546 | "inReplyToId": |
| 2547 | "name": |
| 2548 | "type": |
| 2549 | "primaryKey": |
| 2550 | "notNull": |
| 2551 | }, |
| 2552 | "authorId": |
| 2553 | "name": |
| 2554 | "type": |
| 2555 | "primaryKey": |
| 2556 | "notNull": |
| 2557 | }, |
| 2558 | "path": |
| 2559 | "name": |
| 2560 | "type": |
| 2561 | "primaryKey": |
| 2562 | "notNull": |
| 2563 | }, |
| 2564 | "side": |
| 2565 | "name": |
| 2566 | "type": |
| 2567 | "typeSchema": |
| 2568 | "primaryKey": |
| 2569 | "notNull": |
| 2570 | }, |
| 2571 | "line": |
| 2572 | "name": |
| 2573 | "type": |
| 2574 | "primaryKey": |
| 2575 | "notNull": |
| 2576 | }, |
| 2577 | "commitSha": |
| 2578 | "name": |
| 2579 | "type": |
| 2580 | "primaryKey": |
| 2581 | "notNull": |
| 2582 | }, |
| 2583 | "body": |
| 2584 | "name": |
| 2585 | "type": |
| 2586 | "primaryKey": |
| 2587 | "notNull": |
| 2588 | }, |
| 2589 | "createdAt": |
| 2590 | "name": |
| 2591 | "type": |
| 2592 | "primaryKey": |
| 2593 | "notNull": |
| 2594 | "default": |
| 2595 | }, |
| 2596 | "updatedAt": |
| 2597 | "name": |
| 2598 | "type": |
| 2599 | "primaryKey": |
| 2600 | "notNull": |
| 2601 | "default": |
| 2602 | } |
| 2603 | }, |
| 2604 | "indexes": |
| 2605 | "pull_request_review_comment_review_idx": |
| 2606 | "name": |
| 2607 | "columns": |
| 2608 | { |
| 2609 | "expression": |
| 2610 | "isExpression": |
| 2611 | "asc": |
| 2612 | "nulls": |
| 2613 | } |
| 2614 | ], |
| 2615 | "isUnique": |
| 2616 | "concurrently": |
| 2617 | "method": |
| 2618 | "with": |
| 2619 | }, |
| 2620 | "pull_request_review_comment_reply_idx": |
| 2621 | "name": |
| 2622 | "columns": |
| 2623 | { |
| 2624 | "expression": |
| 2625 | "isExpression": |
| 2626 | "asc": |
| 2627 | "nulls": |
| 2628 | } |
| 2629 | ], |
| 2630 | "isUnique": |
| 2631 | "concurrently": |
| 2632 | "method": |
| 2633 | "with": |
| 2634 | }, |
| 2635 | "pull_request_review_comment_pull_idx": |
| 2636 | "name": |
| 2637 | "columns": |
| 2638 | { |
| 2639 | "expression": |
| 2640 | "isExpression": |
| 2641 | "asc": |
| 2642 | "nulls": |
| 2643 | } |
| 2644 | ], |
| 2645 | "isUnique": |
| 2646 | "concurrently": |
| 2647 | "method": |
| 2648 | "with": |
| 2649 | } |
| 2650 | }, |
| 2651 | "foreignKeys": |
| 2652 | "pull_request_review_comment_pullRequestId_pull_request_id_fk": |
| 2653 | "name": |
| 2654 | "tableFrom": |
| 2655 | "tableTo": |
| 2656 | "columnsFrom": |
| 2657 | "pullRequestId" |
| 2658 | ], |
| 2659 | "columnsTo": |
| 2660 | "id" |
| 2661 | ], |
| 2662 | "onDelete": |
| 2663 | "onUpdate": |
| 2664 | }, |
| 2665 | "pull_request_review_comment_reviewId_pull_request_review_id_fk": |
| 2666 | "name": |
| 2667 | "tableFrom": |
| 2668 | "tableTo": |
| 2669 | "columnsFrom": |
| 2670 | "reviewId" |
| 2671 | ], |
| 2672 | "columnsTo": |
| 2673 | "id" |
| 2674 | ], |
| 2675 | "onDelete": |
| 2676 | "onUpdate": |
| 2677 | }, |
| 2678 | "pull_request_review_comment_inReplyToId_pull_request_review_comment_id_fk": |
| 2679 | "name": |
| 2680 | "tableFrom": |
| 2681 | "tableTo": |
| 2682 | "columnsFrom": |
| 2683 | "inReplyToId" |
| 2684 | ], |
| 2685 | "columnsTo": |
| 2686 | "id" |
| 2687 | ], |
| 2688 | "onDelete": |
| 2689 | "onUpdate": |
| 2690 | }, |
| 2691 | "pull_request_review_comment_authorId_user_id_fk": |
| 2692 | "name": |
| 2693 | "tableFrom": |
| 2694 | "tableTo": |
| 2695 | "columnsFrom": |
| 2696 | "authorId" |
| 2697 | ], |
| 2698 | "columnsTo": |
| 2699 | "id" |
| 2700 | ], |
| 2701 | "onDelete": |
| 2702 | "onUpdate": |
| 2703 | } |
| 2704 | }, |
| 2705 | "compositePrimaryKeys": |
| 2706 | "uniqueConstraints": |
| 2707 | "pull_request_review_comment_id_unique": |
| 2708 | "name": |
| 2709 | "nullsNotDistinct": |
| 2710 | "columns": |
| 2711 | "id" |
| 2712 | ] |
| 2713 | } |
| 2714 | }, |
| 2715 | "policies": |
| 2716 | "checkConstraints": |
| 2717 | "isRLSEnabled": |
| 2718 | }, |
| 2719 | "public.issue": |
| 2720 | "name": |
| 2721 | "schema": |
| 2722 | "columns": |
| 2723 | "id": |
| 2724 | "name": |
| 2725 | "type": |
| 2726 | "primaryKey": |
| 2727 | "notNull": |
| 2728 | }, |
| 2729 | "repositoryId": |
| 2730 | "name": |
| 2731 | "type": |
| 2732 | "primaryKey": |
| 2733 | "notNull": |
| 2734 | }, |
| 2735 | "number": |
| 2736 | "name": |
| 2737 | "type": |
| 2738 | "primaryKey": |
| 2739 | "notNull": |
| 2740 | }, |
| 2741 | "title": |
| 2742 | "name": |
| 2743 | "type": |
| 2744 | "primaryKey": |
| 2745 | "notNull": |
| 2746 | }, |
| 2747 | "body": |
| 2748 | "name": |
| 2749 | "type": |
| 2750 | "primaryKey": |
| 2751 | "notNull": |
| 2752 | }, |
| 2753 | "state": |
| 2754 | "name": |
| 2755 | "type": |
| 2756 | "typeSchema": |
| 2757 | "primaryKey": |
| 2758 | "notNull": |
| 2759 | "default": |
| 2760 | }, |
| 2761 | "isPullRequest": |
| 2762 | "name": |
| 2763 | "type": |
| 2764 | "primaryKey": |
| 2765 | "notNull": |
| 2766 | "default": |
| 2767 | }, |
| 2768 | "authorId": |
| 2769 | "name": |
| 2770 | "type": |
| 2771 | "primaryKey": |
| 2772 | "notNull": |
| 2773 | }, |
| 2774 | "closedById": |
| 2775 | "name": |
| 2776 | "type": |
| 2777 | "primaryKey": |
| 2778 | "notNull": |
| 2779 | }, |
| 2780 | "commentCount": |
| 2781 | "name": |
| 2782 | "type": |
| 2783 | "primaryKey": |
| 2784 | "notNull": |
| 2785 | "default": |
| 2786 | }, |
| 2787 | "closedAt": |
| 2788 | "name": |
| 2789 | "type": |
| 2790 | "primaryKey": |
| 2791 | "notNull": |
| 2792 | }, |
| 2793 | "createdAt": |
| 2794 | "name": |
| 2795 | "type": |
| 2796 | "primaryKey": |
| 2797 | "notNull": |
| 2798 | "default": |
| 2799 | }, |
| 2800 | "updatedAt": |
| 2801 | "name": |
| 2802 | "type": |
| 2803 | "primaryKey": |
| 2804 | "notNull": |
| 2805 | "default": |
| 2806 | } |
| 2807 | }, |
| 2808 | "indexes": |
| 2809 | "issue_repo_number_idx": |
| 2810 | "name": |
| 2811 | "columns": |
| 2812 | { |
| 2813 | "expression": |
| 2814 | "isExpression": |
| 2815 | "asc": |
| 2816 | "nulls": |
| 2817 | }, |
| 2818 | { |
| 2819 | "expression": |
| 2820 | "isExpression": |
| 2821 | "asc": |
| 2822 | "nulls": |
| 2823 | } |
| 2824 | ], |
| 2825 | "isUnique": |
| 2826 | "concurrently": |
| 2827 | "method": |
| 2828 | "with": |
| 2829 | }, |
| 2830 | "issue_repo_kind_state_idx": |
| 2831 | "name": |
| 2832 | "columns": |
| 2833 | { |
| 2834 | "expression": |
| 2835 | "isExpression": |
| 2836 | "asc": |
| 2837 | "nulls": |
| 2838 | }, |
| 2839 | { |
| 2840 | "expression": |
| 2841 | "isExpression": |
| 2842 | "asc": |
| 2843 | "nulls": |
| 2844 | }, |
| 2845 | { |
| 2846 | "expression": |
| 2847 | "isExpression": |
| 2848 | "asc": |
| 2849 | "nulls": |
| 2850 | } |
| 2851 | ], |
| 2852 | "isUnique": |
| 2853 | "concurrently": |
| 2854 | "method": |
| 2855 | "with": |
| 2856 | }, |
| 2857 | "issue_repo_updated_idx": |
| 2858 | "name": |
| 2859 | "columns": |
| 2860 | { |
| 2861 | "expression": |
| 2862 | "isExpression": |
| 2863 | "asc": |
| 2864 | "nulls": |
| 2865 | }, |
| 2866 | { |
| 2867 | "expression": |
| 2868 | "isExpression": |
| 2869 | "asc": |
| 2870 | "nulls": |
| 2871 | } |
| 2872 | ], |
| 2873 | "isUnique": |
| 2874 | "concurrently": |
| 2875 | "method": |
| 2876 | "with": |
| 2877 | } |
| 2878 | }, |
| 2879 | "foreignKeys": |
| 2880 | "issue_repositoryId_repository_id_fk": |
| 2881 | "name": |
| 2882 | "tableFrom": |
| 2883 | "tableTo": |
| 2884 | "columnsFrom": |
| 2885 | "repositoryId" |
| 2886 | ], |
| 2887 | "columnsTo": |
| 2888 | "id" |
| 2889 | ], |
| 2890 | "onDelete": |
| 2891 | "onUpdate": |
| 2892 | }, |
| 2893 | "issue_authorId_user_id_fk": |
| 2894 | "name": |
| 2895 | "tableFrom": |
| 2896 | "tableTo": |
| 2897 | "columnsFrom": |
| 2898 | "authorId" |
| 2899 | ], |
| 2900 | "columnsTo": |
| 2901 | "id" |
| 2902 | ], |
| 2903 | "onDelete": |
| 2904 | "onUpdate": |
| 2905 | }, |
| 2906 | "issue_closedById_user_id_fk": |
| 2907 | "name": |
| 2908 | "tableFrom": |
| 2909 | "tableTo": |
| 2910 | "columnsFrom": |
| 2911 | "closedById" |
| 2912 | ], |
| 2913 | "columnsTo": |
| 2914 | "id" |
| 2915 | ], |
| 2916 | "onDelete": |
| 2917 | "onUpdate": |
| 2918 | } |
| 2919 | }, |
| 2920 | "compositePrimaryKeys": |
| 2921 | "uniqueConstraints": |
| 2922 | "issue_id_unique": |
| 2923 | "name": |
| 2924 | "nullsNotDistinct": |
| 2925 | "columns": |
| 2926 | "id" |
| 2927 | ] |
| 2928 | } |
| 2929 | }, |
| 2930 | "policies": |
| 2931 | "checkConstraints": |
| 2932 | "isRLSEnabled": |
| 2933 | }, |
| 2934 | "public.issue_assignee": |
| 2935 | "name": |
| 2936 | "schema": |
| 2937 | "columns": |
| 2938 | "issueId": |
| 2939 | "name": |
| 2940 | "type": |
| 2941 | "primaryKey": |
| 2942 | "notNull": |
| 2943 | }, |
| 2944 | "userId": |
| 2945 | "name": |
| 2946 | "type": |
| 2947 | "primaryKey": |
| 2948 | "notNull": |
| 2949 | } |
| 2950 | }, |
| 2951 | "indexes": |
| 2952 | "foreignKeys": |
| 2953 | "issue_assignee_issueId_issue_id_fk": |
| 2954 | "name": |
| 2955 | "tableFrom": |
| 2956 | "tableTo": |
| 2957 | "columnsFrom": |
| 2958 | "issueId" |
| 2959 | ], |
| 2960 | "columnsTo": |
| 2961 | "id" |
| 2962 | ], |
| 2963 | "onDelete": |
| 2964 | "onUpdate": |
| 2965 | }, |
| 2966 | "issue_assignee_userId_user_id_fk": |
| 2967 | "name": |
| 2968 | "tableFrom": |
| 2969 | "tableTo": |
| 2970 | "columnsFrom": |
| 2971 | "userId" |
| 2972 | ], |
| 2973 | "columnsTo": |
| 2974 | "id" |
| 2975 | ], |
| 2976 | "onDelete": |
| 2977 | "onUpdate": |
| 2978 | } |
| 2979 | }, |
| 2980 | "compositePrimaryKeys": |
| 2981 | "issue_assignee_issueId_userId_pk": |
| 2982 | "name": |
| 2983 | "columns": |
| 2984 | "issueId", |
| 2985 | "userId" |
| 2986 | ] |
| 2987 | } |
| 2988 | }, |
| 2989 | "uniqueConstraints": |
| 2990 | "policies": |
| 2991 | "checkConstraints": |
| 2992 | "isRLSEnabled": |
| 2993 | }, |
| 2994 | "public.issue_comment": |
| 2995 | "name": |
| 2996 | "schema": |
| 2997 | "columns": |
| 2998 | "id": |
| 2999 | "name": |
| 3000 | "type": |
| 3001 | "primaryKey": |
| 3002 | "notNull": |
| 3003 | }, |
| 3004 | "issueId": |
| 3005 | "name": |
| 3006 | "type": |
| 3007 | "primaryKey": |
| 3008 | "notNull": |
| 3009 | }, |
| 3010 | "authorId": |
| 3011 | "name": |
| 3012 | "type": |
| 3013 | "primaryKey": |
| 3014 | "notNull": |
| 3015 | }, |
| 3016 | "body": |
| 3017 | "name": |
| 3018 | "type": |
| 3019 | "primaryKey": |
| 3020 | "notNull": |
| 3021 | }, |
| 3022 | "createdAt": |
| 3023 | "name": |
| 3024 | "type": |
| 3025 | "primaryKey": |
| 3026 | "notNull": |
| 3027 | "default": |
| 3028 | }, |
| 3029 | "updatedAt": |
| 3030 | "name": |
| 3031 | "type": |
| 3032 | "primaryKey": |
| 3033 | "notNull": |
| 3034 | "default": |
| 3035 | } |
| 3036 | }, |
| 3037 | "indexes": |
| 3038 | "issue_comment_issue_idx": |
| 3039 | "name": |
| 3040 | "columns": |
| 3041 | { |
| 3042 | "expression": |
| 3043 | "isExpression": |
| 3044 | "asc": |
| 3045 | "nulls": |
| 3046 | }, |
| 3047 | { |
| 3048 | "expression": |
| 3049 | "isExpression": |
| 3050 | "asc": |
| 3051 | "nulls": |
| 3052 | } |
| 3053 | ], |
| 3054 | "isUnique": |
| 3055 | "concurrently": |
| 3056 | "method": |
| 3057 | "with": |
| 3058 | } |
| 3059 | }, |
| 3060 | "foreignKeys": |
| 3061 | "issue_comment_issueId_issue_id_fk": |
| 3062 | "name": |
| 3063 | "tableFrom": |
| 3064 | "tableTo": |
| 3065 | "columnsFrom": |
| 3066 | "issueId" |
| 3067 | ], |
| 3068 | "columnsTo": |
| 3069 | "id" |
| 3070 | ], |
| 3071 | "onDelete": |
| 3072 | "onUpdate": |
| 3073 | }, |
| 3074 | "issue_comment_authorId_user_id_fk": |
| 3075 | "name": |
| 3076 | "tableFrom": |
| 3077 | "tableTo": |
| 3078 | "columnsFrom": |
| 3079 | "authorId" |
| 3080 | ], |
| 3081 | "columnsTo": |
| 3082 | "id" |
| 3083 | ], |
| 3084 | "onDelete": |
| 3085 | "onUpdate": |
| 3086 | } |
| 3087 | }, |
| 3088 | "compositePrimaryKeys": |
| 3089 | "uniqueConstraints": |
| 3090 | "issue_comment_id_unique": |
| 3091 | "name": |
| 3092 | "nullsNotDistinct": |
| 3093 | "columns": |
| 3094 | "id" |
| 3095 | ] |
| 3096 | } |
| 3097 | }, |
| 3098 | "policies": |
| 3099 | "checkConstraints": |
| 3100 | "isRLSEnabled": |
| 3101 | }, |
| 3102 | "public.issue_event": |
| 3103 | "name": |
| 3104 | "schema": |
| 3105 | "columns": |
| 3106 | "id": |
| 3107 | "name": |
| 3108 | "type": |
| 3109 | "primaryKey": |
| 3110 | "notNull": |
| 3111 | }, |
| 3112 | "issueId": |
| 3113 | "name": |
| 3114 | "type": |
| 3115 | "primaryKey": |
| 3116 | "notNull": |
| 3117 | }, |
| 3118 | "actorId": |
| 3119 | "name": |
| 3120 | "type": |
| 3121 | "primaryKey": |
| 3122 | "notNull": |
| 3123 | }, |
| 3124 | "type": |
| 3125 | "name": |
| 3126 | "type": |
| 3127 | "typeSchema": |
| 3128 | "primaryKey": |
| 3129 | "notNull": |
| 3130 | }, |
| 3131 | "labelName": |
| 3132 | "name": |
| 3133 | "type": |
| 3134 | "primaryKey": |
| 3135 | "notNull": |
| 3136 | }, |
| 3137 | "assigneeUsername": |
| 3138 | "name": |
| 3139 | "type": |
| 3140 | "primaryKey": |
| 3141 | "notNull": |
| 3142 | }, |
| 3143 | "oldTitle": |
| 3144 | "name": |
| 3145 | "type": |
| 3146 | "primaryKey": |
| 3147 | "notNull": |
| 3148 | }, |
| 3149 | "newTitle": |
| 3150 | "name": |
| 3151 | "type": |
| 3152 | "primaryKey": |
| 3153 | "notNull": |
| 3154 | }, |
| 3155 | "sourceIssueId": |
| 3156 | "name": |
| 3157 | "type": |
| 3158 | "primaryKey": |
| 3159 | "notNull": |
| 3160 | }, |
| 3161 | "commitSha": |
| 3162 | "name": |
| 3163 | "type": |
| 3164 | "primaryKey": |
| 3165 | "notNull": |
| 3166 | }, |
| 3167 | "createdAt": |
| 3168 | "name": |
| 3169 | "type": |
| 3170 | "primaryKey": |
| 3171 | "notNull": |
| 3172 | "default": |
| 3173 | } |
| 3174 | }, |
| 3175 | "indexes": |
| 3176 | "issue_event_issue_idx": |
| 3177 | "name": |
| 3178 | "columns": |
| 3179 | { |
| 3180 | "expression": |
| 3181 | "isExpression": |
| 3182 | "asc": |
| 3183 | "nulls": |
| 3184 | }, |
| 3185 | { |
| 3186 | "expression": |
| 3187 | "isExpression": |
| 3188 | "asc": |
| 3189 | "nulls": |
| 3190 | } |
| 3191 | ], |
| 3192 | "isUnique": |
| 3193 | "concurrently": |
| 3194 | "method": |
| 3195 | "with": |
| 3196 | } |
| 3197 | }, |
| 3198 | "foreignKeys": |
| 3199 | "issue_event_issueId_issue_id_fk": |
| 3200 | "name": |
| 3201 | "tableFrom": |
| 3202 | "tableTo": |
| 3203 | "columnsFrom": |
| 3204 | "issueId" |
| 3205 | ], |
| 3206 | "columnsTo": |
| 3207 | "id" |
| 3208 | ], |
| 3209 | "onDelete": |
| 3210 | "onUpdate": |
| 3211 | }, |
| 3212 | "issue_event_actorId_user_id_fk": |
| 3213 | "name": |
| 3214 | "tableFrom": |
| 3215 | "tableTo": |
| 3216 | "columnsFrom": |
| 3217 | "actorId" |
| 3218 | ], |
| 3219 | "columnsTo": |
| 3220 | "id" |
| 3221 | ], |
| 3222 | "onDelete": |
| 3223 | "onUpdate": |
| 3224 | }, |
| 3225 | "issue_event_sourceIssueId_issue_id_fk": |
| 3226 | "name": |
| 3227 | "tableFrom": |
| 3228 | "tableTo": |
| 3229 | "columnsFrom": |
| 3230 | "sourceIssueId" |
| 3231 | ], |
| 3232 | "columnsTo": |
| 3233 | "id" |
| 3234 | ], |
| 3235 | "onDelete": |
| 3236 | "onUpdate": |
| 3237 | } |
| 3238 | }, |
| 3239 | "compositePrimaryKeys": |
| 3240 | "uniqueConstraints": |
| 3241 | "issue_event_id_unique": |
| 3242 | "name": |
| 3243 | "nullsNotDistinct": |
| 3244 | "columns": |
| 3245 | "id" |
| 3246 | ] |
| 3247 | } |
| 3248 | }, |
| 3249 | "policies": |
| 3250 | "checkConstraints": |
| 3251 | "isRLSEnabled": |
| 3252 | }, |
| 3253 | "public.issue_label": |
| 3254 | "name": |
| 3255 | "schema": |
| 3256 | "columns": |
| 3257 | "issueId": |
| 3258 | "name": |
| 3259 | "type": |
| 3260 | "primaryKey": |
| 3261 | "notNull": |
| 3262 | }, |
| 3263 | "labelId": |
| 3264 | "name": |
| 3265 | "type": |
| 3266 | "primaryKey": |
| 3267 | "notNull": |
| 3268 | } |
| 3269 | }, |
| 3270 | "indexes": |
| 3271 | "foreignKeys": |
| 3272 | "issue_label_issueId_issue_id_fk": |
| 3273 | "name": |
| 3274 | "tableFrom": |
| 3275 | "tableTo": |
| 3276 | "columnsFrom": |
| 3277 | "issueId" |
| 3278 | ], |
| 3279 | "columnsTo": |
| 3280 | "id" |
| 3281 | ], |
| 3282 | "onDelete": |
| 3283 | "onUpdate": |
| 3284 | }, |
| 3285 | "issue_label_labelId_label_id_fk": |
| 3286 | "name": |
| 3287 | "tableFrom": |
| 3288 | "tableTo": |
| 3289 | "columnsFrom": |
| 3290 | "labelId" |
| 3291 | ], |
| 3292 | "columnsTo": |
| 3293 | "id" |
| 3294 | ], |
| 3295 | "onDelete": |
| 3296 | "onUpdate": |
| 3297 | } |
| 3298 | }, |
| 3299 | "compositePrimaryKeys": |
| 3300 | "issue_label_issueId_labelId_pk": |
| 3301 | "name": |
| 3302 | "columns": |
| 3303 | "issueId", |
| 3304 | "labelId" |
| 3305 | ] |
| 3306 | } |
| 3307 | }, |
| 3308 | "uniqueConstraints": |
| 3309 | "policies": |
| 3310 | "checkConstraints": |
| 3311 | "isRLSEnabled": |
| 3312 | }, |
| 3313 | "public.issue_reference": |
| 3314 | "name": |
| 3315 | "schema": |
| 3316 | "columns": |
| 3317 | "id": |
| 3318 | "name": |
| 3319 | "type": |
| 3320 | "primaryKey": |
| 3321 | "notNull": |
| 3322 | }, |
| 3323 | "sourceType": |
| 3324 | "name": |
| 3325 | "type": |
| 3326 | "typeSchema": |
| 3327 | "primaryKey": |
| 3328 | "notNull": |
| 3329 | }, |
| 3330 | "sourceId": |
| 3331 | "name": |
| 3332 | "type": |
| 3333 | "primaryKey": |
| 3334 | "notNull": |
| 3335 | }, |
| 3336 | "sourceRepositoryId": |
| 3337 | "name": |
| 3338 | "type": |
| 3339 | "primaryKey": |
| 3340 | "notNull": |
| 3341 | }, |
| 3342 | "sourceIssueId": |
| 3343 | "name": |
| 3344 | "type": |
| 3345 | "primaryKey": |
| 3346 | "notNull": |
| 3347 | }, |
| 3348 | "targetIssueId": |
| 3349 | "name": |
| 3350 | "type": |
| 3351 | "primaryKey": |
| 3352 | "notNull": |
| 3353 | }, |
| 3354 | "closing": |
| 3355 | "name": |
| 3356 | "type": |
| 3357 | "primaryKey": |
| 3358 | "notNull": |
| 3359 | "default": |
| 3360 | }, |
| 3361 | "actorId": |
| 3362 | "name": |
| 3363 | "type": |
| 3364 | "primaryKey": |
| 3365 | "notNull": |
| 3366 | }, |
| 3367 | "createdAt": |
| 3368 | "name": |
| 3369 | "type": |
| 3370 | "primaryKey": |
| 3371 | "notNull": |
| 3372 | "default": |
| 3373 | } |
| 3374 | }, |
| 3375 | "indexes": |
| 3376 | "issue_reference_source_target_idx": |
| 3377 | "name": |
| 3378 | "columns": |
| 3379 | { |
| 3380 | "expression": |
| 3381 | "isExpression": |
| 3382 | "asc": |
| 3383 | "nulls": |
| 3384 | }, |
| 3385 | { |
| 3386 | "expression": |
| 3387 | "isExpression": |
| 3388 | "asc": |
| 3389 | "nulls": |
| 3390 | }, |
| 3391 | { |
| 3392 | "expression": |
| 3393 | "isExpression": |
| 3394 | "asc": |
| 3395 | "nulls": |
| 3396 | } |
| 3397 | ], |
| 3398 | "isUnique": |
| 3399 | "concurrently": |
| 3400 | "method": |
| 3401 | "with": |
| 3402 | }, |
| 3403 | "issue_reference_target_idx": |
| 3404 | "name": |
| 3405 | "columns": |
| 3406 | { |
| 3407 | "expression": |
| 3408 | "isExpression": |
| 3409 | "asc": |
| 3410 | "nulls": |
| 3411 | }, |
| 3412 | { |
| 3413 | "expression": |
| 3414 | "isExpression": |
| 3415 | "asc": |
| 3416 | "nulls": |
| 3417 | } |
| 3418 | ], |
| 3419 | "isUnique": |
| 3420 | "concurrently": |
| 3421 | "method": |
| 3422 | "with": |
| 3423 | }, |
| 3424 | "issue_reference_source_issue_idx": |
| 3425 | "name": |
| 3426 | "columns": |
| 3427 | { |
| 3428 | "expression": |
| 3429 | "isExpression": |
| 3430 | "asc": |
| 3431 | "nulls": |
| 3432 | } |
| 3433 | ], |
| 3434 | "isUnique": |
| 3435 | "concurrently": |
| 3436 | "method": |
| 3437 | "with": |
| 3438 | } |
| 3439 | }, |
| 3440 | "foreignKeys": |
| 3441 | "issue_reference_sourceRepositoryId_repository_id_fk": |
| 3442 | "name": |
| 3443 | "tableFrom": |
| 3444 | "tableTo": |
| 3445 | "columnsFrom": |
| 3446 | "sourceRepositoryId" |
| 3447 | ], |
| 3448 | "columnsTo": |
| 3449 | "id" |
| 3450 | ], |
| 3451 | "onDelete": |
| 3452 | "onUpdate": |
| 3453 | }, |
| 3454 | "issue_reference_sourceIssueId_issue_id_fk": |
| 3455 | "name": |
| 3456 | "tableFrom": |
| 3457 | "tableTo": |
| 3458 | "columnsFrom": |
| 3459 | "sourceIssueId" |
| 3460 | ], |
| 3461 | "columnsTo": |
| 3462 | "id" |
| 3463 | ], |
| 3464 | "onDelete": |
| 3465 | "onUpdate": |
| 3466 | }, |
| 3467 | "issue_reference_targetIssueId_issue_id_fk": |
| 3468 | "name": |
| 3469 | "tableFrom": |
| 3470 | "tableTo": |
| 3471 | "columnsFrom": |
| 3472 | "targetIssueId" |
| 3473 | ], |
| 3474 | "columnsTo": |
| 3475 | "id" |
| 3476 | ], |
| 3477 | "onDelete": |
| 3478 | "onUpdate": |
| 3479 | }, |
| 3480 | "issue_reference_actorId_user_id_fk": |
| 3481 | "name": |
| 3482 | "tableFrom": |
| 3483 | "tableTo": |
| 3484 | "columnsFrom": |
| 3485 | "actorId" |
| 3486 | ], |
| 3487 | "columnsTo": |
| 3488 | "id" |
| 3489 | ], |
| 3490 | "onDelete": |
| 3491 | "onUpdate": |
| 3492 | } |
| 3493 | }, |
| 3494 | "compositePrimaryKeys": |
| 3495 | "uniqueConstraints": |
| 3496 | "issue_reference_id_unique": |
| 3497 | "name": |
| 3498 | "nullsNotDistinct": |
| 3499 | "columns": |
| 3500 | "id" |
| 3501 | ] |
| 3502 | } |
| 3503 | }, |
| 3504 | "policies": |
| 3505 | "checkConstraints": |
| 3506 | "isRLSEnabled": |
| 3507 | }, |
| 3508 | "public.label": |
| 3509 | "name": |
| 3510 | "schema": |
| 3511 | "columns": |
| 3512 | "id": |
| 3513 | "name": |
| 3514 | "type": |
| 3515 | "primaryKey": |
| 3516 | "notNull": |
| 3517 | }, |
| 3518 | "repositoryId": |
| 3519 | "name": |
| 3520 | "type": |
| 3521 | "primaryKey": |
| 3522 | "notNull": |
| 3523 | }, |
| 3524 | "name": |
| 3525 | "name": |
| 3526 | "type": |
| 3527 | "primaryKey": |
| 3528 | "notNull": |
| 3529 | }, |
| 3530 | "description": |
| 3531 | "name": |
| 3532 | "type": |
| 3533 | "primaryKey": |
| 3534 | "notNull": |
| 3535 | }, |
| 3536 | "color": |
| 3537 | "name": |
| 3538 | "type": |
| 3539 | "primaryKey": |
| 3540 | "notNull": |
| 3541 | "default": |
| 3542 | }, |
| 3543 | "createdAt": |
| 3544 | "name": |
| 3545 | "type": |
| 3546 | "primaryKey": |
| 3547 | "notNull": |
| 3548 | "default": |
| 3549 | }, |
| 3550 | "updatedAt": |
| 3551 | "name": |
| 3552 | "type": |
| 3553 | "primaryKey": |
| 3554 | "notNull": |
| 3555 | "default": |
| 3556 | } |
| 3557 | }, |
| 3558 | "indexes": |
| 3559 | "label_repo_name_idx": |
| 3560 | "name": |
| 3561 | "columns": |
| 3562 | { |
| 3563 | "expression": |
| 3564 | "isExpression": |
| 3565 | "asc": |
| 3566 | "nulls": |
| 3567 | }, |
| 3568 | { |
| 3569 | "expression": |
| 3570 | "isExpression": |
| 3571 | "asc": |
| 3572 | "nulls": |
| 3573 | } |
| 3574 | ], |
| 3575 | "isUnique": |
| 3576 | "concurrently": |
| 3577 | "method": |
| 3578 | "with": |
| 3579 | }, |
| 3580 | "label_repo_idx": |
| 3581 | "name": |
| 3582 | "columns": |
| 3583 | { |
| 3584 | "expression": |
| 3585 | "isExpression": |
| 3586 | "asc": |
| 3587 | "nulls": |
| 3588 | } |
| 3589 | ], |
| 3590 | "isUnique": |
| 3591 | "concurrently": |
| 3592 | "method": |
| 3593 | "with": |
| 3594 | } |
| 3595 | }, |
| 3596 | "foreignKeys": |
| 3597 | "label_repositoryId_repository_id_fk": |
| 3598 | "name": |
| 3599 | "tableFrom": |
| 3600 | "tableTo": |
| 3601 | "columnsFrom": |
| 3602 | "repositoryId" |
| 3603 | ], |
| 3604 | "columnsTo": |
| 3605 | "id" |
| 3606 | ], |
| 3607 | "onDelete": |
| 3608 | "onUpdate": |
| 3609 | } |
| 3610 | }, |
| 3611 | "compositePrimaryKeys": |
| 3612 | "uniqueConstraints": |
| 3613 | "label_id_unique": |
| 3614 | "name": |
| 3615 | "nullsNotDistinct": |
| 3616 | "columns": |
| 3617 | "id" |
| 3618 | ] |
| 3619 | } |
| 3620 | }, |
| 3621 | "policies": |
| 3622 | "checkConstraints": |
| 3623 | "isRLSEnabled": |
| 3624 | }, |
| 3625 | "public.repository_collaborator": |
| 3626 | "name": |
| 3627 | "schema": |
| 3628 | "columns": |
| 3629 | "id": |
| 3630 | "name": |
| 3631 | "type": |
| 3632 | "primaryKey": |
| 3633 | "notNull": |
| 3634 | }, |
| 3635 | "repositoryId": |
| 3636 | "name": |
| 3637 | "type": |
| 3638 | "primaryKey": |
| 3639 | "notNull": |
| 3640 | }, |
| 3641 | "userId": |
| 3642 | "name": |
| 3643 | "type": |
| 3644 | "primaryKey": |
| 3645 | "notNull": |
| 3646 | }, |
| 3647 | "role": |
| 3648 | "name": |
| 3649 | "type": |
| 3650 | "typeSchema": |
| 3651 | "primaryKey": |
| 3652 | "notNull": |
| 3653 | }, |
| 3654 | "invitedById": |
| 3655 | "name": |
| 3656 | "type": |
| 3657 | "primaryKey": |
| 3658 | "notNull": |
| 3659 | }, |
| 3660 | "createdAt": |
| 3661 | "name": |
| 3662 | "type": |
| 3663 | "primaryKey": |
| 3664 | "notNull": |
| 3665 | "default": |
| 3666 | }, |
| 3667 | "acceptedAt": |
| 3668 | "name": |
| 3669 | "type": |
| 3670 | "primaryKey": |
| 3671 | "notNull": |
| 3672 | } |
| 3673 | }, |
| 3674 | "indexes": |
| 3675 | "repository_collaborator_repository_user_idx": |
| 3676 | "name": |
| 3677 | "columns": |
| 3678 | { |
| 3679 | "expression": |
| 3680 | "isExpression": |
| 3681 | "asc": |
| 3682 | "nulls": |
| 3683 | }, |
| 3684 | { |
| 3685 | "expression": |
| 3686 | "isExpression": |
| 3687 | "asc": |
| 3688 | "nulls": |
| 3689 | } |
| 3690 | ], |
| 3691 | "isUnique": |
| 3692 | "concurrently": |
| 3693 | "method": |
| 3694 | "with": |
| 3695 | }, |
| 3696 | "repository_collaborator_user_idx": |
| 3697 | "name": |
| 3698 | "columns": |
| 3699 | { |
| 3700 | "expression": |
| 3701 | "isExpression": |
| 3702 | "asc": |
| 3703 | "nulls": |
| 3704 | } |
| 3705 | ], |
| 3706 | "isUnique": |
| 3707 | "concurrently": |
| 3708 | "method": |
| 3709 | "with": |
| 3710 | } |
| 3711 | }, |
| 3712 | "foreignKeys": |
| 3713 | "repository_collaborator_repositoryId_repository_id_fk": |
| 3714 | "name": |
| 3715 | "tableFrom": |
| 3716 | "tableTo": |
| 3717 | "columnsFrom": |
| 3718 | "repositoryId" |
| 3719 | ], |
| 3720 | "columnsTo": |
| 3721 | "id" |
| 3722 | ], |
| 3723 | "onDelete": |
| 3724 | "onUpdate": |
| 3725 | }, |
| 3726 | "repository_collaborator_userId_user_id_fk": |
| 3727 | "name": |
| 3728 | "tableFrom": |
| 3729 | "tableTo": |
| 3730 | "columnsFrom": |
| 3731 | "userId" |
| 3732 | ], |
| 3733 | "columnsTo": |
| 3734 | "id" |
| 3735 | ], |
| 3736 | "onDelete": |
| 3737 | "onUpdate": |
| 3738 | }, |
| 3739 | "repository_collaborator_invitedById_user_id_fk": |
| 3740 | "name": |
| 3741 | "tableFrom": |
| 3742 | "tableTo": |
| 3743 | "columnsFrom": |
| 3744 | "invitedById" |
| 3745 | ], |
| 3746 | "columnsTo": |
| 3747 | "id" |
| 3748 | ], |
| 3749 | "onDelete": |
| 3750 | "onUpdate": |
| 3751 | } |
| 3752 | }, |
| 3753 | "compositePrimaryKeys": |
| 3754 | "uniqueConstraints": |
| 3755 | "policies": |
| 3756 | "checkConstraints": |
| 3757 | "isRLSEnabled": |
| 3758 | }, |
| 3759 | "public.repository_team": |
| 3760 | "name": |
| 3761 | "schema": |
| 3762 | "columns": |
| 3763 | "repositoryId": |
| 3764 | "name": |
| 3765 | "type": |
| 3766 | "primaryKey": |
| 3767 | "notNull": |
| 3768 | }, |
| 3769 | "teamId": |
| 3770 | "name": |
| 3771 | "type": |
| 3772 | "primaryKey": |
| 3773 | "notNull": |
| 3774 | }, |
| 3775 | "role": |
| 3776 | "name": |
| 3777 | "type": |
| 3778 | "typeSchema": |
| 3779 | "primaryKey": |
| 3780 | "notNull": |
| 3781 | }, |
| 3782 | "createdAt": |
| 3783 | "name": |
| 3784 | "type": |
| 3785 | "primaryKey": |
| 3786 | "notNull": |
| 3787 | "default": |
| 3788 | } |
| 3789 | }, |
| 3790 | "indexes": |
| 3791 | "repository_team_team_idx": |
| 3792 | "name": |
| 3793 | "columns": |
| 3794 | { |
| 3795 | "expression": |
| 3796 | "isExpression": |
| 3797 | "asc": |
| 3798 | "nulls": |
| 3799 | } |
| 3800 | ], |
| 3801 | "isUnique": |
| 3802 | "concurrently": |
| 3803 | "method": |
| 3804 | "with": |
| 3805 | } |
| 3806 | }, |
| 3807 | "foreignKeys": |
| 3808 | "repository_team_repositoryId_repository_id_fk": |
| 3809 | "name": |
| 3810 | "tableFrom": |
| 3811 | "tableTo": |
| 3812 | "columnsFrom": |
| 3813 | "repositoryId" |
| 3814 | ], |
| 3815 | "columnsTo": |
| 3816 | "id" |
| 3817 | ], |
| 3818 | "onDelete": |
| 3819 | "onUpdate": |
| 3820 | }, |
| 3821 | "repository_team_teamId_team_id_fk": |
| 3822 | "name": |
| 3823 | "tableFrom": |
| 3824 | "tableTo": |
| 3825 | "columnsFrom": |
| 3826 | "teamId" |
| 3827 | ], |
| 3828 | "columnsTo": |
| 3829 | "id" |
| 3830 | ], |
| 3831 | "onDelete": |
| 3832 | "onUpdate": |
| 3833 | } |
| 3834 | }, |
| 3835 | "compositePrimaryKeys": |
| 3836 | "repository_team_repositoryId_teamId_pk": |
| 3837 | "name": |
| 3838 | "columns": |
| 3839 | "repositoryId", |
| 3840 | "teamId" |
| 3841 | ] |
| 3842 | } |
| 3843 | }, |
| 3844 | "uniqueConstraints": |
| 3845 | "policies": |
| 3846 | "checkConstraints": |
| 3847 | "isRLSEnabled": |
| 3848 | }, |
| 3849 | "public.organization_pinned_repository": |
| 3850 | "name": |
| 3851 | "schema": |
| 3852 | "columns": |
| 3853 | "organizationId": |
| 3854 | "name": |
| 3855 | "type": |
| 3856 | "primaryKey": |
| 3857 | "notNull": |
| 3858 | }, |
| 3859 | "repositoryId": |
| 3860 | "name": |
| 3861 | "type": |
| 3862 | "primaryKey": |
| 3863 | "notNull": |
| 3864 | }, |
| 3865 | "position": |
| 3866 | "name": |
| 3867 | "type": |
| 3868 | "primaryKey": |
| 3869 | "notNull": |
| 3870 | } |
| 3871 | }, |
| 3872 | "indexes": |
| 3873 | "foreignKeys": |
| 3874 | "organization_pinned_repository_organizationId_organization_id_fk": |
| 3875 | "name": |
| 3876 | "tableFrom": |
| 3877 | "tableTo": |
| 3878 | "columnsFrom": |
| 3879 | "organizationId" |
| 3880 | ], |
| 3881 | "columnsTo": |
| 3882 | "id" |
| 3883 | ], |
| 3884 | "onDelete": |
| 3885 | "onUpdate": |
| 3886 | }, |
| 3887 | "organization_pinned_repository_repositoryId_repository_id_fk": |
| 3888 | "name": |
| 3889 | "tableFrom": |
| 3890 | "tableTo": |
| 3891 | "columnsFrom": |
| 3892 | "repositoryId" |
| 3893 | ], |
| 3894 | "columnsTo": |
| 3895 | "id" |
| 3896 | ], |
| 3897 | "onDelete": |
| 3898 | "onUpdate": |
| 3899 | } |
| 3900 | }, |
| 3901 | "compositePrimaryKeys": |
| 3902 | "organization_pinned_repository_organizationId_repositoryId_pk": |
| 3903 | "name": |
| 3904 | "columns": |
| 3905 | "organizationId", |
| 3906 | "repositoryId" |
| 3907 | ] |
| 3908 | } |
| 3909 | }, |
| 3910 | "uniqueConstraints": |
| 3911 | "policies": |
| 3912 | "checkConstraints": |
| 3913 | "isRLSEnabled": |
| 3914 | }, |
| 3915 | "public.organization_public_member": |
| 3916 | "name": |
| 3917 | "schema": |
| 3918 | "columns": |
| 3919 | "organizationId": |
| 3920 | "name": |
| 3921 | "type": |
| 3922 | "primaryKey": |
| 3923 | "notNull": |
| 3924 | }, |
| 3925 | "userId": |
| 3926 | "name": |
| 3927 | "type": |
| 3928 | "primaryKey": |
| 3929 | "notNull": |
| 3930 | } |
| 3931 | }, |
| 3932 | "indexes": |
| 3933 | "foreignKeys": |
| 3934 | "organization_public_member_organizationId_organization_id_fk": |
| 3935 | "name": |
| 3936 | "tableFrom": |
| 3937 | "tableTo": |
| 3938 | "columnsFrom": |
| 3939 | "organizationId" |
| 3940 | ], |
| 3941 | "columnsTo": |
| 3942 | "id" |
| 3943 | ], |
| 3944 | "onDelete": |
| 3945 | "onUpdate": |
| 3946 | }, |
| 3947 | "organization_public_member_userId_user_id_fk": |
| 3948 | "name": |
| 3949 | "tableFrom": |
| 3950 | "tableTo": |
| 3951 | "columnsFrom": |
| 3952 | "userId" |
| 3953 | ], |
| 3954 | "columnsTo": |
| 3955 | "id" |
| 3956 | ], |
| 3957 | "onDelete": |
| 3958 | "onUpdate": |
| 3959 | } |
| 3960 | }, |
| 3961 | "compositePrimaryKeys": |
| 3962 | "organization_public_member_organizationId_userId_pk": |
| 3963 | "name": |
| 3964 | "columns": |
| 3965 | "organizationId", |
| 3966 | "userId" |
| 3967 | ] |
| 3968 | } |
| 3969 | }, |
| 3970 | "uniqueConstraints": |
| 3971 | "policies": |
| 3972 | "checkConstraints": |
| 3973 | "isRLSEnabled": |
| 3974 | }, |
| 3975 | "public.organization_settings": |
| 3976 | "name": |
| 3977 | "schema": |
| 3978 | "columns": |
| 3979 | "organizationId": |
| 3980 | "name": |
| 3981 | "type": |
| 3982 | "primaryKey": |
| 3983 | "notNull": |
| 3984 | }, |
| 3985 | "basePermission": |
| 3986 | "name": |
| 3987 | "type": |
| 3988 | "typeSchema": |
| 3989 | "primaryKey": |
| 3990 | "notNull": |
| 3991 | "default": |
| 3992 | }, |
| 3993 | "membersCanCreatePublicRepositories": |
| 3994 | "name": |
| 3995 | "type": |
| 3996 | "primaryKey": |
| 3997 | "notNull": |
| 3998 | "default": |
| 3999 | }, |
| 4000 | "membersCanCreatePrivateRepositories": |
| 4001 | "name": |
| 4002 | "type": |
| 4003 | "primaryKey": |
| 4004 | "notNull": |
| 4005 | "default": |
| 4006 | }, |
| 4007 | "allowPrivateForks": |
| 4008 | "name": |
| 4009 | "type": |
| 4010 | "primaryKey": |
| 4011 | "notNull": |
| 4012 | "default": |
| 4013 | }, |
| 4014 | "defaultBranch": |
| 4015 | "name": |
| 4016 | "type": |
| 4017 | "primaryKey": |
| 4018 | "notNull": |
| 4019 | }, |
| 4020 | "description": |
| 4021 | "name": |
| 4022 | "type": |
| 4023 | "primaryKey": |
| 4024 | "notNull": |
| 4025 | }, |
| 4026 | "website": |
| 4027 | "name": |
| 4028 | "type": |
| 4029 | "primaryKey": |
| 4030 | "notNull": |
| 4031 | }, |
| 4032 | "location": |
| 4033 | "name": |
| 4034 | "type": |
| 4035 | "primaryKey": |
| 4036 | "notNull": |
| 4037 | }, |
| 4038 | "email": |
| 4039 | "name": |
| 4040 | "type": |
| 4041 | "primaryKey": |
| 4042 | "notNull": |
| 4043 | }, |
| 4044 | "updatedAt": |
| 4045 | "name": |
| 4046 | "type": |
| 4047 | "primaryKey": |
| 4048 | "notNull": |
| 4049 | "default": |
| 4050 | } |
| 4051 | }, |
| 4052 | "indexes": |
| 4053 | "foreignKeys": |
| 4054 | "organization_settings_organizationId_organization_id_fk": |
| 4055 | "name": |
| 4056 | "tableFrom": |
| 4057 | "tableTo": |
| 4058 | "columnsFrom": |
| 4059 | "organizationId" |
| 4060 | ], |
| 4061 | "columnsTo": |
| 4062 | "id" |
| 4063 | ], |
| 4064 | "onDelete": |
| 4065 | "onUpdate": |
| 4066 | } |
| 4067 | }, |
| 4068 | "compositePrimaryKeys": |
| 4069 | "uniqueConstraints": |
| 4070 | "policies": |
| 4071 | "checkConstraints": |
| 4072 | "isRLSEnabled": |
| 4073 | }, |
| 4074 | "public.repository_redirect": |
| 4075 | "name": |
| 4076 | "schema": |
| 4077 | "columns": |
| 4078 | "ownerName": |
| 4079 | "name": |
| 4080 | "type": |
| 4081 | "primaryKey": |
| 4082 | "notNull": |
| 4083 | }, |
| 4084 | "slug": |
| 4085 | "name": |
| 4086 | "type": |
| 4087 | "primaryKey": |
| 4088 | "notNull": |
| 4089 | }, |
| 4090 | "repositoryId": |
| 4091 | "name": |
| 4092 | "type": |
| 4093 | "primaryKey": |
| 4094 | "notNull": |
| 4095 | }, |
| 4096 | "createdAt": |
| 4097 | "name": |
| 4098 | "type": |
| 4099 | "primaryKey": |
| 4100 | "notNull": |
| 4101 | "default": |
| 4102 | } |
| 4103 | }, |
| 4104 | "indexes": |
| 4105 | "repository_redirect_name_idx": |
| 4106 | "name": |
| 4107 | "columns": |
| 4108 | { |
| 4109 | "expression": |
| 4110 | "asc": |
| 4111 | "isExpression": |
| 4112 | "nulls": |
| 4113 | }, |
| 4114 | { |
| 4115 | "expression": |
| 4116 | "isExpression": |
| 4117 | "asc": |
| 4118 | "nulls": |
| 4119 | } |
| 4120 | ], |
| 4121 | "isUnique": |
| 4122 | "concurrently": |
| 4123 | "method": |
| 4124 | "with": |
| 4125 | }, |
| 4126 | "repository_redirect_repository_idx": |
| 4127 | "name": |
| 4128 | "columns": |
| 4129 | { |
| 4130 | "expression": |
| 4131 | "isExpression": |
| 4132 | "asc": |
| 4133 | "nulls": |
| 4134 | } |
| 4135 | ], |
| 4136 | "isUnique": |
| 4137 | "concurrently": |
| 4138 | "method": |
| 4139 | "with": |
| 4140 | } |
| 4141 | }, |
| 4142 | "foreignKeys": |
| 4143 | "repository_redirect_repositoryId_repository_id_fk": |
| 4144 | "name": |
| 4145 | "tableFrom": |
| 4146 | "tableTo": |
| 4147 | "columnsFrom": |
| 4148 | "repositoryId" |
| 4149 | ], |
| 4150 | "columnsTo": |
| 4151 | "id" |
| 4152 | ], |
| 4153 | "onDelete": |
| 4154 | "onUpdate": |
| 4155 | } |
| 4156 | }, |
| 4157 | "compositePrimaryKeys": |
| 4158 | "uniqueConstraints": |
| 4159 | "policies": |
| 4160 | "checkConstraints": |
| 4161 | "isRLSEnabled": |
| 4162 | }, |
| 4163 | "public.repository_transfer": |
| 4164 | "name": |
| 4165 | "schema": |
| 4166 | "columns": |
| 4167 | "repositoryId": |
| 4168 | "name": |
| 4169 | "type": |
| 4170 | "primaryKey": |
| 4171 | "notNull": |
| 4172 | }, |
| 4173 | "toUserId": |
| 4174 | "name": |
| 4175 | "type": |
| 4176 | "primaryKey": |
| 4177 | "notNull": |
| 4178 | }, |
| 4179 | "toOrganizationId": |
| 4180 | "name": |
| 4181 | "type": |
| 4182 | "primaryKey": |
| 4183 | "notNull": |
| 4184 | }, |
| 4185 | "requestedById": |
| 4186 | "name": |
| 4187 | "type": |
| 4188 | "primaryKey": |
| 4189 | "notNull": |
| 4190 | }, |
| 4191 | "createdAt": |
| 4192 | "name": |
| 4193 | "type": |
| 4194 | "primaryKey": |
| 4195 | "notNull": |
| 4196 | "default": |
| 4197 | } |
| 4198 | }, |
| 4199 | "indexes": |
| 4200 | "foreignKeys": |
| 4201 | "repository_transfer_repositoryId_repository_id_fk": |
| 4202 | "name": |
| 4203 | "tableFrom": |
| 4204 | "tableTo": |
| 4205 | "columnsFrom": |
| 4206 | "repositoryId" |
| 4207 | ], |
| 4208 | "columnsTo": |
| 4209 | "id" |
| 4210 | ], |
| 4211 | "onDelete": |
| 4212 | "onUpdate": |
| 4213 | }, |
| 4214 | "repository_transfer_toUserId_user_id_fk": |
| 4215 | "name": |
| 4216 | "tableFrom": |
| 4217 | "tableTo": |
| 4218 | "columnsFrom": |
| 4219 | "toUserId" |
| 4220 | ], |
| 4221 | "columnsTo": |
| 4222 | "id" |
| 4223 | ], |
| 4224 | "onDelete": |
| 4225 | "onUpdate": |
| 4226 | }, |
| 4227 | "repository_transfer_toOrganizationId_organization_id_fk": |
| 4228 | "name": |
| 4229 | "tableFrom": |
| 4230 | "tableTo": |
| 4231 | "columnsFrom": |
| 4232 | "toOrganizationId" |
| 4233 | ], |
| 4234 | "columnsTo": |
| 4235 | "id" |
| 4236 | ], |
| 4237 | "onDelete": |
| 4238 | "onUpdate": |
| 4239 | }, |
| 4240 | "repository_transfer_requestedById_user_id_fk": |
| 4241 | "name": |
| 4242 | "tableFrom": |
| 4243 | "tableTo": |
| 4244 | "columnsFrom": |
| 4245 | "requestedById" |
| 4246 | ], |
| 4247 | "columnsTo": |
| 4248 | "id" |
| 4249 | ], |
| 4250 | "onDelete": |
| 4251 | "onUpdate": |
| 4252 | } |
| 4253 | }, |
| 4254 | "compositePrimaryKeys": |
| 4255 | "uniqueConstraints": |
| 4256 | "policies": |
| 4257 | "checkConstraints": |
| 4258 | "isRLSEnabled": |
| 4259 | }, |
| 4260 | "public.team_maintainer": |
| 4261 | "name": |
| 4262 | "schema": |
| 4263 | "columns": |
| 4264 | "teamId": |
| 4265 | "name": |
| 4266 | "type": |
| 4267 | "primaryKey": |
| 4268 | "notNull": |
| 4269 | }, |
| 4270 | "userId": |
| 4271 | "name": |
| 4272 | "type": |
| 4273 | "primaryKey": |
| 4274 | "notNull": |
| 4275 | } |
| 4276 | }, |
| 4277 | "indexes": |
| 4278 | "foreignKeys": |
| 4279 | "team_maintainer_teamId_team_id_fk": |
| 4280 | "name": |
| 4281 | "tableFrom": |
| 4282 | "tableTo": |
| 4283 | "columnsFrom": |
| 4284 | "teamId" |
| 4285 | ], |
| 4286 | "columnsTo": |
| 4287 | "id" |
| 4288 | ], |
| 4289 | "onDelete": |
| 4290 | "onUpdate": |
| 4291 | }, |
| 4292 | "team_maintainer_userId_user_id_fk": |
| 4293 | "name": |
| 4294 | "tableFrom": |
| 4295 | "tableTo": |
| 4296 | "columnsFrom": |
| 4297 | "userId" |
| 4298 | ], |
| 4299 | "columnsTo": |
| 4300 | "id" |
| 4301 | ], |
| 4302 | "onDelete": |
| 4303 | "onUpdate": |
| 4304 | } |
| 4305 | }, |
| 4306 | "compositePrimaryKeys": |
| 4307 | "team_maintainer_teamId_userId_pk": |
| 4308 | "name": |
| 4309 | "columns": |
| 4310 | "teamId", |
| 4311 | "userId" |
| 4312 | ] |
| 4313 | } |
| 4314 | }, |
| 4315 | "uniqueConstraints": |
| 4316 | "policies": |
| 4317 | "checkConstraints": |
| 4318 | "isRLSEnabled": |
| 4319 | }, |
| 4320 | "public.release": |
| 4321 | "name": |
| 4322 | "schema": |
| 4323 | "columns": |
| 4324 | "id": |
| 4325 | "name": |
| 4326 | "type": |
| 4327 | "primaryKey": |
| 4328 | "notNull": |
| 4329 | }, |
| 4330 | "repositoryId": |
| 4331 | "name": |
| 4332 | "type": |
| 4333 | "primaryKey": |
| 4334 | "notNull": |
| 4335 | }, |
| 4336 | "tagName": |
| 4337 | "name": |
| 4338 | "type": |
| 4339 | "primaryKey": |
| 4340 | "notNull": |
| 4341 | }, |
| 4342 | "name": |
| 4343 | "name": |
| 4344 | "type": |
| 4345 | "primaryKey": |
| 4346 | "notNull": |
| 4347 | }, |
| 4348 | "body": |
| 4349 | "name": |
| 4350 | "type": |
| 4351 | "primaryKey": |
| 4352 | "notNull": |
| 4353 | }, |
| 4354 | "isDraft": |
| 4355 | "name": |
| 4356 | "type": |
| 4357 | "primaryKey": |
| 4358 | "notNull": |
| 4359 | "default": |
| 4360 | }, |
| 4361 | "isPrerelease": |
| 4362 | "name": |
| 4363 | "type": |
| 4364 | "primaryKey": |
| 4365 | "notNull": |
| 4366 | "default": |
| 4367 | }, |
| 4368 | "authorId": |
| 4369 | "name": |
| 4370 | "type": |
| 4371 | "primaryKey": |
| 4372 | "notNull": |
| 4373 | }, |
| 4374 | "publishedAt": |
| 4375 | "name": |
| 4376 | "type": |
| 4377 | "primaryKey": |
| 4378 | "notNull": |
| 4379 | }, |
| 4380 | "createdAt": |
| 4381 | "name": |
| 4382 | "type": |
| 4383 | "primaryKey": |
| 4384 | "notNull": |
| 4385 | "default": |
| 4386 | }, |
| 4387 | "updatedAt": |
| 4388 | "name": |
| 4389 | "type": |
| 4390 | "primaryKey": |
| 4391 | "notNull": |
| 4392 | "default": |
| 4393 | } |
| 4394 | }, |
| 4395 | "indexes": |
| 4396 | "release_repository_tag_idx": |
| 4397 | "name": |
| 4398 | "columns": |
| 4399 | { |
| 4400 | "expression": |
| 4401 | "isExpression": |
| 4402 | "asc": |
| 4403 | "nulls": |
| 4404 | }, |
| 4405 | { |
| 4406 | "expression": |
| 4407 | "isExpression": |
| 4408 | "asc": |
| 4409 | "nulls": |
| 4410 | } |
| 4411 | ], |
| 4412 | "isUnique": |
| 4413 | "concurrently": |
| 4414 | "method": |
| 4415 | "with": |
| 4416 | }, |
| 4417 | "release_repository_created_idx": |
| 4418 | "name": |
| 4419 | "columns": |
| 4420 | { |
| 4421 | "expression": |
| 4422 | "isExpression": |
| 4423 | "asc": |
| 4424 | "nulls": |
| 4425 | }, |
| 4426 | { |
| 4427 | "expression": |
| 4428 | "isExpression": |
| 4429 | "asc": |
| 4430 | "nulls": |
| 4431 | } |
| 4432 | ], |
| 4433 | "isUnique": |
| 4434 | "concurrently": |
| 4435 | "method": |
| 4436 | "with": |
| 4437 | } |
| 4438 | }, |
| 4439 | "foreignKeys": |
| 4440 | "release_repositoryId_repository_id_fk": |
| 4441 | "name": |
| 4442 | "tableFrom": |
| 4443 | "tableTo": |
| 4444 | "columnsFrom": |
| 4445 | "repositoryId" |
| 4446 | ], |
| 4447 | "columnsTo": |
| 4448 | "id" |
| 4449 | ], |
| 4450 | "onDelete": |
| 4451 | "onUpdate": |
| 4452 | }, |
| 4453 | "release_authorId_user_id_fk": |
| 4454 | "name": |
| 4455 | "tableFrom": |
| 4456 | "tableTo": |
| 4457 | "columnsFrom": |
| 4458 | "authorId" |
| 4459 | ], |
| 4460 | "columnsTo": |
| 4461 | "id" |
| 4462 | ], |
| 4463 | "onDelete": |
| 4464 | "onUpdate": |
| 4465 | } |
| 4466 | }, |
| 4467 | "compositePrimaryKeys": |
| 4468 | "uniqueConstraints": |
| 4469 | "policies": |
| 4470 | "checkConstraints": |
| 4471 | "isRLSEnabled": |
| 4472 | }, |
| 4473 | "public.release_asset": |
| 4474 | "name": |
| 4475 | "schema": |
| 4476 | "columns": |
| 4477 | "id": |
| 4478 | "name": |
| 4479 | "type": |
| 4480 | "primaryKey": |
| 4481 | "notNull": |
| 4482 | }, |
| 4483 | "releaseId": |
| 4484 | "name": |
| 4485 | "type": |
| 4486 | "primaryKey": |
| 4487 | "notNull": |
| 4488 | }, |
| 4489 | "repositoryId": |
| 4490 | "name": |
| 4491 | "type": |
| 4492 | "primaryKey": |
| 4493 | "notNull": |
| 4494 | }, |
| 4495 | "name": |
| 4496 | "name": |
| 4497 | "type": |
| 4498 | "primaryKey": |
| 4499 | "notNull": |
| 4500 | }, |
| 4501 | "contentType": |
| 4502 | "name": |
| 4503 | "type": |
| 4504 | "primaryKey": |
| 4505 | "notNull": |
| 4506 | }, |
| 4507 | "size": |
| 4508 | "name": |
| 4509 | "type": |
| 4510 | "primaryKey": |
| 4511 | "notNull": |
| 4512 | }, |
| 4513 | "state": |
| 4514 | "name": |
| 4515 | "type": |
| 4516 | "typeSchema": |
| 4517 | "primaryKey": |
| 4518 | "notNull": |
| 4519 | "default": |
| 4520 | }, |
| 4521 | "downloadCount": |
| 4522 | "name": |
| 4523 | "type": |
| 4524 | "primaryKey": |
| 4525 | "notNull": |
| 4526 | "default": |
| 4527 | }, |
| 4528 | "uploaderId": |
| 4529 | "name": |
| 4530 | "type": |
| 4531 | "primaryKey": |
| 4532 | "notNull": |
| 4533 | }, |
| 4534 | "createdAt": |
| 4535 | "name": |
| 4536 | "type": |
| 4537 | "primaryKey": |
| 4538 | "notNull": |
| 4539 | "default": |
| 4540 | } |
| 4541 | }, |
| 4542 | "indexes": |
| 4543 | "release_asset_release_name_idx": |
| 4544 | "name": |
| 4545 | "columns": |
| 4546 | { |
| 4547 | "expression": |
| 4548 | "isExpression": |
| 4549 | "asc": |
| 4550 | "nulls": |
| 4551 | }, |
| 4552 | { |
| 4553 | "expression": |
| 4554 | "isExpression": |
| 4555 | "asc": |
| 4556 | "nulls": |
| 4557 | } |
| 4558 | ], |
| 4559 | "isUnique": |
| 4560 | "concurrently": |
| 4561 | "method": |
| 4562 | "with": |
| 4563 | }, |
| 4564 | "release_asset_repository_idx": |
| 4565 | "name": |
| 4566 | "columns": |
| 4567 | { |
| 4568 | "expression": |
| 4569 | "isExpression": |
| 4570 | "asc": |
| 4571 | "nulls": |
| 4572 | } |
| 4573 | ], |
| 4574 | "isUnique": |
| 4575 | "concurrently": |
| 4576 | "method": |
| 4577 | "with": |
| 4578 | } |
| 4579 | }, |
| 4580 | "foreignKeys": |
| 4581 | "release_asset_releaseId_release_id_fk": |
| 4582 | "name": |
| 4583 | "tableFrom": |
| 4584 | "tableTo": |
| 4585 | "columnsFrom": |
| 4586 | "releaseId" |
| 4587 | ], |
| 4588 | "columnsTo": |
| 4589 | "id" |
| 4590 | ], |
| 4591 | "onDelete": |
| 4592 | "onUpdate": |
| 4593 | }, |
| 4594 | "release_asset_repositoryId_repository_id_fk": |
| 4595 | "name": |
| 4596 | "tableFrom": |
| 4597 | "tableTo": |
| 4598 | "columnsFrom": |
| 4599 | "repositoryId" |
| 4600 | ], |
| 4601 | "columnsTo": |
| 4602 | "id" |
| 4603 | ], |
| 4604 | "onDelete": |
| 4605 | "onUpdate": |
| 4606 | }, |
| 4607 | "release_asset_uploaderId_user_id_fk": |
| 4608 | "name": |
| 4609 | "tableFrom": |
| 4610 | "tableTo": |
| 4611 | "columnsFrom": |
| 4612 | "uploaderId" |
| 4613 | ], |
| 4614 | "columnsTo": |
| 4615 | "id" |
| 4616 | ], |
| 4617 | "onDelete": |
| 4618 | "onUpdate": |
| 4619 | } |
| 4620 | }, |
| 4621 | "compositePrimaryKeys": |
| 4622 | "uniqueConstraints": |
| 4623 | "policies": |
| 4624 | "checkConstraints": |
| 4625 | "isRLSEnabled": |
| 4626 | } |
| 4627 | }, |
| 4628 | "enums": |
| 4629 | "public.repository_visibility": |
| 4630 | "name": |
| 4631 | "schema": |
| 4632 | "values": |
| 4633 | "public", |
| 4634 | "private" |
| 4635 | ] |
| 4636 | }, |
| 4637 | "public.diff_side": |
| 4638 | "name": |
| 4639 | "schema": |
| 4640 | "values": |
| 4641 | "deletions", |
| 4642 | "additions" |
| 4643 | ] |
| 4644 | }, |
| 4645 | "public.pull_request_review_state": |
| 4646 | "name": |
| 4647 | "schema": |
| 4648 | "values": |
| 4649 | "commented", |
| 4650 | "approved", |
| 4651 | "changes_requested" |
| 4652 | ] |
| 4653 | }, |
| 4654 | "public.pull_request_state": |
| 4655 | "name": |
| 4656 | "schema": |
| 4657 | "values": |
| 4658 | "open", |
| 4659 | "closed", |
| 4660 | "merged" |
| 4661 | ] |
| 4662 | }, |
| 4663 | "public.issue_event_type": |
| 4664 | "name": |
| 4665 | "schema": |
| 4666 | "values": |
| 4667 | "opened", |
| 4668 | "closed", |
| 4669 | "reopened", |
| 4670 | "renamed", |
| 4671 | "edited", |
| 4672 | "labeled", |
| 4673 | "unlabeled", |
| 4674 | "assigned", |
| 4675 | "unassigned", |
| 4676 | "merged", |
| 4677 | "ready_for_review" |
| 4678 | ] |
| 4679 | }, |
| 4680 | "public.issue_reference_source": |
| 4681 | "name": |
| 4682 | "schema": |
| 4683 | "values": |
| 4684 | "issue", |
| 4685 | "comment", |
| 4686 | "commit" |
| 4687 | ] |
| 4688 | }, |
| 4689 | "public.issue_state": |
| 4690 | "name": |
| 4691 | "schema": |
| 4692 | "values": |
| 4693 | "open", |
| 4694 | "closed" |
| 4695 | ] |
| 4696 | }, |
| 4697 | "public.repository_role": |
| 4698 | "name": |
| 4699 | "schema": |
| 4700 | "values": |
| 4701 | "read", |
| 4702 | "triage", |
| 4703 | "write", |
| 4704 | "maintain", |
| 4705 | "admin" |
| 4706 | ] |
| 4707 | }, |
| 4708 | "public.release_asset_state": |
| 4709 | "name": |
| 4710 | "schema": |
| 4711 | "values": |
| 4712 | "uploading", |
| 4713 | "uploaded" |
| 4714 | ] |
| 4715 | } |
| 4716 | }, |
| 4717 | "schemas": |
| 4718 | "sequences": |
| 4719 | "roles": |
| 4720 | "policies": |
| 4721 | "views": |
| 4722 | "_meta": |
| 4723 | "columns": |
| 4724 | "schemas": |
| 4725 | "tables": |
| 4726 | } |
| 4727 | } |
"
542f1b23-6943-4913-8aec-31e76683a939
"
,
"
7
"
,
"
postgresql
"
,
{
{
"
account
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
account_id
"
,
"
text
"
,
false
,
true
{
"
provider_id
"
,
"
text
"
,
false
,
true
{
"
user_id
"
,
"
text
"
,
false
,
true
{
"
access_token
"
,
"
text
"
,
false
,
false
{
"
refresh_token
"
,
"
text
"
,
false
,
false
{
"
id_token
"
,
"
text
"
,
false
,
false
{
"
access_token_expires_at
"
,
"
timestamp with time zone
"
,
false
,
false
{
"
refresh_token_expires_at
"
,
"
timestamp with time zone
"
,
false
,
false
{
"
scope
"
,
"
text
"
,
false
,
false
{
"
issuer
"
,
"
text
"
,
false
,
false
{
"
password
"
,
"
text
"
,
false
,
false
{
"
created_at
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
"
updated_at
"
,
"
timestamp with time zone
"
,
false
,
true
{
{
"
account_userId_idx
"
,
[
"
user_id
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
account_user_id_user_id_fk
"
,
"
account
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{}
,
{}
,
{}
,
{}
,
false
{
"
apikey
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
config_id
"
,
"
text
"
,
false
,
true
,
"
'default'
"
{
"
name
"
,
"
text
"
,
false
,
false
{
"
start
"
,
"
text
"
,
false
,
false
{
"
reference_id
"
,
"
text
"
,
false
,
true
{
"
prefix
"
,
"
text
"
,
false
,
false
{
"
key
"
,
"
text
"
,
false
,
true
{
"
refill_interval
"
,
"
integer
"
,
false
,
false
{
"
refill_amount
"
,
"
integer
"
,
false
,
false
{
"
last_refill_at
"
,
"
timestamp with time zone
"
,
false
,
false
{
"
enabled
"
,
"
boolean
"
,
false
,
false
,
true
{
"
rate_limit_enabled
"
,
"
boolean
"
,
false
,
false
,
true
{
"
rate_limit_time_window
"
,
"
integer
"
,
false
,
false
,
86400000
{
"
rate_limit_max
"
,
"
integer
"
,
false
,
false
,
10
{
"
request_count
"
,
"
integer
"
,
false
,
false
,
0
{
"
remaining
"
,
"
integer
"
,
false
,
false
{
"
last_request
"
,
"
timestamp with time zone
"
,
false
,
false
{
"
expires_at
"
,
"
timestamp with time zone
"
,
false
,
false
{
"
created_at
"
,
"
timestamp with time zone
"
,
false
,
true
{
"
updated_at
"
,
"
timestamp with time zone
"
,
false
,
true
{
"
permissions
"
,
"
text
"
,
false
,
false
{
"
metadata
"
,
"
text
"
,
false
,
false
{
{
"
apikey_configId_idx
"
,
[
"
config_id
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
"
apikey_referenceId_idx
"
,
[
"
reference_id
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
"
apikey_key_idx
"
,
[
"
key
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{}
,
{}
,
{}
,
{}
,
{}
,
false
{
"
invitation
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
organization_id
"
,
"
text
"
,
false
,
true
{
"
email
"
,
"
text
"
,
false
,
true
{
"
role
"
,
"
text
"
,
false
,
false
{
"
team_id
"
,
"
text
"
,
false
,
false
{
"
status
"
,
"
text
"
,
false
,
true
,
"
'pending'
"
{
"
expires_at
"
,
"
timestamp with time zone
"
,
false
,
true
{
"
created_at
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
"
inviter_id
"
,
"
text
"
,
false
,
true
{
{
"
invitation_organizationId_idx
"
,
[
"
organization_id
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
"
invitation_email_idx
"
,
[
"
email
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
invitation_organization_id_organization_id_fk
"
,
"
invitation
"
,
"
organization
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
invitation_inviter_id_user_id_fk
"
,
"
invitation
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{}
,
{}
,
{}
,
{}
,
false
{
"
member
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
organization_id
"
,
"
text
"
,
false
,
true
{
"
user_id
"
,
"
text
"
,
false
,
true
{
"
role
"
,
"
text
"
,
false
,
true
,
"
'member'
"
{
"
created_at
"
,
"
timestamp with time zone
"
,
false
,
true
{
{
"
member_organizationId_idx
"
,
[
"
organization_id
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
"
member_userId_idx
"
,
[
"
user_id
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
member_organization_id_organization_id_fk
"
,
"
member
"
,
"
organization
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
member_user_id_user_id_fk
"
,
"
member
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{}
,
{}
,
{}
,
{}
,
false
{
"
organization
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
name
"
,
"
text
"
,
false
,
true
{
"
slug
"
,
"
text
"
,
false
,
true
{
"
logo
"
,
"
text
"
,
false
,
false
{
"
created_at
"
,
"
timestamp with time zone
"
,
false
,
true
{
"
metadata
"
,
"
text
"
,
false
,
false
{
{
"
organization_slug_uidx
"
,
[
"
slug
"
,
false
,
true
,
"
last
"
true
,
false
,
"
btree
"
,
{}
{}
,
{}
,
{
{
"
organization_slug_unique
"
,
false
,
[
{}
,
{}
,
false
{
"
organization_role
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
organization_id
"
,
"
text
"
,
false
,
true
{
"
role
"
,
"
text
"
,
false
,
true
{
"
permission
"
,
"
text
"
,
false
,
true
{
"
created_at
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
"
updated_at
"
,
"
timestamp with time zone
"
,
false
,
false
{
{
"
organizationRole_organizationId_idx
"
,
[
"
organization_id
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
"
organizationRole_role_idx
"
,
[
"
role
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
organization_role_organization_id_organization_id_fk
"
,
"
organization_role
"
,
"
organization
"
,
[
[
"
cascade
"
,
"
no action
"
{}
,
{}
,
{}
,
{}
,
false
{
"
session
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
expires_at
"
,
"
timestamp with time zone
"
,
false
,
true
{
"
token
"
,
"
text
"
,
false
,
true
{
"
created_at
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
"
updated_at
"
,
"
timestamp with time zone
"
,
false
,
true
{
"
ip_address
"
,
"
text
"
,
false
,
false
{
"
user_agent
"
,
"
text
"
,
false
,
false
{
"
user_id
"
,
"
text
"
,
false
,
true
{
"
active_organization_id
"
,
"
text
"
,
false
,
false
{
"
active_team_id
"
,
"
text
"
,
false
,
false
{
{
"
session_userId_idx
"
,
[
"
user_id
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
session_user_id_user_id_fk
"
,
"
session
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{}
,
{
{
"
session_token_unique
"
,
false
,
[
{}
,
{}
,
false
{
"
team
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
name
"
,
"
text
"
,
false
,
true
{
"
member_count
"
,
"
integer
"
,
false
,
true
,
0
{
"
organization_id
"
,
"
text
"
,
false
,
true
{
"
created_at
"
,
"
timestamp with time zone
"
,
false
,
true
{
"
updated_at
"
,
"
timestamp with time zone
"
,
false
,
false
{
{
"
team_organizationId_idx
"
,
[
"
organization_id
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
team_organization_id_organization_id_fk
"
,
"
team
"
,
"
organization
"
,
[
[
"
cascade
"
,
"
no action
"
{}
,
{}
,
{}
,
{}
,
false
{
"
team_member
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
team_id
"
,
"
text
"
,
false
,
true
{
"
user_id
"
,
"
text
"
,
false
,
true
{
"
membership_key
"
,
"
text
"
,
false
,
false
{
"
created_at
"
,
"
timestamp with time zone
"
,
false
,
false
{
{
"
teamMember_teamId_idx
"
,
[
"
team_id
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
"
teamMember_userId_idx
"
,
[
"
user_id
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
team_member_team_id_team_id_fk
"
,
"
team_member
"
,
"
team
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
team_member_user_id_user_id_fk
"
,
"
team_member
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{}
,
{
{
"
team_member_membership_key_unique
"
,
false
,
[
{}
,
{}
,
false
{
"
user
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
name
"
,
"
text
"
,
false
,
true
{
"
email
"
,
"
text
"
,
false
,
true
{
"
email_verified
"
,
"
boolean
"
,
false
,
true
,
false
{
"
image
"
,
"
text
"
,
false
,
false
{
"
created_at
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
"
updated_at
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
"
username
"
,
"
text
"
,
false
,
false
{
"
display_username
"
,
"
text
"
,
false
,
false
{}
,
{}
,
{}
,
{
{
"
user_email_unique
"
,
false
,
[
{
"
user_username_unique
"
,
false
,
[
{}
,
{}
,
false
{
"
user_email
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
user_id
"
,
"
text
"
,
false
,
true
{
"
email
"
,
"
text
"
,
false
,
true
{
"
verified
"
,
"
boolean
"
,
false
,
true
,
false
{
"
token
"
,
"
text
"
,
false
,
false
{
"
token_expires_at
"
,
"
timestamp with time zone
"
,
false
,
false
{
"
created_at
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
{
"
user_email_user_id_idx
"
,
[
"
user_id
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
user_email_user_id_user_id_fk
"
,
"
user_email
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{}
,
{
{
"
user_email_email_unique
"
,
false
,
[
{
"
user_email_token_unique
"
,
false
,
[
{}
,
{}
,
false
{
"
user_gpg_key
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
user_id
"
,
"
text
"
,
false
,
true
{
"
key_id
"
,
"
text
"
,
false
,
true
{
"
fingerprint
"
,
"
text
"
,
false
,
true
{
"
public_key
"
,
"
text
"
,
false
,
true
{
"
created_at
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
{
"
user_gpg_key_user_id_idx
"
,
[
"
user_id
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
user_gpg_key_user_id_user_id_fk
"
,
"
user_gpg_key
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{}
,
{
{
"
user_gpg_key_key_id_unique
"
,
false
,
[
{
"
user_gpg_key_fingerprint_unique
"
,
false
,
[
{}
,
{}
,
false
{
"
user_ssh_key
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
user_id
"
,
"
text
"
,
false
,
true
{
"
title
"
,
"
text
"
,
false
,
true
{
"
fingerprint
"
,
"
text
"
,
false
,
true
{
"
public_key
"
,
"
text
"
,
false
,
true
{
"
last_used_at
"
,
"
timestamp with time zone
"
,
false
,
false
{
"
created_at
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
{
"
user_ssh_key_user_id_idx
"
,
[
"
user_id
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
user_ssh_key_user_id_user_id_fk
"
,
"
user_ssh_key
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{}
,
{
{
"
user_ssh_key_fingerprint_unique
"
,
false
,
[
{}
,
{}
,
false
{
"
verification
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
identifier
"
,
"
text
"
,
false
,
true
{
"
value
"
,
"
text
"
,
false
,
true
{
"
expires_at
"
,
"
timestamp with time zone
"
,
false
,
true
{
"
created_at
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
"
updated_at
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
{
"
verification_identifier_idx
"
,
[
"
identifier
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{}
,
{}
,
{}
,
{}
,
{}
,
false
{
"
repository
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
name
"
,
"
text
"
,
false
,
true
{
"
slug
"
,
"
text
"
,
false
,
true
{
"
description
"
,
"
text
"
,
false
,
false
{
"
organizationId
"
,
"
text
"
,
false
,
false
{
"
ownerId
"
,
"
text
"
,
false
,
true
{
"
visibility
"
,
"
repository_visibility
"
,
"
public
"
,
false
,
true
,
"
'private'
"
{
"
defaultBranch
"
,
"
text
"
,
false
,
false
{
"
lastPushedAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
"
parentRepositoryId
"
,
"
text
"
,
false
,
false
{
"
createdAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
"
updatedAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
{
"
repository_org_slug_idx
"
,
[
"
organizationId
"
,
false
,
true
,
"
last
"
"
slug
"
,
false
,
true
,
"
last
"
true
,
"
\"
repository
\"
.
\"
organizationId
\"
is not null
"
,
false
,
"
btree
"
,
{}
{
"
repository_owner_slug_idx
"
,
[
"
ownerId
"
,
false
,
true
,
"
last
"
"
slug
"
,
false
,
true
,
"
last
"
true
,
"
\"
repository
\"
.
\"
organizationId
\"
is null
"
,
false
,
"
btree
"
,
{}
{
{
"
repository_organizationId_organization_id_fk
"
,
"
repository
"
,
"
organization
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
repository_ownerId_user_id_fk
"
,
"
repository
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
repository_parentRepositoryId_repository_id_fk
"
,
"
repository
"
,
"
repository
"
,
[
[
"
set null
"
,
"
no action
"
{}
,
{
{
"
repository_id_unique
"
,
false
,
[
{}
,
{}
,
false
{
"
repository_contribution
"
,
""
,
{
{
"
repository_id
"
,
"
text
"
,
false
,
true
{
"
author_email
"
,
"
text
"
,
false
,
true
{
"
day
"
,
"
date
"
,
false
,
true
{
"
author_name
"
,
"
text
"
,
false
,
true
{
"
author_id
"
,
"
text
"
,
false
,
false
{
"
commits
"
,
"
integer
"
,
false
,
true
,
0
{}
,
{
{
"
repository_contribution_repository_id_repository_id_fk
"
,
"
repository_contribution
"
,
"
repository
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
repository_contribution_author_id_user_id_fk
"
,
"
repository_contribution
"
,
"
user
"
,
[
[
"
set null
"
,
"
no action
"
{
{
"
repository_contribution_repository_id_author_email_day_pk
"
,
[
{}
,
{}
,
{}
,
false
{
"
repository_contribution_index
"
,
""
,
{
{
"
repository_id
"
,
"
text
"
,
false
,
true
{
"
indexed_commit_sha
"
,
"
text
"
,
false
,
true
{
"
updated_at
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{}
,
{
{
"
repository_contribution_index_repository_id_repository_id_fk
"
,
"
repository_contribution_index
"
,
"
repository
"
,
[
[
"
cascade
"
,
"
no action
"
{
{
"
repository_contribution_index_repository_id_pk
"
,
[
{}
,
{}
,
{}
,
false
{
"
repository_language_index
"
,
""
,
{
{
"
repositoryId
"
,
"
text
"
,
false
,
true
{
"
ref
"
,
"
text
"
,
false
,
true
{
"
indexedCommitSha
"
,
"
text
"
,
false
,
true
{
"
updatedAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{}
,
{
{
"
repository_language_index_repositoryId_repository_id_fk
"
,
"
repository_language_index
"
,
"
repository
"
,
[
[
"
cascade
"
,
"
no action
"
{
{
"
repository_language_index_repositoryId_ref_pk
"
,
[
{}
,
{}
,
{}
,
false
{
"
repository_language_stat
"
,
""
,
{
{
"
repositoryId
"
,
"
text
"
,
false
,
true
{
"
ref
"
,
"
text
"
,
false
,
true
{
"
language
"
,
"
text
"
,
false
,
true
{
"
bytes
"
,
"
bigint
"
,
false
,
true
{}
,
{
{
"
repository_language_stat_repositoryId_repository_id_fk
"
,
"
repository_language_stat
"
,
"
repository
"
,
[
[
"
cascade
"
,
"
no action
"
{
{
"
repository_language_stat_repositoryId_ref_language_pk
"
,
[
{}
,
{}
,
{}
,
false
{
"
repository_path_commit
"
,
""
,
{
{
"
repositoryId
"
,
"
text
"
,
false
,
true
{
"
ref
"
,
"
text
"
,
false
,
true
{
"
path
"
,
"
text
"
,
false
,
true
{
"
commitSha
"
,
"
text
"
,
false
,
true
{
"
committedAt
"
,
"
timestamp with time zone
"
,
false
,
true
{
"
subject
"
,
"
text
"
,
false
,
true
{}
,
{
{
"
repository_path_commit_repositoryId_repository_id_fk
"
,
"
repository_path_commit
"
,
"
repository
"
,
[
[
"
cascade
"
,
"
no action
"
{
{
"
repository_path_commit_repositoryId_ref_path_pk
"
,
[
{}
,
{}
,
{}
,
false
{
"
repository_ref_index
"
,
""
,
{
{
"
repositoryId
"
,
"
text
"
,
false
,
true
{
"
ref
"
,
"
text
"
,
false
,
true
{
"
indexedCommitSha
"
,
"
text
"
,
false
,
true
{
"
updatedAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{}
,
{
{
"
repository_ref_index_repositoryId_repository_id_fk
"
,
"
repository_ref_index
"
,
"
repository
"
,
[
[
"
cascade
"
,
"
no action
"
{
{
"
repository_ref_index_repositoryId_ref_pk
"
,
[
{}
,
{}
,
{}
,
false
{
"
stars
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
userId
"
,
"
text
"
,
false
,
true
{
"
repositoryId
"
,
"
text
"
,
false
,
true
{
"
createdAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
"
updatedAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
{
"
stars_userId_repositoryId_index
"
,
[
"
userId
"
,
false
,
true
,
"
last
"
"
repositoryId
"
,
false
,
true
,
"
last
"
true
,
false
,
"
btree
"
,
{}
{
{
"
stars_userId_user_id_fk
"
,
"
stars
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
stars_repositoryId_repository_id_fk
"
,
"
stars
"
,
"
repository
"
,
[
[
"
cascade
"
,
"
no action
"
{}
,
{
{
"
stars_id_unique
"
,
false
,
[
{}
,
{}
,
false
{
"
pull_request
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
issueId
"
,
"
text
"
,
false
,
true
{
"
state
"
,
"
pull_request_state
"
,
"
public
"
,
false
,
true
,
"
'open'
"
{
"
draft
"
,
"
boolean
"
,
false
,
true
,
false
{
"
baseRepositoryId
"
,
"
text
"
,
false
,
true
{
"
baseRef
"
,
"
text
"
,
false
,
true
{
"
headRepositoryId
"
,
"
text
"
,
false
,
false
{
"
headRef
"
,
"
text
"
,
false
,
true
{
"
headSha
"
,
"
text
"
,
false
,
true
{
"
mergeCommitSha
"
,
"
text
"
,
false
,
false
{
"
mergedAt
"
,
"
timestamp with time zone
"
,
false
,
false
{
{
"
pull_request_open_branch_idx
"
,
[
"
baseRepositoryId
"
,
false
,
true
,
"
last
"
"
baseRef
"
,
false
,
true
,
"
last
"
"
headRepositoryId
"
,
false
,
true
,
"
last
"
"
headRef
"
,
false
,
true
,
"
last
"
true
,
"
\"
pull_request
\"
.
\"
state
\"
= 'open'
"
,
false
,
"
btree
"
,
{}
{
"
pull_request_head_idx
"
,
[
"
headRepositoryId
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
"
pull_request_base_state_idx
"
,
[
"
baseRepositoryId
"
,
false
,
true
,
"
last
"
"
state
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
pull_request_issueId_issue_id_fk
"
,
"
pull_request
"
,
"
issue
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
pull_request_baseRepositoryId_repository_id_fk
"
,
"
pull_request
"
,
"
repository
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
pull_request_headRepositoryId_repository_id_fk
"
,
"
pull_request
"
,
"
repository
"
,
[
[
"
set null
"
,
"
no action
"
{}
,
{
{
"
pull_request_id_unique
"
,
false
,
[
{
"
pull_request_issueId_unique
"
,
false
,
[
{}
,
{}
,
false
{
"
pull_request_review
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
pullRequestId
"
,
"
text
"
,
false
,
true
{
"
authorId
"
,
"
text
"
,
false
,
true
{
"
state
"
,
"
pull_request_review_state
"
,
"
public
"
,
false
,
false
{
"
body
"
,
"
text
"
,
false
,
false
{
"
commitSha
"
,
"
text
"
,
false
,
true
{
"
dismissedById
"
,
"
text
"
,
false
,
false
{
"
dismissalMessage
"
,
"
text
"
,
false
,
false
{
"
createdAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
"
submittedAt
"
,
"
timestamp with time zone
"
,
false
,
false
{
{
"
pull_request_review_pull_idx
"
,
[
"
pullRequestId
"
,
false
,
true
,
"
last
"
"
createdAt
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
"
pull_request_review_pending_idx
"
,
[
"
pullRequestId
"
,
false
,
true
,
"
last
"
"
authorId
"
,
false
,
true
,
"
last
"
true
,
"
\"
pull_request_review
\"
.
\"
submittedAt
\"
is null
"
,
false
,
"
btree
"
,
{}
{
{
"
pull_request_review_pullRequestId_pull_request_id_fk
"
,
"
pull_request_review
"
,
"
pull_request
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
pull_request_review_authorId_user_id_fk
"
,
"
pull_request_review
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
pull_request_review_dismissedById_user_id_fk
"
,
"
pull_request_review
"
,
"
user
"
,
[
[
"
set null
"
,
"
no action
"
{}
,
{
{
"
pull_request_review_id_unique
"
,
false
,
[
{}
,
{}
,
false
{
"
pull_request_review_comment
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
pullRequestId
"
,
"
text
"
,
false
,
true
{
"
reviewId
"
,
"
text
"
,
false
,
false
{
"
inReplyToId
"
,
"
text
"
,
false
,
false
{
"
authorId
"
,
"
text
"
,
false
,
true
{
"
path
"
,
"
text
"
,
false
,
true
{
"
side
"
,
"
diff_side
"
,
"
public
"
,
false
,
true
{
"
line
"
,
"
integer
"
,
false
,
true
{
"
commitSha
"
,
"
text
"
,
false
,
true
{
"
body
"
,
"
text
"
,
false
,
true
{
"
createdAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
"
updatedAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
{
"
pull_request_review_comment_review_idx
"
,
[
"
reviewId
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
"
pull_request_review_comment_reply_idx
"
,
[
"
inReplyToId
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
"
pull_request_review_comment_pull_idx
"
,
[
"
pullRequestId
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
pull_request_review_comment_pullRequestId_pull_request_id_fk
"
,
"
pull_request_review_comment
"
,
"
pull_request
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
pull_request_review_comment_reviewId_pull_request_review_id_fk
"
,
"
pull_request_review_comment
"
,
"
pull_request_review
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
pull_request_review_comment_inReplyToId_pull_request_review_comment_id_fk
"
,
"
pull_request_review_comment
"
,
"
pull_request_review_comment
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
pull_request_review_comment_authorId_user_id_fk
"
,
"
pull_request_review_comment
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{}
,
{
{
"
pull_request_review_comment_id_unique
"
,
false
,
[
{}
,
{}
,
false
{
"
issue
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
repositoryId
"
,
"
text
"
,
false
,
true
{
"
number
"
,
"
integer
"
,
false
,
true
{
"
title
"
,
"
text
"
,
false
,
true
{
"
body
"
,
"
text
"
,
false
,
false
{
"
state
"
,
"
issue_state
"
,
"
public
"
,
false
,
true
,
"
'open'
"
{
"
isPullRequest
"
,
"
boolean
"
,
false
,
true
,
false
{
"
authorId
"
,
"
text
"
,
false
,
true
{
"
closedById
"
,
"
text
"
,
false
,
false
{
"
commentCount
"
,
"
integer
"
,
false
,
true
,
0
{
"
closedAt
"
,
"
timestamp with time zone
"
,
false
,
false
{
"
createdAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
"
updatedAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
{
"
issue_repo_number_idx
"
,
[
"
repositoryId
"
,
false
,
true
,
"
last
"
"
number
"
,
false
,
true
,
"
last
"
true
,
false
,
"
btree
"
,
{}
{
"
issue_repo_kind_state_idx
"
,
[
"
repositoryId
"
,
false
,
true
,
"
last
"
"
isPullRequest
"
,
false
,
true
,
"
last
"
"
state
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
"
issue_repo_updated_idx
"
,
[
"
repositoryId
"
,
false
,
true
,
"
last
"
"
updatedAt
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
issue_repositoryId_repository_id_fk
"
,
"
issue
"
,
"
repository
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
issue_authorId_user_id_fk
"
,
"
issue
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
issue_closedById_user_id_fk
"
,
"
issue
"
,
"
user
"
,
[
[
"
set null
"
,
"
no action
"
{}
,
{
{
"
issue_id_unique
"
,
false
,
[
{}
,
{}
,
false
{
"
issue_assignee
"
,
""
,
{
{
"
issueId
"
,
"
text
"
,
false
,
true
{
"
userId
"
,
"
text
"
,
false
,
true
{}
,
{
{
"
issue_assignee_issueId_issue_id_fk
"
,
"
issue_assignee
"
,
"
issue
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
issue_assignee_userId_user_id_fk
"
,
"
issue_assignee
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{
{
"
issue_assignee_issueId_userId_pk
"
,
[
{}
,
{}
,
{}
,
false
{
"
issue_comment
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
issueId
"
,
"
text
"
,
false
,
true
{
"
authorId
"
,
"
text
"
,
false
,
true
{
"
body
"
,
"
text
"
,
false
,
true
{
"
createdAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
"
updatedAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
{
"
issue_comment_issue_idx
"
,
[
"
issueId
"
,
false
,
true
,
"
last
"
"
createdAt
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
issue_comment_issueId_issue_id_fk
"
,
"
issue_comment
"
,
"
issue
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
issue_comment_authorId_user_id_fk
"
,
"
issue_comment
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{}
,
{
{
"
issue_comment_id_unique
"
,
false
,
[
{}
,
{}
,
false
{
"
issue_event
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
issueId
"
,
"
text
"
,
false
,
true
{
"
actorId
"
,
"
text
"
,
false
,
false
{
"
type
"
,
"
issue_event_type
"
,
"
public
"
,
false
,
true
{
"
labelName
"
,
"
text
"
,
false
,
false
{
"
assigneeUsername
"
,
"
text
"
,
false
,
false
{
"
oldTitle
"
,
"
text
"
,
false
,
false
{
"
newTitle
"
,
"
text
"
,
false
,
false
{
"
sourceIssueId
"
,
"
text
"
,
false
,
false
{
"
commitSha
"
,
"
text
"
,
false
,
false
{
"
createdAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
{
"
issue_event_issue_idx
"
,
[
"
issueId
"
,
false
,
true
,
"
last
"
"
createdAt
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
issue_event_issueId_issue_id_fk
"
,
"
issue_event
"
,
"
issue
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
issue_event_actorId_user_id_fk
"
,
"
issue_event
"
,
"
user
"
,
[
[
"
set null
"
,
"
no action
"
{
"
issue_event_sourceIssueId_issue_id_fk
"
,
"
issue_event
"
,
"
issue
"
,
[
[
"
set null
"
,
"
no action
"
{}
,
{
{
"
issue_event_id_unique
"
,
false
,
[
{}
,
{}
,
false
{
"
issue_label
"
,
""
,
{
{
"
issueId
"
,
"
text
"
,
false
,
true
{
"
labelId
"
,
"
text
"
,
false
,
true
{}
,
{
{
"
issue_label_issueId_issue_id_fk
"
,
"
issue_label
"
,
"
issue
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
issue_label_labelId_label_id_fk
"
,
"
issue_label
"
,
"
label
"
,
[
[
"
cascade
"
,
"
no action
"
{
{
"
issue_label_issueId_labelId_pk
"
,
[
{}
,
{}
,
{}
,
false
{
"
issue_reference
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
sourceType
"
,
"
issue_reference_source
"
,
"
public
"
,
false
,
true
{
"
sourceId
"
,
"
text
"
,
false
,
true
{
"
sourceRepositoryId
"
,
"
text
"
,
false
,
true
{
"
sourceIssueId
"
,
"
text
"
,
false
,
false
{
"
targetIssueId
"
,
"
text
"
,
false
,
true
{
"
closing
"
,
"
boolean
"
,
false
,
true
,
false
{
"
actorId
"
,
"
text
"
,
false
,
false
{
"
createdAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
{
"
issue_reference_source_target_idx
"
,
[
"
sourceType
"
,
false
,
true
,
"
last
"
"
sourceId
"
,
false
,
true
,
"
last
"
"
targetIssueId
"
,
false
,
true
,
"
last
"
true
,
false
,
"
btree
"
,
{}
{
"
issue_reference_target_idx
"
,
[
"
targetIssueId
"
,
false
,
true
,
"
last
"
"
createdAt
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
"
issue_reference_source_issue_idx
"
,
[
"
sourceIssueId
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
issue_reference_sourceRepositoryId_repository_id_fk
"
,
"
issue_reference
"
,
"
repository
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
issue_reference_sourceIssueId_issue_id_fk
"
,
"
issue_reference
"
,
"
issue
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
issue_reference_targetIssueId_issue_id_fk
"
,
"
issue_reference
"
,
"
issue
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
issue_reference_actorId_user_id_fk
"
,
"
issue_reference
"
,
"
user
"
,
[
[
"
set null
"
,
"
no action
"
{}
,
{
{
"
issue_reference_id_unique
"
,
false
,
[
{}
,
{}
,
false
{
"
label
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
repositoryId
"
,
"
text
"
,
false
,
true
{
"
name
"
,
"
text
"
,
false
,
true
{
"
description
"
,
"
text
"
,
false
,
false
{
"
color
"
,
"
text
"
,
false
,
true
,
"
'ededed'
"
{
"
createdAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
"
updatedAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
{
"
label_repo_name_idx
"
,
[
"
repositoryId
"
,
false
,
true
,
"
last
"
"
name
"
,
false
,
true
,
"
last
"
true
,
false
,
"
btree
"
,
{}
{
"
label_repo_idx
"
,
[
"
repositoryId
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
label_repositoryId_repository_id_fk
"
,
"
label
"
,
"
repository
"
,
[
[
"
cascade
"
,
"
no action
"
{}
,
{
{
"
label_id_unique
"
,
false
,
[
{}
,
{}
,
false
{
"
repository_collaborator
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
repositoryId
"
,
"
text
"
,
false
,
true
{
"
userId
"
,
"
text
"
,
false
,
true
{
"
role
"
,
"
repository_role
"
,
"
public
"
,
false
,
true
{
"
invitedById
"
,
"
text
"
,
false
,
false
{
"
createdAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
"
acceptedAt
"
,
"
timestamp with time zone
"
,
false
,
false
{
{
"
repository_collaborator_repository_user_idx
"
,
[
"
repositoryId
"
,
false
,
true
,
"
last
"
"
userId
"
,
false
,
true
,
"
last
"
true
,
false
,
"
btree
"
,
{}
{
"
repository_collaborator_user_idx
"
,
[
"
userId
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
repository_collaborator_repositoryId_repository_id_fk
"
,
"
repository_collaborator
"
,
"
repository
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
repository_collaborator_userId_user_id_fk
"
,
"
repository_collaborator
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
repository_collaborator_invitedById_user_id_fk
"
,
"
repository_collaborator
"
,
"
user
"
,
[
[
"
set null
"
,
"
no action
"
{}
,
{}
,
{}
,
{}
,
false
{
"
repository_team
"
,
""
,
{
{
"
repositoryId
"
,
"
text
"
,
false
,
true
{
"
teamId
"
,
"
text
"
,
false
,
true
{
"
role
"
,
"
repository_role
"
,
"
public
"
,
false
,
true
{
"
createdAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
{
"
repository_team_team_idx
"
,
[
"
teamId
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
repository_team_repositoryId_repository_id_fk
"
,
"
repository_team
"
,
"
repository
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
repository_team_teamId_team_id_fk
"
,
"
repository_team
"
,
"
team
"
,
[
[
"
cascade
"
,
"
no action
"
{
{
"
repository_team_repositoryId_teamId_pk
"
,
[
{}
,
{}
,
{}
,
false
{
"
organization_pinned_repository
"
,
""
,
{
{
"
organizationId
"
,
"
text
"
,
false
,
true
{
"
repositoryId
"
,
"
text
"
,
false
,
true
{
"
position
"
,
"
integer
"
,
false
,
true
{}
,
{
{
"
organization_pinned_repository_organizationId_organization_id_fk
"
,
"
organization_pinned_repository
"
,
"
organization
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
organization_pinned_repository_repositoryId_repository_id_fk
"
,
"
organization_pinned_repository
"
,
"
repository
"
,
[
[
"
cascade
"
,
"
no action
"
{
{
"
organization_pinned_repository_organizationId_repositoryId_pk
"
,
[
{}
,
{}
,
{}
,
false
{
"
organization_public_member
"
,
""
,
{
{
"
organizationId
"
,
"
text
"
,
false
,
true
{
"
userId
"
,
"
text
"
,
false
,
true
{}
,
{
{
"
organization_public_member_organizationId_organization_id_fk
"
,
"
organization_public_member
"
,
"
organization
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
organization_public_member_userId_user_id_fk
"
,
"
organization_public_member
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{
{
"
organization_public_member_organizationId_userId_pk
"
,
[
{}
,
{}
,
{}
,
false
{
"
organization_settings
"
,
""
,
{
{
"
organizationId
"
,
"
text
"
,
true
,
true
{
"
basePermission
"
,
"
repository_role
"
,
"
public
"
,
false
,
false
,
"
'read'
"
{
"
membersCanCreatePublicRepositories
"
,
"
boolean
"
,
false
,
true
,
true
{
"
membersCanCreatePrivateRepositories
"
,
"
boolean
"
,
false
,
true
,
true
{
"
allowPrivateForks
"
,
"
boolean
"
,
false
,
true
,
false
{
"
defaultBranch
"
,
"
text
"
,
false
,
false
{
"
description
"
,
"
text
"
,
false
,
false
{
"
website
"
,
"
text
"
,
false
,
false
{
"
location
"
,
"
text
"
,
false
,
false
{
"
email
"
,
"
text
"
,
false
,
false
{
"
updatedAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{}
,
{
{
"
organization_settings_organizationId_organization_id_fk
"
,
"
organization_settings
"
,
"
organization
"
,
[
[
"
cascade
"
,
"
no action
"
{}
,
{}
,
{}
,
{}
,
false
{
"
repository_redirect
"
,
""
,
{
{
"
ownerName
"
,
"
text
"
,
false
,
true
{
"
slug
"
,
"
text
"
,
false
,
true
{
"
repositoryId
"
,
"
text
"
,
false
,
true
{
"
createdAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
{
"
repository_redirect_name_idx
"
,
[
"
lower(
\"
ownerName
\"
)
"
,
true
,
true
,
"
last
"
"
slug
"
,
false
,
true
,
"
last
"
true
,
false
,
"
btree
"
,
{}
{
"
repository_redirect_repository_idx
"
,
[
"
repositoryId
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
repository_redirect_repositoryId_repository_id_fk
"
,
"
repository_redirect
"
,
"
repository
"
,
[
[
"
cascade
"
,
"
no action
"
{}
,
{}
,
{}
,
{}
,
false
{
"
repository_transfer
"
,
""
,
{
{
"
repositoryId
"
,
"
text
"
,
true
,
true
{
"
toUserId
"
,
"
text
"
,
false
,
false
{
"
toOrganizationId
"
,
"
text
"
,
false
,
false
{
"
requestedById
"
,
"
text
"
,
false
,
false
{
"
createdAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{}
,
{
{
"
repository_transfer_repositoryId_repository_id_fk
"
,
"
repository_transfer
"
,
"
repository
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
repository_transfer_toUserId_user_id_fk
"
,
"
repository_transfer
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
repository_transfer_toOrganizationId_organization_id_fk
"
,
"
repository_transfer
"
,
"
organization
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
repository_transfer_requestedById_user_id_fk
"
,
"
repository_transfer
"
,
"
user
"
,
[
[
"
set null
"
,
"
no action
"
{}
,
{}
,
{}
,
{}
,
false
{
"
team_maintainer
"
,
""
,
{
{
"
teamId
"
,
"
text
"
,
false
,
true
{
"
userId
"
,
"
text
"
,
false
,
true
{}
,
{
{
"
team_maintainer_teamId_team_id_fk
"
,
"
team_maintainer
"
,
"
team
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
team_maintainer_userId_user_id_fk
"
,
"
team_maintainer
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{
{
"
team_maintainer_teamId_userId_pk
"
,
[
{}
,
{}
,
{}
,
false
{
"
release
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
repositoryId
"
,
"
text
"
,
false
,
true
{
"
tagName
"
,
"
text
"
,
false
,
true
{
"
name
"
,
"
text
"
,
false
,
false
{
"
body
"
,
"
text
"
,
false
,
false
{
"
isDraft
"
,
"
boolean
"
,
false
,
true
,
false
{
"
isPrerelease
"
,
"
boolean
"
,
false
,
true
,
false
{
"
authorId
"
,
"
text
"
,
false
,
false
{
"
publishedAt
"
,
"
timestamp with time zone
"
,
false
,
false
{
"
createdAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
"
updatedAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
{
"
release_repository_tag_idx
"
,
[
"
repositoryId
"
,
false
,
true
,
"
last
"
"
tagName
"
,
false
,
true
,
"
last
"
true
,
false
,
"
btree
"
,
{}
{
"
release_repository_created_idx
"
,
[
"
repositoryId
"
,
false
,
true
,
"
last
"
"
createdAt
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
release_repositoryId_repository_id_fk
"
,
"
release
"
,
"
repository
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
release_authorId_user_id_fk
"
,
"
release
"
,
"
user
"
,
[
[
"
set null
"
,
"
no action
"
{}
,
{}
,
{}
,
{}
,
false
{
"
release_asset
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
releaseId
"
,
"
text
"
,
false
,
true
{
"
repositoryId
"
,
"
text
"
,
false
,
true
{
"
name
"
,
"
text
"
,
false
,
true
{
"
contentType
"
,
"
text
"
,
false
,
true
{
"
size
"
,
"
bigint
"
,
false
,
true
{
"
state
"
,
"
release_asset_state
"
,
"
public
"
,
false
,
true
,
"
'uploading'
"
{
"
downloadCount
"
,
"
integer
"
,
false
,
true
,
0
{
"
uploaderId
"
,
"
text
"
,
false
,
false
{
"
createdAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
{
"
release_asset_release_name_idx
"
,
[
"
releaseId
"
,
false
,
true
,
"
last
"
"
name
"
,
false
,
true
,
"
last
"
true
,
false
,
"
btree
"
,
{}
{
"
release_asset_repository_idx
"
,
[
"
repositoryId
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
release_asset_releaseId_release_id_fk
"
,
"
release_asset
"
,
"
release
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
release_asset_repositoryId_repository_id_fk
"
,
"
release_asset
"
,
"
repository
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
release_asset_uploaderId_user_id_fk
"
,
"
release_asset
"
,
"
user
"
,
[
[
"
set null
"
,
"
no action
"
{}
,
{}
,
{}
,
{}
,
false
{
{
"
repository_visibility
"
,
"
public
"
,
[
{
"
diff_side
"
,
"
public
"
,
[
{
"
pull_request_review_state
"
,
"
public
"
,
[
{
"
pull_request_state
"
,
"
public
"
,
[
{
"
issue_event_type
"
,
"
public
"
,
[
{
"
issue_reference_source
"
,
"
public
"
,
[
{
"
issue_state
"
,
"
public
"
,
[
{
"
repository_role
"
,
"
public
"
,
[
{
"
release_asset_state
"
,
"
public
"
,
[
{}
,
{}
,
{}
,
{}
,
{}
,
{
{}
,
{}
,
{}