add ssh setup7881b1a20 days ago3230 lines · 81.5 KB | 1 | { |
| 2 | "id": "b711f049-a7bc-4cb8-84c0-0d0cca7e41fe", |
| 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 | "lastPushedAt": |
| 1522 | "name": |
| 1523 | "type": |
| 1524 | "primaryKey": |
| 1525 | "notNull": |
| 1526 | "default": |
| 1527 | }, |
| 1528 | "parentRepositoryId": |
| 1529 | "name": |
| 1530 | "type": |
| 1531 | "primaryKey": |
| 1532 | "notNull": |
| 1533 | }, |
| 1534 | "createdAt": |
| 1535 | "name": |
| 1536 | "type": |
| 1537 | "primaryKey": |
| 1538 | "notNull": |
| 1539 | "default": |
| 1540 | }, |
| 1541 | "updatedAt": |
| 1542 | "name": |
| 1543 | "type": |
| 1544 | "primaryKey": |
| 1545 | "notNull": |
| 1546 | "default": |
| 1547 | } |
| 1548 | }, |
| 1549 | "indexes": |
| 1550 | "repository_org_slug_idx": |
| 1551 | "name": |
| 1552 | "columns": |
| 1553 | { |
| 1554 | "expression": |
| 1555 | "isExpression": |
| 1556 | "asc": |
| 1557 | "nulls": |
| 1558 | }, |
| 1559 | { |
| 1560 | "expression": |
| 1561 | "isExpression": |
| 1562 | "asc": |
| 1563 | "nulls": |
| 1564 | } |
| 1565 | ], |
| 1566 | "isUnique": |
| 1567 | "where": |
| 1568 | "concurrently": |
| 1569 | "method": |
| 1570 | "with": |
| 1571 | }, |
| 1572 | "repository_owner_slug_idx": |
| 1573 | "name": |
| 1574 | "columns": |
| 1575 | { |
| 1576 | "expression": |
| 1577 | "isExpression": |
| 1578 | "asc": |
| 1579 | "nulls": |
| 1580 | }, |
| 1581 | { |
| 1582 | "expression": |
| 1583 | "isExpression": |
| 1584 | "asc": |
| 1585 | "nulls": |
| 1586 | } |
| 1587 | ], |
| 1588 | "isUnique": |
| 1589 | "where": |
| 1590 | "concurrently": |
| 1591 | "method": |
| 1592 | "with": |
| 1593 | } |
| 1594 | }, |
| 1595 | "foreignKeys": |
| 1596 | "repository_organizationId_organization_id_fk": |
| 1597 | "name": |
| 1598 | "tableFrom": |
| 1599 | "tableTo": |
| 1600 | "columnsFrom": |
| 1601 | "organizationId" |
| 1602 | ], |
| 1603 | "columnsTo": |
| 1604 | "id" |
| 1605 | ], |
| 1606 | "onDelete": |
| 1607 | "onUpdate": |
| 1608 | }, |
| 1609 | "repository_ownerId_user_id_fk": |
| 1610 | "name": |
| 1611 | "tableFrom": |
| 1612 | "tableTo": |
| 1613 | "columnsFrom": |
| 1614 | "ownerId" |
| 1615 | ], |
| 1616 | "columnsTo": |
| 1617 | "id" |
| 1618 | ], |
| 1619 | "onDelete": |
| 1620 | "onUpdate": |
| 1621 | }, |
| 1622 | "repository_parentRepositoryId_repository_id_fk": |
| 1623 | "name": |
| 1624 | "tableFrom": |
| 1625 | "tableTo": |
| 1626 | "columnsFrom": |
| 1627 | "parentRepositoryId" |
| 1628 | ], |
| 1629 | "columnsTo": |
| 1630 | "id" |
| 1631 | ], |
| 1632 | "onDelete": |
| 1633 | "onUpdate": |
| 1634 | } |
| 1635 | }, |
| 1636 | "compositePrimaryKeys": |
| 1637 | "uniqueConstraints": |
| 1638 | "repository_id_unique": |
| 1639 | "name": |
| 1640 | "nullsNotDistinct": |
| 1641 | "columns": |
| 1642 | "id" |
| 1643 | ] |
| 1644 | } |
| 1645 | }, |
| 1646 | "policies": |
| 1647 | "checkConstraints": |
| 1648 | "isRLSEnabled": |
| 1649 | }, |
| 1650 | "public.repository_contribution": |
| 1651 | "name": |
| 1652 | "schema": |
| 1653 | "columns": |
| 1654 | "repository_id": |
| 1655 | "name": |
| 1656 | "type": |
| 1657 | "primaryKey": |
| 1658 | "notNull": |
| 1659 | }, |
| 1660 | "author_email": |
| 1661 | "name": |
| 1662 | "type": |
| 1663 | "primaryKey": |
| 1664 | "notNull": |
| 1665 | }, |
| 1666 | "day": |
| 1667 | "name": |
| 1668 | "type": |
| 1669 | "primaryKey": |
| 1670 | "notNull": |
| 1671 | }, |
| 1672 | "author_name": |
| 1673 | "name": |
| 1674 | "type": |
| 1675 | "primaryKey": |
| 1676 | "notNull": |
| 1677 | }, |
| 1678 | "author_id": |
| 1679 | "name": |
| 1680 | "type": |
| 1681 | "primaryKey": |
| 1682 | "notNull": |
| 1683 | }, |
| 1684 | "commits": |
| 1685 | "name": |
| 1686 | "type": |
| 1687 | "primaryKey": |
| 1688 | "notNull": |
| 1689 | "default": |
| 1690 | } |
| 1691 | }, |
| 1692 | "indexes": |
| 1693 | "foreignKeys": |
| 1694 | "repository_contribution_repository_id_repository_id_fk": |
| 1695 | "name": |
| 1696 | "tableFrom": |
| 1697 | "tableTo": |
| 1698 | "columnsFrom": |
| 1699 | "repository_id" |
| 1700 | ], |
| 1701 | "columnsTo": |
| 1702 | "id" |
| 1703 | ], |
| 1704 | "onDelete": |
| 1705 | "onUpdate": |
| 1706 | }, |
| 1707 | "repository_contribution_author_id_user_id_fk": |
| 1708 | "name": |
| 1709 | "tableFrom": |
| 1710 | "tableTo": |
| 1711 | "columnsFrom": |
| 1712 | "author_id" |
| 1713 | ], |
| 1714 | "columnsTo": |
| 1715 | "id" |
| 1716 | ], |
| 1717 | "onDelete": |
| 1718 | "onUpdate": |
| 1719 | } |
| 1720 | }, |
| 1721 | "compositePrimaryKeys": |
| 1722 | "repository_contribution_repository_id_author_email_day_pk": |
| 1723 | "name": |
| 1724 | "columns": |
| 1725 | "repository_id", |
| 1726 | "author_email", |
| 1727 | "day" |
| 1728 | ] |
| 1729 | } |
| 1730 | }, |
| 1731 | "uniqueConstraints": |
| 1732 | "policies": |
| 1733 | "checkConstraints": |
| 1734 | "isRLSEnabled": |
| 1735 | }, |
| 1736 | "public.repository_contribution_index": |
| 1737 | "name": |
| 1738 | "schema": |
| 1739 | "columns": |
| 1740 | "repository_id": |
| 1741 | "name": |
| 1742 | "type": |
| 1743 | "primaryKey": |
| 1744 | "notNull": |
| 1745 | }, |
| 1746 | "indexed_commit_sha": |
| 1747 | "name": |
| 1748 | "type": |
| 1749 | "primaryKey": |
| 1750 | "notNull": |
| 1751 | }, |
| 1752 | "updated_at": |
| 1753 | "name": |
| 1754 | "type": |
| 1755 | "primaryKey": |
| 1756 | "notNull": |
| 1757 | "default": |
| 1758 | } |
| 1759 | }, |
| 1760 | "indexes": |
| 1761 | "foreignKeys": |
| 1762 | "repository_contribution_index_repository_id_repository_id_fk": |
| 1763 | "name": |
| 1764 | "tableFrom": |
| 1765 | "tableTo": |
| 1766 | "columnsFrom": |
| 1767 | "repository_id" |
| 1768 | ], |
| 1769 | "columnsTo": |
| 1770 | "id" |
| 1771 | ], |
| 1772 | "onDelete": |
| 1773 | "onUpdate": |
| 1774 | } |
| 1775 | }, |
| 1776 | "compositePrimaryKeys": |
| 1777 | "repository_contribution_index_repository_id_pk": |
| 1778 | "name": |
| 1779 | "columns": |
| 1780 | "repository_id" |
| 1781 | ] |
| 1782 | } |
| 1783 | }, |
| 1784 | "uniqueConstraints": |
| 1785 | "policies": |
| 1786 | "checkConstraints": |
| 1787 | "isRLSEnabled": |
| 1788 | }, |
| 1789 | "public.repository_language_index": |
| 1790 | "name": |
| 1791 | "schema": |
| 1792 | "columns": |
| 1793 | "repositoryId": |
| 1794 | "name": |
| 1795 | "type": |
| 1796 | "primaryKey": |
| 1797 | "notNull": |
| 1798 | }, |
| 1799 | "ref": |
| 1800 | "name": |
| 1801 | "type": |
| 1802 | "primaryKey": |
| 1803 | "notNull": |
| 1804 | }, |
| 1805 | "indexedCommitSha": |
| 1806 | "name": |
| 1807 | "type": |
| 1808 | "primaryKey": |
| 1809 | "notNull": |
| 1810 | }, |
| 1811 | "updatedAt": |
| 1812 | "name": |
| 1813 | "type": |
| 1814 | "primaryKey": |
| 1815 | "notNull": |
| 1816 | "default": |
| 1817 | } |
| 1818 | }, |
| 1819 | "indexes": |
| 1820 | "foreignKeys": |
| 1821 | "repository_language_index_repositoryId_repository_id_fk": |
| 1822 | "name": |
| 1823 | "tableFrom": |
| 1824 | "tableTo": |
| 1825 | "columnsFrom": |
| 1826 | "repositoryId" |
| 1827 | ], |
| 1828 | "columnsTo": |
| 1829 | "id" |
| 1830 | ], |
| 1831 | "onDelete": |
| 1832 | "onUpdate": |
| 1833 | } |
| 1834 | }, |
| 1835 | "compositePrimaryKeys": |
| 1836 | "repository_language_index_repositoryId_ref_pk": |
| 1837 | "name": |
| 1838 | "columns": |
| 1839 | "repositoryId", |
| 1840 | "ref" |
| 1841 | ] |
| 1842 | } |
| 1843 | }, |
| 1844 | "uniqueConstraints": |
| 1845 | "policies": |
| 1846 | "checkConstraints": |
| 1847 | "isRLSEnabled": |
| 1848 | }, |
| 1849 | "public.repository_language_stat": |
| 1850 | "name": |
| 1851 | "schema": |
| 1852 | "columns": |
| 1853 | "repositoryId": |
| 1854 | "name": |
| 1855 | "type": |
| 1856 | "primaryKey": |
| 1857 | "notNull": |
| 1858 | }, |
| 1859 | "ref": |
| 1860 | "name": |
| 1861 | "type": |
| 1862 | "primaryKey": |
| 1863 | "notNull": |
| 1864 | }, |
| 1865 | "language": |
| 1866 | "name": |
| 1867 | "type": |
| 1868 | "primaryKey": |
| 1869 | "notNull": |
| 1870 | }, |
| 1871 | "bytes": |
| 1872 | "name": |
| 1873 | "type": |
| 1874 | "primaryKey": |
| 1875 | "notNull": |
| 1876 | } |
| 1877 | }, |
| 1878 | "indexes": |
| 1879 | "foreignKeys": |
| 1880 | "repository_language_stat_repositoryId_repository_id_fk": |
| 1881 | "name": |
| 1882 | "tableFrom": |
| 1883 | "tableTo": |
| 1884 | "columnsFrom": |
| 1885 | "repositoryId" |
| 1886 | ], |
| 1887 | "columnsTo": |
| 1888 | "id" |
| 1889 | ], |
| 1890 | "onDelete": |
| 1891 | "onUpdate": |
| 1892 | } |
| 1893 | }, |
| 1894 | "compositePrimaryKeys": |
| 1895 | "repository_language_stat_repositoryId_ref_language_pk": |
| 1896 | "name": |
| 1897 | "columns": |
| 1898 | "repositoryId", |
| 1899 | "ref", |
| 1900 | "language" |
| 1901 | ] |
| 1902 | } |
| 1903 | }, |
| 1904 | "uniqueConstraints": |
| 1905 | "policies": |
| 1906 | "checkConstraints": |
| 1907 | "isRLSEnabled": |
| 1908 | }, |
| 1909 | "public.repository_path_commit": |
| 1910 | "name": |
| 1911 | "schema": |
| 1912 | "columns": |
| 1913 | "repositoryId": |
| 1914 | "name": |
| 1915 | "type": |
| 1916 | "primaryKey": |
| 1917 | "notNull": |
| 1918 | }, |
| 1919 | "ref": |
| 1920 | "name": |
| 1921 | "type": |
| 1922 | "primaryKey": |
| 1923 | "notNull": |
| 1924 | }, |
| 1925 | "path": |
| 1926 | "name": |
| 1927 | "type": |
| 1928 | "primaryKey": |
| 1929 | "notNull": |
| 1930 | }, |
| 1931 | "commitSha": |
| 1932 | "name": |
| 1933 | "type": |
| 1934 | "primaryKey": |
| 1935 | "notNull": |
| 1936 | }, |
| 1937 | "committedAt": |
| 1938 | "name": |
| 1939 | "type": |
| 1940 | "primaryKey": |
| 1941 | "notNull": |
| 1942 | }, |
| 1943 | "subject": |
| 1944 | "name": |
| 1945 | "type": |
| 1946 | "primaryKey": |
| 1947 | "notNull": |
| 1948 | } |
| 1949 | }, |
| 1950 | "indexes": |
| 1951 | "foreignKeys": |
| 1952 | "repository_path_commit_repositoryId_repository_id_fk": |
| 1953 | "name": |
| 1954 | "tableFrom": |
| 1955 | "tableTo": |
| 1956 | "columnsFrom": |
| 1957 | "repositoryId" |
| 1958 | ], |
| 1959 | "columnsTo": |
| 1960 | "id" |
| 1961 | ], |
| 1962 | "onDelete": |
| 1963 | "onUpdate": |
| 1964 | } |
| 1965 | }, |
| 1966 | "compositePrimaryKeys": |
| 1967 | "repository_path_commit_repositoryId_ref_path_pk": |
| 1968 | "name": |
| 1969 | "columns": |
| 1970 | "repositoryId", |
| 1971 | "ref", |
| 1972 | "path" |
| 1973 | ] |
| 1974 | } |
| 1975 | }, |
| 1976 | "uniqueConstraints": |
| 1977 | "policies": |
| 1978 | "checkConstraints": |
| 1979 | "isRLSEnabled": |
| 1980 | }, |
| 1981 | "public.repository_ref_index": |
| 1982 | "name": |
| 1983 | "schema": |
| 1984 | "columns": |
| 1985 | "repositoryId": |
| 1986 | "name": |
| 1987 | "type": |
| 1988 | "primaryKey": |
| 1989 | "notNull": |
| 1990 | }, |
| 1991 | "ref": |
| 1992 | "name": |
| 1993 | "type": |
| 1994 | "primaryKey": |
| 1995 | "notNull": |
| 1996 | }, |
| 1997 | "indexedCommitSha": |
| 1998 | "name": |
| 1999 | "type": |
| 2000 | "primaryKey": |
| 2001 | "notNull": |
| 2002 | }, |
| 2003 | "updatedAt": |
| 2004 | "name": |
| 2005 | "type": |
| 2006 | "primaryKey": |
| 2007 | "notNull": |
| 2008 | "default": |
| 2009 | } |
| 2010 | }, |
| 2011 | "indexes": |
| 2012 | "foreignKeys": |
| 2013 | "repository_ref_index_repositoryId_repository_id_fk": |
| 2014 | "name": |
| 2015 | "tableFrom": |
| 2016 | "tableTo": |
| 2017 | "columnsFrom": |
| 2018 | "repositoryId" |
| 2019 | ], |
| 2020 | "columnsTo": |
| 2021 | "id" |
| 2022 | ], |
| 2023 | "onDelete": |
| 2024 | "onUpdate": |
| 2025 | } |
| 2026 | }, |
| 2027 | "compositePrimaryKeys": |
| 2028 | "repository_ref_index_repositoryId_ref_pk": |
| 2029 | "name": |
| 2030 | "columns": |
| 2031 | "repositoryId", |
| 2032 | "ref" |
| 2033 | ] |
| 2034 | } |
| 2035 | }, |
| 2036 | "uniqueConstraints": |
| 2037 | "policies": |
| 2038 | "checkConstraints": |
| 2039 | "isRLSEnabled": |
| 2040 | }, |
| 2041 | "public.stars": |
| 2042 | "name": |
| 2043 | "schema": |
| 2044 | "columns": |
| 2045 | "id": |
| 2046 | "name": |
| 2047 | "type": |
| 2048 | "primaryKey": |
| 2049 | "notNull": |
| 2050 | }, |
| 2051 | "userId": |
| 2052 | "name": |
| 2053 | "type": |
| 2054 | "primaryKey": |
| 2055 | "notNull": |
| 2056 | }, |
| 2057 | "repositoryId": |
| 2058 | "name": |
| 2059 | "type": |
| 2060 | "primaryKey": |
| 2061 | "notNull": |
| 2062 | }, |
| 2063 | "createdAt": |
| 2064 | "name": |
| 2065 | "type": |
| 2066 | "primaryKey": |
| 2067 | "notNull": |
| 2068 | "default": |
| 2069 | }, |
| 2070 | "updatedAt": |
| 2071 | "name": |
| 2072 | "type": |
| 2073 | "primaryKey": |
| 2074 | "notNull": |
| 2075 | "default": |
| 2076 | } |
| 2077 | }, |
| 2078 | "indexes": |
| 2079 | "stars_userId_repositoryId_index": |
| 2080 | "name": |
| 2081 | "columns": |
| 2082 | { |
| 2083 | "expression": |
| 2084 | "isExpression": |
| 2085 | "asc": |
| 2086 | "nulls": |
| 2087 | }, |
| 2088 | { |
| 2089 | "expression": |
| 2090 | "isExpression": |
| 2091 | "asc": |
| 2092 | "nulls": |
| 2093 | } |
| 2094 | ], |
| 2095 | "isUnique": |
| 2096 | "concurrently": |
| 2097 | "method": |
| 2098 | "with": |
| 2099 | } |
| 2100 | }, |
| 2101 | "foreignKeys": |
| 2102 | "stars_userId_user_id_fk": |
| 2103 | "name": |
| 2104 | "tableFrom": |
| 2105 | "tableTo": |
| 2106 | "columnsFrom": |
| 2107 | "userId" |
| 2108 | ], |
| 2109 | "columnsTo": |
| 2110 | "id" |
| 2111 | ], |
| 2112 | "onDelete": |
| 2113 | "onUpdate": |
| 2114 | }, |
| 2115 | "stars_repositoryId_repository_id_fk": |
| 2116 | "name": |
| 2117 | "tableFrom": |
| 2118 | "tableTo": |
| 2119 | "columnsFrom": |
| 2120 | "repositoryId" |
| 2121 | ], |
| 2122 | "columnsTo": |
| 2123 | "id" |
| 2124 | ], |
| 2125 | "onDelete": |
| 2126 | "onUpdate": |
| 2127 | } |
| 2128 | }, |
| 2129 | "compositePrimaryKeys": |
| 2130 | "uniqueConstraints": |
| 2131 | "stars_id_unique": |
| 2132 | "name": |
| 2133 | "nullsNotDistinct": |
| 2134 | "columns": |
| 2135 | "id" |
| 2136 | ] |
| 2137 | } |
| 2138 | }, |
| 2139 | "policies": |
| 2140 | "checkConstraints": |
| 2141 | "isRLSEnabled": |
| 2142 | }, |
| 2143 | "public.pull_request": |
| 2144 | "name": |
| 2145 | "schema": |
| 2146 | "columns": |
| 2147 | "id": |
| 2148 | "name": |
| 2149 | "type": |
| 2150 | "primaryKey": |
| 2151 | "notNull": |
| 2152 | }, |
| 2153 | "number": |
| 2154 | "name": |
| 2155 | "type": |
| 2156 | "primaryKey": |
| 2157 | "notNull": |
| 2158 | }, |
| 2159 | "title": |
| 2160 | "name": |
| 2161 | "type": |
| 2162 | "primaryKey": |
| 2163 | "notNull": |
| 2164 | }, |
| 2165 | "body": |
| 2166 | "name": |
| 2167 | "type": |
| 2168 | "primaryKey": |
| 2169 | "notNull": |
| 2170 | }, |
| 2171 | "state": |
| 2172 | "name": |
| 2173 | "type": |
| 2174 | "typeSchema": |
| 2175 | "primaryKey": |
| 2176 | "notNull": |
| 2177 | "default": |
| 2178 | }, |
| 2179 | "baseRepositoryId": |
| 2180 | "name": |
| 2181 | "type": |
| 2182 | "primaryKey": |
| 2183 | "notNull": |
| 2184 | }, |
| 2185 | "baseRef": |
| 2186 | "name": |
| 2187 | "type": |
| 2188 | "primaryKey": |
| 2189 | "notNull": |
| 2190 | }, |
| 2191 | "headRepositoryId": |
| 2192 | "name": |
| 2193 | "type": |
| 2194 | "primaryKey": |
| 2195 | "notNull": |
| 2196 | }, |
| 2197 | "headRef": |
| 2198 | "name": |
| 2199 | "type": |
| 2200 | "primaryKey": |
| 2201 | "notNull": |
| 2202 | }, |
| 2203 | "headSha": |
| 2204 | "name": |
| 2205 | "type": |
| 2206 | "primaryKey": |
| 2207 | "notNull": |
| 2208 | }, |
| 2209 | "mergeCommitSha": |
| 2210 | "name": |
| 2211 | "type": |
| 2212 | "primaryKey": |
| 2213 | "notNull": |
| 2214 | }, |
| 2215 | "authorId": |
| 2216 | "name": |
| 2217 | "type": |
| 2218 | "primaryKey": |
| 2219 | "notNull": |
| 2220 | }, |
| 2221 | "closedAt": |
| 2222 | "name": |
| 2223 | "type": |
| 2224 | "primaryKey": |
| 2225 | "notNull": |
| 2226 | }, |
| 2227 | "mergedAt": |
| 2228 | "name": |
| 2229 | "type": |
| 2230 | "primaryKey": |
| 2231 | "notNull": |
| 2232 | }, |
| 2233 | "createdAt": |
| 2234 | "name": |
| 2235 | "type": |
| 2236 | "primaryKey": |
| 2237 | "notNull": |
| 2238 | "default": |
| 2239 | }, |
| 2240 | "updatedAt": |
| 2241 | "name": |
| 2242 | "type": |
| 2243 | "primaryKey": |
| 2244 | "notNull": |
| 2245 | "default": |
| 2246 | } |
| 2247 | }, |
| 2248 | "indexes": |
| 2249 | "pull_request_base_number_idx": |
| 2250 | "name": |
| 2251 | "columns": |
| 2252 | { |
| 2253 | "expression": |
| 2254 | "isExpression": |
| 2255 | "asc": |
| 2256 | "nulls": |
| 2257 | }, |
| 2258 | { |
| 2259 | "expression": |
| 2260 | "isExpression": |
| 2261 | "asc": |
| 2262 | "nulls": |
| 2263 | } |
| 2264 | ], |
| 2265 | "isUnique": |
| 2266 | "concurrently": |
| 2267 | "method": |
| 2268 | "with": |
| 2269 | }, |
| 2270 | "pull_request_open_branch_idx": |
| 2271 | "name": |
| 2272 | "columns": |
| 2273 | { |
| 2274 | "expression": |
| 2275 | "isExpression": |
| 2276 | "asc": |
| 2277 | "nulls": |
| 2278 | }, |
| 2279 | { |
| 2280 | "expression": |
| 2281 | "isExpression": |
| 2282 | "asc": |
| 2283 | "nulls": |
| 2284 | }, |
| 2285 | { |
| 2286 | "expression": |
| 2287 | "isExpression": |
| 2288 | "asc": |
| 2289 | "nulls": |
| 2290 | }, |
| 2291 | { |
| 2292 | "expression": |
| 2293 | "isExpression": |
| 2294 | "asc": |
| 2295 | "nulls": |
| 2296 | } |
| 2297 | ], |
| 2298 | "isUnique": |
| 2299 | "where": |
| 2300 | "concurrently": |
| 2301 | "method": |
| 2302 | "with": |
| 2303 | }, |
| 2304 | "pull_request_head_idx": |
| 2305 | "name": |
| 2306 | "columns": |
| 2307 | { |
| 2308 | "expression": |
| 2309 | "isExpression": |
| 2310 | "asc": |
| 2311 | "nulls": |
| 2312 | } |
| 2313 | ], |
| 2314 | "isUnique": |
| 2315 | "concurrently": |
| 2316 | "method": |
| 2317 | "with": |
| 2318 | }, |
| 2319 | "pull_request_base_state_idx": |
| 2320 | "name": |
| 2321 | "columns": |
| 2322 | { |
| 2323 | "expression": |
| 2324 | "isExpression": |
| 2325 | "asc": |
| 2326 | "nulls": |
| 2327 | }, |
| 2328 | { |
| 2329 | "expression": |
| 2330 | "isExpression": |
| 2331 | "asc": |
| 2332 | "nulls": |
| 2333 | } |
| 2334 | ], |
| 2335 | "isUnique": |
| 2336 | "concurrently": |
| 2337 | "method": |
| 2338 | "with": |
| 2339 | } |
| 2340 | }, |
| 2341 | "foreignKeys": |
| 2342 | "pull_request_baseRepositoryId_repository_id_fk": |
| 2343 | "name": |
| 2344 | "tableFrom": |
| 2345 | "tableTo": |
| 2346 | "columnsFrom": |
| 2347 | "baseRepositoryId" |
| 2348 | ], |
| 2349 | "columnsTo": |
| 2350 | "id" |
| 2351 | ], |
| 2352 | "onDelete": |
| 2353 | "onUpdate": |
| 2354 | }, |
| 2355 | "pull_request_headRepositoryId_repository_id_fk": |
| 2356 | "name": |
| 2357 | "tableFrom": |
| 2358 | "tableTo": |
| 2359 | "columnsFrom": |
| 2360 | "headRepositoryId" |
| 2361 | ], |
| 2362 | "columnsTo": |
| 2363 | "id" |
| 2364 | ], |
| 2365 | "onDelete": |
| 2366 | "onUpdate": |
| 2367 | }, |
| 2368 | "pull_request_authorId_user_id_fk": |
| 2369 | "name": |
| 2370 | "tableFrom": |
| 2371 | "tableTo": |
| 2372 | "columnsFrom": |
| 2373 | "authorId" |
| 2374 | ], |
| 2375 | "columnsTo": |
| 2376 | "id" |
| 2377 | ], |
| 2378 | "onDelete": |
| 2379 | "onUpdate": |
| 2380 | } |
| 2381 | }, |
| 2382 | "compositePrimaryKeys": |
| 2383 | "uniqueConstraints": |
| 2384 | "pull_request_id_unique": |
| 2385 | "name": |
| 2386 | "nullsNotDistinct": |
| 2387 | "columns": |
| 2388 | "id" |
| 2389 | ] |
| 2390 | } |
| 2391 | }, |
| 2392 | "policies": |
| 2393 | "checkConstraints": |
| 2394 | "isRLSEnabled": |
| 2395 | }, |
| 2396 | "public.pull_request_comment": |
| 2397 | "name": |
| 2398 | "schema": |
| 2399 | "columns": |
| 2400 | "id": |
| 2401 | "name": |
| 2402 | "type": |
| 2403 | "primaryKey": |
| 2404 | "notNull": |
| 2405 | }, |
| 2406 | "pullRequestId": |
| 2407 | "name": |
| 2408 | "type": |
| 2409 | "primaryKey": |
| 2410 | "notNull": |
| 2411 | }, |
| 2412 | "authorId": |
| 2413 | "name": |
| 2414 | "type": |
| 2415 | "primaryKey": |
| 2416 | "notNull": |
| 2417 | }, |
| 2418 | "body": |
| 2419 | "name": |
| 2420 | "type": |
| 2421 | "primaryKey": |
| 2422 | "notNull": |
| 2423 | }, |
| 2424 | "createdAt": |
| 2425 | "name": |
| 2426 | "type": |
| 2427 | "primaryKey": |
| 2428 | "notNull": |
| 2429 | "default": |
| 2430 | }, |
| 2431 | "updatedAt": |
| 2432 | "name": |
| 2433 | "type": |
| 2434 | "primaryKey": |
| 2435 | "notNull": |
| 2436 | "default": |
| 2437 | } |
| 2438 | }, |
| 2439 | "indexes": |
| 2440 | "pull_request_comment_pull_request_idx": |
| 2441 | "name": |
| 2442 | "columns": |
| 2443 | { |
| 2444 | "expression": |
| 2445 | "isExpression": |
| 2446 | "asc": |
| 2447 | "nulls": |
| 2448 | }, |
| 2449 | { |
| 2450 | "expression": |
| 2451 | "isExpression": |
| 2452 | "asc": |
| 2453 | "nulls": |
| 2454 | } |
| 2455 | ], |
| 2456 | "isUnique": |
| 2457 | "concurrently": |
| 2458 | "method": |
| 2459 | "with": |
| 2460 | } |
| 2461 | }, |
| 2462 | "foreignKeys": |
| 2463 | "pull_request_comment_pullRequestId_pull_request_id_fk": |
| 2464 | "name": |
| 2465 | "tableFrom": |
| 2466 | "tableTo": |
| 2467 | "columnsFrom": |
| 2468 | "pullRequestId" |
| 2469 | ], |
| 2470 | "columnsTo": |
| 2471 | "id" |
| 2472 | ], |
| 2473 | "onDelete": |
| 2474 | "onUpdate": |
| 2475 | }, |
| 2476 | "pull_request_comment_authorId_user_id_fk": |
| 2477 | "name": |
| 2478 | "tableFrom": |
| 2479 | "tableTo": |
| 2480 | "columnsFrom": |
| 2481 | "authorId" |
| 2482 | ], |
| 2483 | "columnsTo": |
| 2484 | "id" |
| 2485 | ], |
| 2486 | "onDelete": |
| 2487 | "onUpdate": |
| 2488 | } |
| 2489 | }, |
| 2490 | "compositePrimaryKeys": |
| 2491 | "uniqueConstraints": |
| 2492 | "pull_request_comment_id_unique": |
| 2493 | "name": |
| 2494 | "nullsNotDistinct": |
| 2495 | "columns": |
| 2496 | "id" |
| 2497 | ] |
| 2498 | } |
| 2499 | }, |
| 2500 | "policies": |
| 2501 | "checkConstraints": |
| 2502 | "isRLSEnabled": |
| 2503 | }, |
| 2504 | "public.issue": |
| 2505 | "name": |
| 2506 | "schema": |
| 2507 | "columns": |
| 2508 | "id": |
| 2509 | "name": |
| 2510 | "type": |
| 2511 | "primaryKey": |
| 2512 | "notNull": |
| 2513 | }, |
| 2514 | "repositoryId": |
| 2515 | "name": |
| 2516 | "type": |
| 2517 | "primaryKey": |
| 2518 | "notNull": |
| 2519 | }, |
| 2520 | "number": |
| 2521 | "name": |
| 2522 | "type": |
| 2523 | "primaryKey": |
| 2524 | "notNull": |
| 2525 | }, |
| 2526 | "title": |
| 2527 | "name": |
| 2528 | "type": |
| 2529 | "primaryKey": |
| 2530 | "notNull": |
| 2531 | }, |
| 2532 | "body": |
| 2533 | "name": |
| 2534 | "type": |
| 2535 | "primaryKey": |
| 2536 | "notNull": |
| 2537 | }, |
| 2538 | "state": |
| 2539 | "name": |
| 2540 | "type": |
| 2541 | "typeSchema": |
| 2542 | "primaryKey": |
| 2543 | "notNull": |
| 2544 | "default": |
| 2545 | }, |
| 2546 | "authorId": |
| 2547 | "name": |
| 2548 | "type": |
| 2549 | "primaryKey": |
| 2550 | "notNull": |
| 2551 | }, |
| 2552 | "closedById": |
| 2553 | "name": |
| 2554 | "type": |
| 2555 | "primaryKey": |
| 2556 | "notNull": |
| 2557 | }, |
| 2558 | "commentCount": |
| 2559 | "name": |
| 2560 | "type": |
| 2561 | "primaryKey": |
| 2562 | "notNull": |
| 2563 | "default": |
| 2564 | }, |
| 2565 | "closedAt": |
| 2566 | "name": |
| 2567 | "type": |
| 2568 | "primaryKey": |
| 2569 | "notNull": |
| 2570 | }, |
| 2571 | "createdAt": |
| 2572 | "name": |
| 2573 | "type": |
| 2574 | "primaryKey": |
| 2575 | "notNull": |
| 2576 | "default": |
| 2577 | }, |
| 2578 | "updatedAt": |
| 2579 | "name": |
| 2580 | "type": |
| 2581 | "primaryKey": |
| 2582 | "notNull": |
| 2583 | "default": |
| 2584 | } |
| 2585 | }, |
| 2586 | "indexes": |
| 2587 | "issue_repo_number_idx": |
| 2588 | "name": |
| 2589 | "columns": |
| 2590 | { |
| 2591 | "expression": |
| 2592 | "isExpression": |
| 2593 | "asc": |
| 2594 | "nulls": |
| 2595 | }, |
| 2596 | { |
| 2597 | "expression": |
| 2598 | "isExpression": |
| 2599 | "asc": |
| 2600 | "nulls": |
| 2601 | } |
| 2602 | ], |
| 2603 | "isUnique": |
| 2604 | "concurrently": |
| 2605 | "method": |
| 2606 | "with": |
| 2607 | }, |
| 2608 | "issue_repo_state_idx": |
| 2609 | "name": |
| 2610 | "columns": |
| 2611 | { |
| 2612 | "expression": |
| 2613 | "isExpression": |
| 2614 | "asc": |
| 2615 | "nulls": |
| 2616 | }, |
| 2617 | { |
| 2618 | "expression": |
| 2619 | "isExpression": |
| 2620 | "asc": |
| 2621 | "nulls": |
| 2622 | } |
| 2623 | ], |
| 2624 | "isUnique": |
| 2625 | "concurrently": |
| 2626 | "method": |
| 2627 | "with": |
| 2628 | }, |
| 2629 | "issue_repo_updated_idx": |
| 2630 | "name": |
| 2631 | "columns": |
| 2632 | { |
| 2633 | "expression": |
| 2634 | "isExpression": |
| 2635 | "asc": |
| 2636 | "nulls": |
| 2637 | }, |
| 2638 | { |
| 2639 | "expression": |
| 2640 | "isExpression": |
| 2641 | "asc": |
| 2642 | "nulls": |
| 2643 | } |
| 2644 | ], |
| 2645 | "isUnique": |
| 2646 | "concurrently": |
| 2647 | "method": |
| 2648 | "with": |
| 2649 | } |
| 2650 | }, |
| 2651 | "foreignKeys": |
| 2652 | "issue_repositoryId_repository_id_fk": |
| 2653 | "name": |
| 2654 | "tableFrom": |
| 2655 | "tableTo": |
| 2656 | "columnsFrom": |
| 2657 | "repositoryId" |
| 2658 | ], |
| 2659 | "columnsTo": |
| 2660 | "id" |
| 2661 | ], |
| 2662 | "onDelete": |
| 2663 | "onUpdate": |
| 2664 | }, |
| 2665 | "issue_authorId_user_id_fk": |
| 2666 | "name": |
| 2667 | "tableFrom": |
| 2668 | "tableTo": |
| 2669 | "columnsFrom": |
| 2670 | "authorId" |
| 2671 | ], |
| 2672 | "columnsTo": |
| 2673 | "id" |
| 2674 | ], |
| 2675 | "onDelete": |
| 2676 | "onUpdate": |
| 2677 | }, |
| 2678 | "issue_closedById_user_id_fk": |
| 2679 | "name": |
| 2680 | "tableFrom": |
| 2681 | "tableTo": |
| 2682 | "columnsFrom": |
| 2683 | "closedById" |
| 2684 | ], |
| 2685 | "columnsTo": |
| 2686 | "id" |
| 2687 | ], |
| 2688 | "onDelete": |
| 2689 | "onUpdate": |
| 2690 | } |
| 2691 | }, |
| 2692 | "compositePrimaryKeys": |
| 2693 | "uniqueConstraints": |
| 2694 | "issue_id_unique": |
| 2695 | "name": |
| 2696 | "nullsNotDistinct": |
| 2697 | "columns": |
| 2698 | "id" |
| 2699 | ] |
| 2700 | } |
| 2701 | }, |
| 2702 | "policies": |
| 2703 | "checkConstraints": |
| 2704 | "isRLSEnabled": |
| 2705 | }, |
| 2706 | "public.issue_assignee": |
| 2707 | "name": |
| 2708 | "schema": |
| 2709 | "columns": |
| 2710 | "issueId": |
| 2711 | "name": |
| 2712 | "type": |
| 2713 | "primaryKey": |
| 2714 | "notNull": |
| 2715 | }, |
| 2716 | "userId": |
| 2717 | "name": |
| 2718 | "type": |
| 2719 | "primaryKey": |
| 2720 | "notNull": |
| 2721 | } |
| 2722 | }, |
| 2723 | "indexes": |
| 2724 | "foreignKeys": |
| 2725 | "issue_assignee_issueId_issue_id_fk": |
| 2726 | "name": |
| 2727 | "tableFrom": |
| 2728 | "tableTo": |
| 2729 | "columnsFrom": |
| 2730 | "issueId" |
| 2731 | ], |
| 2732 | "columnsTo": |
| 2733 | "id" |
| 2734 | ], |
| 2735 | "onDelete": |
| 2736 | "onUpdate": |
| 2737 | }, |
| 2738 | "issue_assignee_userId_user_id_fk": |
| 2739 | "name": |
| 2740 | "tableFrom": |
| 2741 | "tableTo": |
| 2742 | "columnsFrom": |
| 2743 | "userId" |
| 2744 | ], |
| 2745 | "columnsTo": |
| 2746 | "id" |
| 2747 | ], |
| 2748 | "onDelete": |
| 2749 | "onUpdate": |
| 2750 | } |
| 2751 | }, |
| 2752 | "compositePrimaryKeys": |
| 2753 | "issue_assignee_issueId_userId_pk": |
| 2754 | "name": |
| 2755 | "columns": |
| 2756 | "issueId", |
| 2757 | "userId" |
| 2758 | ] |
| 2759 | } |
| 2760 | }, |
| 2761 | "uniqueConstraints": |
| 2762 | "policies": |
| 2763 | "checkConstraints": |
| 2764 | "isRLSEnabled": |
| 2765 | }, |
| 2766 | "public.issue_comment": |
| 2767 | "name": |
| 2768 | "schema": |
| 2769 | "columns": |
| 2770 | "id": |
| 2771 | "name": |
| 2772 | "type": |
| 2773 | "primaryKey": |
| 2774 | "notNull": |
| 2775 | }, |
| 2776 | "issueId": |
| 2777 | "name": |
| 2778 | "type": |
| 2779 | "primaryKey": |
| 2780 | "notNull": |
| 2781 | }, |
| 2782 | "authorId": |
| 2783 | "name": |
| 2784 | "type": |
| 2785 | "primaryKey": |
| 2786 | "notNull": |
| 2787 | }, |
| 2788 | "body": |
| 2789 | "name": |
| 2790 | "type": |
| 2791 | "primaryKey": |
| 2792 | "notNull": |
| 2793 | }, |
| 2794 | "createdAt": |
| 2795 | "name": |
| 2796 | "type": |
| 2797 | "primaryKey": |
| 2798 | "notNull": |
| 2799 | "default": |
| 2800 | }, |
| 2801 | "updatedAt": |
| 2802 | "name": |
| 2803 | "type": |
| 2804 | "primaryKey": |
| 2805 | "notNull": |
| 2806 | "default": |
| 2807 | } |
| 2808 | }, |
| 2809 | "indexes": |
| 2810 | "issue_comment_issue_idx": |
| 2811 | "name": |
| 2812 | "columns": |
| 2813 | { |
| 2814 | "expression": |
| 2815 | "isExpression": |
| 2816 | "asc": |
| 2817 | "nulls": |
| 2818 | }, |
| 2819 | { |
| 2820 | "expression": |
| 2821 | "isExpression": |
| 2822 | "asc": |
| 2823 | "nulls": |
| 2824 | } |
| 2825 | ], |
| 2826 | "isUnique": |
| 2827 | "concurrently": |
| 2828 | "method": |
| 2829 | "with": |
| 2830 | } |
| 2831 | }, |
| 2832 | "foreignKeys": |
| 2833 | "issue_comment_issueId_issue_id_fk": |
| 2834 | "name": |
| 2835 | "tableFrom": |
| 2836 | "tableTo": |
| 2837 | "columnsFrom": |
| 2838 | "issueId" |
| 2839 | ], |
| 2840 | "columnsTo": |
| 2841 | "id" |
| 2842 | ], |
| 2843 | "onDelete": |
| 2844 | "onUpdate": |
| 2845 | }, |
| 2846 | "issue_comment_authorId_user_id_fk": |
| 2847 | "name": |
| 2848 | "tableFrom": |
| 2849 | "tableTo": |
| 2850 | "columnsFrom": |
| 2851 | "authorId" |
| 2852 | ], |
| 2853 | "columnsTo": |
| 2854 | "id" |
| 2855 | ], |
| 2856 | "onDelete": |
| 2857 | "onUpdate": |
| 2858 | } |
| 2859 | }, |
| 2860 | "compositePrimaryKeys": |
| 2861 | "uniqueConstraints": |
| 2862 | "issue_comment_id_unique": |
| 2863 | "name": |
| 2864 | "nullsNotDistinct": |
| 2865 | "columns": |
| 2866 | "id" |
| 2867 | ] |
| 2868 | } |
| 2869 | }, |
| 2870 | "policies": |
| 2871 | "checkConstraints": |
| 2872 | "isRLSEnabled": |
| 2873 | }, |
| 2874 | "public.issue_event": |
| 2875 | "name": |
| 2876 | "schema": |
| 2877 | "columns": |
| 2878 | "id": |
| 2879 | "name": |
| 2880 | "type": |
| 2881 | "primaryKey": |
| 2882 | "notNull": |
| 2883 | }, |
| 2884 | "issueId": |
| 2885 | "name": |
| 2886 | "type": |
| 2887 | "primaryKey": |
| 2888 | "notNull": |
| 2889 | }, |
| 2890 | "actorId": |
| 2891 | "name": |
| 2892 | "type": |
| 2893 | "primaryKey": |
| 2894 | "notNull": |
| 2895 | }, |
| 2896 | "type": |
| 2897 | "name": |
| 2898 | "type": |
| 2899 | "typeSchema": |
| 2900 | "primaryKey": |
| 2901 | "notNull": |
| 2902 | }, |
| 2903 | "labelName": |
| 2904 | "name": |
| 2905 | "type": |
| 2906 | "primaryKey": |
| 2907 | "notNull": |
| 2908 | }, |
| 2909 | "assigneeUsername": |
| 2910 | "name": |
| 2911 | "type": |
| 2912 | "primaryKey": |
| 2913 | "notNull": |
| 2914 | }, |
| 2915 | "oldTitle": |
| 2916 | "name": |
| 2917 | "type": |
| 2918 | "primaryKey": |
| 2919 | "notNull": |
| 2920 | }, |
| 2921 | "newTitle": |
| 2922 | "name": |
| 2923 | "type": |
| 2924 | "primaryKey": |
| 2925 | "notNull": |
| 2926 | }, |
| 2927 | "createdAt": |
| 2928 | "name": |
| 2929 | "type": |
| 2930 | "primaryKey": |
| 2931 | "notNull": |
| 2932 | "default": |
| 2933 | } |
| 2934 | }, |
| 2935 | "indexes": |
| 2936 | "issue_event_issue_idx": |
| 2937 | "name": |
| 2938 | "columns": |
| 2939 | { |
| 2940 | "expression": |
| 2941 | "isExpression": |
| 2942 | "asc": |
| 2943 | "nulls": |
| 2944 | }, |
| 2945 | { |
| 2946 | "expression": |
| 2947 | "isExpression": |
| 2948 | "asc": |
| 2949 | "nulls": |
| 2950 | } |
| 2951 | ], |
| 2952 | "isUnique": |
| 2953 | "concurrently": |
| 2954 | "method": |
| 2955 | "with": |
| 2956 | } |
| 2957 | }, |
| 2958 | "foreignKeys": |
| 2959 | "issue_event_issueId_issue_id_fk": |
| 2960 | "name": |
| 2961 | "tableFrom": |
| 2962 | "tableTo": |
| 2963 | "columnsFrom": |
| 2964 | "issueId" |
| 2965 | ], |
| 2966 | "columnsTo": |
| 2967 | "id" |
| 2968 | ], |
| 2969 | "onDelete": |
| 2970 | "onUpdate": |
| 2971 | }, |
| 2972 | "issue_event_actorId_user_id_fk": |
| 2973 | "name": |
| 2974 | "tableFrom": |
| 2975 | "tableTo": |
| 2976 | "columnsFrom": |
| 2977 | "actorId" |
| 2978 | ], |
| 2979 | "columnsTo": |
| 2980 | "id" |
| 2981 | ], |
| 2982 | "onDelete": |
| 2983 | "onUpdate": |
| 2984 | } |
| 2985 | }, |
| 2986 | "compositePrimaryKeys": |
| 2987 | "uniqueConstraints": |
| 2988 | "issue_event_id_unique": |
| 2989 | "name": |
| 2990 | "nullsNotDistinct": |
| 2991 | "columns": |
| 2992 | "id" |
| 2993 | ] |
| 2994 | } |
| 2995 | }, |
| 2996 | "policies": |
| 2997 | "checkConstraints": |
| 2998 | "isRLSEnabled": |
| 2999 | }, |
| 3000 | "public.issue_label": |
| 3001 | "name": |
| 3002 | "schema": |
| 3003 | "columns": |
| 3004 | "issueId": |
| 3005 | "name": |
| 3006 | "type": |
| 3007 | "primaryKey": |
| 3008 | "notNull": |
| 3009 | }, |
| 3010 | "labelId": |
| 3011 | "name": |
| 3012 | "type": |
| 3013 | "primaryKey": |
| 3014 | "notNull": |
| 3015 | } |
| 3016 | }, |
| 3017 | "indexes": |
| 3018 | "foreignKeys": |
| 3019 | "issue_label_issueId_issue_id_fk": |
| 3020 | "name": |
| 3021 | "tableFrom": |
| 3022 | "tableTo": |
| 3023 | "columnsFrom": |
| 3024 | "issueId" |
| 3025 | ], |
| 3026 | "columnsTo": |
| 3027 | "id" |
| 3028 | ], |
| 3029 | "onDelete": |
| 3030 | "onUpdate": |
| 3031 | }, |
| 3032 | "issue_label_labelId_label_id_fk": |
| 3033 | "name": |
| 3034 | "tableFrom": |
| 3035 | "tableTo": |
| 3036 | "columnsFrom": |
| 3037 | "labelId" |
| 3038 | ], |
| 3039 | "columnsTo": |
| 3040 | "id" |
| 3041 | ], |
| 3042 | "onDelete": |
| 3043 | "onUpdate": |
| 3044 | } |
| 3045 | }, |
| 3046 | "compositePrimaryKeys": |
| 3047 | "issue_label_issueId_labelId_pk": |
| 3048 | "name": |
| 3049 | "columns": |
| 3050 | "issueId", |
| 3051 | "labelId" |
| 3052 | ] |
| 3053 | } |
| 3054 | }, |
| 3055 | "uniqueConstraints": |
| 3056 | "policies": |
| 3057 | "checkConstraints": |
| 3058 | "isRLSEnabled": |
| 3059 | }, |
| 3060 | "public.label": |
| 3061 | "name": |
| 3062 | "schema": |
| 3063 | "columns": |
| 3064 | "id": |
| 3065 | "name": |
| 3066 | "type": |
| 3067 | "primaryKey": |
| 3068 | "notNull": |
| 3069 | }, |
| 3070 | "repositoryId": |
| 3071 | "name": |
| 3072 | "type": |
| 3073 | "primaryKey": |
| 3074 | "notNull": |
| 3075 | }, |
| 3076 | "name": |
| 3077 | "name": |
| 3078 | "type": |
| 3079 | "primaryKey": |
| 3080 | "notNull": |
| 3081 | }, |
| 3082 | "description": |
| 3083 | "name": |
| 3084 | "type": |
| 3085 | "primaryKey": |
| 3086 | "notNull": |
| 3087 | }, |
| 3088 | "color": |
| 3089 | "name": |
| 3090 | "type": |
| 3091 | "primaryKey": |
| 3092 | "notNull": |
| 3093 | "default": |
| 3094 | }, |
| 3095 | "createdAt": |
| 3096 | "name": |
| 3097 | "type": |
| 3098 | "primaryKey": |
| 3099 | "notNull": |
| 3100 | "default": |
| 3101 | }, |
| 3102 | "updatedAt": |
| 3103 | "name": |
| 3104 | "type": |
| 3105 | "primaryKey": |
| 3106 | "notNull": |
| 3107 | "default": |
| 3108 | } |
| 3109 | }, |
| 3110 | "indexes": |
| 3111 | "label_repo_name_idx": |
| 3112 | "name": |
| 3113 | "columns": |
| 3114 | { |
| 3115 | "expression": |
| 3116 | "isExpression": |
| 3117 | "asc": |
| 3118 | "nulls": |
| 3119 | }, |
| 3120 | { |
| 3121 | "expression": |
| 3122 | "isExpression": |
| 3123 | "asc": |
| 3124 | "nulls": |
| 3125 | } |
| 3126 | ], |
| 3127 | "isUnique": |
| 3128 | "concurrently": |
| 3129 | "method": |
| 3130 | "with": |
| 3131 | }, |
| 3132 | "label_repo_idx": |
| 3133 | "name": |
| 3134 | "columns": |
| 3135 | { |
| 3136 | "expression": |
| 3137 | "isExpression": |
| 3138 | "asc": |
| 3139 | "nulls": |
| 3140 | } |
| 3141 | ], |
| 3142 | "isUnique": |
| 3143 | "concurrently": |
| 3144 | "method": |
| 3145 | "with": |
| 3146 | } |
| 3147 | }, |
| 3148 | "foreignKeys": |
| 3149 | "label_repositoryId_repository_id_fk": |
| 3150 | "name": |
| 3151 | "tableFrom": |
| 3152 | "tableTo": |
| 3153 | "columnsFrom": |
| 3154 | "repositoryId" |
| 3155 | ], |
| 3156 | "columnsTo": |
| 3157 | "id" |
| 3158 | ], |
| 3159 | "onDelete": |
| 3160 | "onUpdate": |
| 3161 | } |
| 3162 | }, |
| 3163 | "compositePrimaryKeys": |
| 3164 | "uniqueConstraints": |
| 3165 | "label_id_unique": |
| 3166 | "name": |
| 3167 | "nullsNotDistinct": |
| 3168 | "columns": |
| 3169 | "id" |
| 3170 | ] |
| 3171 | } |
| 3172 | }, |
| 3173 | "policies": |
| 3174 | "checkConstraints": |
| 3175 | "isRLSEnabled": |
| 3176 | } |
| 3177 | }, |
| 3178 | "enums": |
| 3179 | "public.repository_visibility": |
| 3180 | "name": |
| 3181 | "schema": |
| 3182 | "values": |
| 3183 | "public", |
| 3184 | "private" |
| 3185 | ] |
| 3186 | }, |
| 3187 | "public.pull_request_state": |
| 3188 | "name": |
| 3189 | "schema": |
| 3190 | "values": |
| 3191 | "open", |
| 3192 | "closed", |
| 3193 | "merged" |
| 3194 | ] |
| 3195 | }, |
| 3196 | "public.issue_event_type": |
| 3197 | "name": |
| 3198 | "schema": |
| 3199 | "values": |
| 3200 | "opened", |
| 3201 | "closed", |
| 3202 | "reopened", |
| 3203 | "renamed", |
| 3204 | "edited", |
| 3205 | "labeled", |
| 3206 | "unlabeled", |
| 3207 | "assigned", |
| 3208 | "unassigned" |
| 3209 | ] |
| 3210 | }, |
| 3211 | "public.issue_state": |
| 3212 | "name": |
| 3213 | "schema": |
| 3214 | "values": |
| 3215 | "open", |
| 3216 | "closed" |
| 3217 | ] |
| 3218 | } |
| 3219 | }, |
| 3220 | "schemas": |
| 3221 | "sequences": |
| 3222 | "roles": |
| 3223 | "policies": |
| 3224 | "views": |
| 3225 | "_meta": |
| 3226 | "columns": |
| 3227 | "schemas": |
| 3228 | "tables": |
| 3229 | } |
| 3230 | } |
"
258aa52c-85e3-4052-9b9d-24274b1ce35f
"
,
"
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'
"
{
"
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
{
"
number
"
,
"
integer
"
,
false
,
true
{
"
title
"
,
"
text
"
,
false
,
true
{
"
body
"
,
"
text
"
,
false
,
false
{
"
state
"
,
"
pull_request_state
"
,
"
public
"
,
false
,
true
,
"
'open'
"
{
"
baseRepositoryId
"
,
"
text
"
,
false
,
true
{
"
baseRef
"
,
"
text
"
,
false
,
true
{
"
headRepositoryId
"
,
"
text
"
,
false
,
true
{
"
headRef
"
,
"
text
"
,
false
,
true
{
"
headSha
"
,
"
text
"
,
false
,
true
{
"
mergeCommitSha
"
,
"
text
"
,
false
,
false
{
"
authorId
"
,
"
text
"
,
false
,
true
{
"
closedAt
"
,
"
timestamp with time zone
"
,
false
,
false
{
"
mergedAt
"
,
"
timestamp with time zone
"
,
false
,
false
{
"
createdAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
"
updatedAt
"
,
"
timestamp with time zone
"
,
false
,
true
,
"
now()
"
{
{
"
pull_request_base_number_idx
"
,
[
"
baseRepositoryId
"
,
false
,
true
,
"
last
"
"
number
"
,
false
,
true
,
"
last
"
true
,
false
,
"
btree
"
,
{}
{
"
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_baseRepositoryId_repository_id_fk
"
,
"
pull_request
"
,
"
repository
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
pull_request_headRepositoryId_repository_id_fk
"
,
"
pull_request
"
,
"
repository
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
pull_request_authorId_user_id_fk
"
,
"
pull_request
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{}
,
{
{
"
pull_request_id_unique
"
,
false
,
[
{}
,
{}
,
false
{
"
pull_request_comment
"
,
""
,
{
{
"
id
"
,
"
text
"
,
true
,
true
{
"
pullRequestId
"
,
"
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()
"
{
{
"
pull_request_comment_pull_request_idx
"
,
[
"
pullRequestId
"
,
false
,
true
,
"
last
"
"
createdAt
"
,
false
,
true
,
"
last
"
false
,
false
,
"
btree
"
,
{}
{
{
"
pull_request_comment_pullRequestId_pull_request_id_fk
"
,
"
pull_request_comment
"
,
"
pull_request
"
,
[
[
"
cascade
"
,
"
no action
"
{
"
pull_request_comment_authorId_user_id_fk
"
,
"
pull_request_comment
"
,
"
user
"
,
[
[
"
cascade
"
,
"
no action
"
{}
,
{
{
"
pull_request_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'
"
{
"
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_state_idx
"
,
[
"
repositoryId
"
,
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
{
"
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_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
{
"
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_visibility
"
,
"
public
"
,
[
{
"
pull_request_state
"
,
"
public
"
,
[
{
"
issue_event_type
"
,
"
public
"
,
[
{
"
issue_state
"
,
"
public
"
,
[
{}
,
{}
,
{}
,
{}
,
{}
,
{
{}
,
{}
,
{}