| @@ -0,0 +1,1143 @@ |
| 1 | +{ |
| 2 | + "version": "6", |
| 3 | + "dialect": "sqlite", |
| 4 | + "id": "acff0d94-170c-40bb-9271-dc3a429ba0ce", |
| 5 | + "prevId": "61fe33e0-7218-468e-8568-9a3f19e821ee", |
| 6 | + "tables": { |
| 7 | + "blob": { |
| 8 | + "name": "blob", |
| 9 | + "columns": { |
| 10 | + "namespace": { |
| 11 | + "name": "namespace", |
| 12 | + "type": "text", |
| 13 | + "primaryKey": false, |
| 14 | + "notNull": true, |
| 15 | + "autoincrement": false |
| 16 | + }, |
| 17 | + "key": { |
| 18 | + "name": "key", |
| 19 | + "type": "text", |
| 20 | + "primaryKey": false, |
| 21 | + "notNull": true, |
| 22 | + "autoincrement": false |
| 23 | + }, |
| 24 | + "value": { |
| 25 | + "name": "value", |
| 26 | + "type": "text", |
| 27 | + "primaryKey": false, |
| 28 | + "notNull": true, |
| 29 | + "autoincrement": false |
| 30 | + } |
| 31 | + }, |
| 32 | + "indexes": {}, |
| 33 | + "foreignKeys": {}, |
| 34 | + "compositePrimaryKeys": { |
| 35 | + "blob_namespace_key_pk": { |
| 36 | + "columns": [ |
| 37 | + "namespace", |
| 38 | + "key" |
| 39 | + ], |
| 40 | + "name": "blob_namespace_key_pk" |
| 41 | + } |
| 42 | + }, |
| 43 | + "uniqueConstraints": {}, |
| 44 | + "checkConstraints": {} |
| 45 | + }, |
| 46 | + "definition": { |
| 47 | + "name": "definition", |
| 48 | + "columns": { |
| 49 | + "id": { |
| 50 | + "name": "id", |
| 51 | + "type": "text", |
| 52 | + "primaryKey": false, |
| 53 | + "notNull": true, |
| 54 | + "autoincrement": false |
| 55 | + }, |
| 56 | + "scope_id": { |
| 57 | + "name": "scope_id", |
| 58 | + "type": "text", |
| 59 | + "primaryKey": false, |
| 60 | + "notNull": true, |
| 61 | + "autoincrement": false |
| 62 | + }, |
| 63 | + "source_id": { |
| 64 | + "name": "source_id", |
| 65 | + "type": "text", |
| 66 | + "primaryKey": false, |
| 67 | + "notNull": true, |
| 68 | + "autoincrement": false |
| 69 | + }, |
| 70 | + "plugin_id": { |
| 71 | + "name": "plugin_id", |
| 72 | + "type": "text", |
| 73 | + "primaryKey": false, |
| 74 | + "notNull": true, |
| 75 | + "autoincrement": false |
| 76 | + }, |
| 77 | + "name": { |
| 78 | + "name": "name", |
| 79 | + "type": "text", |
| 80 | + "primaryKey": false, |
| 81 | + "notNull": true, |
| 82 | + "autoincrement": false |
| 83 | + }, |
| 84 | + "schema": { |
| 85 | + "name": "schema", |
| 86 | + "type": "text", |
| 87 | + "primaryKey": false, |
| 88 | + "notNull": true, |
| 89 | + "autoincrement": false |
| 90 | + }, |
| 91 | + "created_at": { |
| 92 | + "name": "created_at", |
| 93 | + "type": "integer", |
| 94 | + "primaryKey": false, |
| 95 | + "notNull": true, |
| 96 | + "autoincrement": false |
| 97 | + } |
| 98 | + }, |
| 99 | + "indexes": { |
| 100 | + "definition_scope_id_idx": { |
| 101 | + "name": "definition_scope_id_idx", |
| 102 | + "columns": [ |
| 103 | + "scope_id" |
| 104 | + ], |
| 105 | + "isUnique": false |
| 106 | + }, |
| 107 | + "definition_source_id_idx": { |
| 108 | + "name": "definition_source_id_idx", |
| 109 | + "columns": [ |
| 110 | + "source_id" |
| 111 | + ], |
| 112 | + "isUnique": false |
| 113 | + }, |
| 114 | + "definition_plugin_id_idx": { |
| 115 | + "name": "definition_plugin_id_idx", |
| 116 | + "columns": [ |
| 117 | + "plugin_id" |
| 118 | + ], |
| 119 | + "isUnique": false |
| 120 | + } |
| 121 | + }, |
| 122 | + "foreignKeys": {}, |
| 123 | + "compositePrimaryKeys": { |
| 124 | + "definition_scope_id_id_pk": { |
| 125 | + "columns": [ |
| 126 | + "scope_id", |
| 127 | + "id" |
| 128 | + ], |
| 129 | + "name": "definition_scope_id_id_pk" |
| 130 | + } |
| 131 | + }, |
| 132 | + "uniqueConstraints": {}, |
| 133 | + "checkConstraints": {} |
| 134 | + }, |
| 135 | + "google_discovery_binding": { |
| 136 | + "name": "google_discovery_binding", |
| 137 | + "columns": { |
| 138 | + "id": { |
| 139 | + "name": "id", |
| 140 | + "type": "text", |
| 141 | + "primaryKey": false, |
| 142 | + "notNull": true, |
| 143 | + "autoincrement": false |
| 144 | + }, |
| 145 | + "scope_id": { |
| 146 | + "name": "scope_id", |
| 147 | + "type": "text", |
| 148 | + "primaryKey": false, |
| 149 | + "notNull": true, |
| 150 | + "autoincrement": false |
| 151 | + }, |
| 152 | + "source_id": { |
| 153 | + "name": "source_id", |
| 154 | + "type": "text", |
| 155 | + "primaryKey": false, |
| 156 | + "notNull": true, |
| 157 | + "autoincrement": false |
| 158 | + }, |
| 159 | + "binding": { |
| 160 | + "name": "binding", |
| 161 | + "type": "text", |
| 162 | + "primaryKey": false, |
| 163 | + "notNull": true, |
| 164 | + "autoincrement": false |
| 165 | + }, |
| 166 | + "created_at": { |
| 167 | + "name": "created_at", |
| 168 | + "type": "integer", |
| 169 | + "primaryKey": false, |
| 170 | + "notNull": true, |
| 171 | + "autoincrement": false |
| 172 | + } |
| 173 | + }, |
| 174 | + "indexes": { |
| 175 | + "google_discovery_binding_scope_id_idx": { |
| 176 | + "name": "google_discovery_binding_scope_id_idx", |
| 177 | + "columns": [ |
| 178 | + "scope_id" |
| 179 | + ], |
| 180 | + "isUnique": false |
| 181 | + }, |
| 182 | + "google_discovery_binding_source_id_idx": { |
| 183 | + "name": "google_discovery_binding_source_id_idx", |
| 184 | + "columns": [ |
| 185 | + "source_id" |
| 186 | + ], |
| 187 | + "isUnique": false |
| 188 | + } |
| 189 | + }, |
| 190 | + "foreignKeys": {}, |
| 191 | + "compositePrimaryKeys": { |
| 192 | + "google_discovery_binding_scope_id_id_pk": { |
| 193 | + "columns": [ |
| 194 | + "scope_id", |
| 195 | + "id" |
| 196 | + ], |
| 197 | + "name": "google_discovery_binding_scope_id_id_pk" |
| 198 | + } |
| 199 | + }, |
| 200 | + "uniqueConstraints": {}, |
| 201 | + "checkConstraints": {} |
| 202 | + }, |
| 203 | + "google_discovery_oauth_session": { |
| 204 | + "name": "google_discovery_oauth_session", |
| 205 | + "columns": { |
| 206 | + "id": { |
| 207 | + "name": "id", |
| 208 | + "type": "text", |
| 209 | + "primaryKey": false, |
| 210 | + "notNull": true, |
| 211 | + "autoincrement": false |
| 212 | + }, |
| 213 | + "scope_id": { |
| 214 | + "name": "scope_id", |
| 215 | + "type": "text", |
| 216 | + "primaryKey": false, |
| 217 | + "notNull": true, |
| 218 | + "autoincrement": false |
| 219 | + }, |
| 220 | + "session": { |
| 221 | + "name": "session", |
| 222 | + "type": "text", |
| 223 | + "primaryKey": false, |
| 224 | + "notNull": true, |
| 225 | + "autoincrement": false |
| 226 | + }, |
| 227 | + "expires_at": { |
| 228 | + "name": "expires_at", |
| 229 | + "type": "integer", |
| 230 | + "primaryKey": false, |
| 231 | + "notNull": true, |
| 232 | + "autoincrement": false |
| 233 | + } |
| 234 | + }, |
| 235 | + "indexes": { |
| 236 | + "google_discovery_oauth_session_scope_id_idx": { |
| 237 | + "name": "google_discovery_oauth_session_scope_id_idx", |
| 238 | + "columns": [ |
| 239 | + "scope_id" |
| 240 | + ], |
| 241 | + "isUnique": false |
| 242 | + } |
| 243 | + }, |
| 244 | + "foreignKeys": {}, |
| 245 | + "compositePrimaryKeys": { |
| 246 | + "google_discovery_oauth_session_scope_id_id_pk": { |
| 247 | + "columns": [ |
| 248 | + "scope_id", |
| 249 | + "id" |
| 250 | + ], |
| 251 | + "name": "google_discovery_oauth_session_scope_id_id_pk" |
| 252 | + } |
| 253 | + }, |
| 254 | + "uniqueConstraints": {}, |
| 255 | + "checkConstraints": {} |
| 256 | + }, |
| 257 | + "google_discovery_source": { |
| 258 | + "name": "google_discovery_source", |
| 259 | + "columns": { |
| 260 | + "id": { |
| 261 | + "name": "id", |
| 262 | + "type": "text", |
| 263 | + "primaryKey": false, |
| 264 | + "notNull": true, |
| 265 | + "autoincrement": false |
| 266 | + }, |
| 267 | + "scope_id": { |
| 268 | + "name": "scope_id", |
| 269 | + "type": "text", |
| 270 | + "primaryKey": false, |
| 271 | + "notNull": true, |
| 272 | + "autoincrement": false |
| 273 | + }, |
| 274 | + "name": { |
| 275 | + "name": "name", |
| 276 | + "type": "text", |
| 277 | + "primaryKey": false, |
| 278 | + "notNull": true, |
| 279 | + "autoincrement": false |
| 280 | + }, |
| 281 | + "config": { |
| 282 | + "name": "config", |
| 283 | + "type": "text", |
| 284 | + "primaryKey": false, |
| 285 | + "notNull": true, |
| 286 | + "autoincrement": false |
| 287 | + }, |
| 288 | + "created_at": { |
| 289 | + "name": "created_at", |
| 290 | + "type": "integer", |
| 291 | + "primaryKey": false, |
| 292 | + "notNull": true, |
| 293 | + "autoincrement": false |
| 294 | + }, |
| 295 | + "updated_at": { |
| 296 | + "name": "updated_at", |
| 297 | + "type": "integer", |
| 298 | + "primaryKey": false, |
| 299 | + "notNull": true, |
| 300 | + "autoincrement": false |
| 301 | + } |
| 302 | + }, |
| 303 | + "indexes": { |
| 304 | + "google_discovery_source_scope_id_idx": { |
| 305 | + "name": "google_discovery_source_scope_id_idx", |
| 306 | + "columns": [ |
| 307 | + "scope_id" |
| 308 | + ], |
| 309 | + "isUnique": false |
| 310 | + } |
| 311 | + }, |
| 312 | + "foreignKeys": {}, |
| 313 | + "compositePrimaryKeys": { |
| 314 | + "google_discovery_source_scope_id_id_pk": { |
| 315 | + "columns": [ |
| 316 | + "scope_id", |
| 317 | + "id" |
| 318 | + ], |
| 319 | + "name": "google_discovery_source_scope_id_id_pk" |
| 320 | + } |
| 321 | + }, |
| 322 | + "uniqueConstraints": {}, |
| 323 | + "checkConstraints": {} |
| 324 | + }, |
| 325 | + "graphql_operation": { |
| 326 | + "name": "graphql_operation", |
| 327 | + "columns": { |
| 328 | + "id": { |
| 329 | + "name": "id", |
| 330 | + "type": "text", |
| 331 | + "primaryKey": false, |
| 332 | + "notNull": true, |
| 333 | + "autoincrement": false |
| 334 | + }, |
| 335 | + "scope_id": { |
| 336 | + "name": "scope_id", |
| 337 | + "type": "text", |
| 338 | + "primaryKey": false, |
| 339 | + "notNull": true, |
| 340 | + "autoincrement": false |
| 341 | + }, |
| 342 | + "source_id": { |
| 343 | + "name": "source_id", |
| 344 | + "type": "text", |
| 345 | + "primaryKey": false, |
| 346 | + "notNull": true, |
| 347 | + "autoincrement": false |
| 348 | + }, |
| 349 | + "binding": { |
| 350 | + "name": "binding", |
| 351 | + "type": "text", |
| 352 | + "primaryKey": false, |
| 353 | + "notNull": true, |
| 354 | + "autoincrement": false |
| 355 | + } |
| 356 | + }, |
| 357 | + "indexes": { |
| 358 | + "graphql_operation_scope_id_idx": { |
| 359 | + "name": "graphql_operation_scope_id_idx", |
| 360 | + "columns": [ |
| 361 | + "scope_id" |
| 362 | + ], |
| 363 | + "isUnique": false |
| 364 | + }, |
| 365 | + "graphql_operation_source_id_idx": { |
| 366 | + "name": "graphql_operation_source_id_idx", |
| 367 | + "columns": [ |
| 368 | + "source_id" |
| 369 | + ], |
| 370 | + "isUnique": false |
| 371 | + } |
| 372 | + }, |
| 373 | + "foreignKeys": {}, |
| 374 | + "compositePrimaryKeys": { |
| 375 | + "graphql_operation_scope_id_id_pk": { |
| 376 | + "columns": [ |
| 377 | + "scope_id", |
| 378 | + "id" |
| 379 | + ], |
| 380 | + "name": "graphql_operation_scope_id_id_pk" |
| 381 | + } |
| 382 | + }, |
| 383 | + "uniqueConstraints": {}, |
| 384 | + "checkConstraints": {} |
| 385 | + }, |
| 386 | + "graphql_source": { |
| 387 | + "name": "graphql_source", |
| 388 | + "columns": { |
| 389 | + "id": { |
| 390 | + "name": "id", |
| 391 | + "type": "text", |
| 392 | + "primaryKey": false, |
| 393 | + "notNull": true, |
| 394 | + "autoincrement": false |
| 395 | + }, |
| 396 | + "scope_id": { |
| 397 | + "name": "scope_id", |
| 398 | + "type": "text", |
| 399 | + "primaryKey": false, |
| 400 | + "notNull": true, |
| 401 | + "autoincrement": false |
| 402 | + }, |
| 403 | + "name": { |
| 404 | + "name": "name", |
| 405 | + "type": "text", |
| 406 | + "primaryKey": false, |
| 407 | + "notNull": true, |
| 408 | + "autoincrement": false |
| 409 | + }, |
| 410 | + "endpoint": { |
| 411 | + "name": "endpoint", |
| 412 | + "type": "text", |
| 413 | + "primaryKey": false, |
| 414 | + "notNull": true, |
| 415 | + "autoincrement": false |
| 416 | + }, |
| 417 | + "headers": { |
| 418 | + "name": "headers", |
| 419 | + "type": "text", |
| 420 | + "primaryKey": false, |
| 421 | + "notNull": false, |
| 422 | + "autoincrement": false |
| 423 | + } |
| 424 | + }, |
| 425 | + "indexes": { |
| 426 | + "graphql_source_scope_id_idx": { |
| 427 | + "name": "graphql_source_scope_id_idx", |
| 428 | + "columns": [ |
| 429 | + "scope_id" |
| 430 | + ], |
| 431 | + "isUnique": false |
| 432 | + } |
| 433 | + }, |
| 434 | + "foreignKeys": {}, |
| 435 | + "compositePrimaryKeys": { |
| 436 | + "graphql_source_scope_id_id_pk": { |
| 437 | + "columns": [ |
| 438 | + "scope_id", |
| 439 | + "id" |
| 440 | + ], |
| 441 | + "name": "graphql_source_scope_id_id_pk" |
| 442 | + } |
| 443 | + }, |
| 444 | + "uniqueConstraints": {}, |
| 445 | + "checkConstraints": {} |
| 446 | + }, |
| 447 | + "mcp_binding": { |
| 448 | + "name": "mcp_binding", |
| 449 | + "columns": { |
| 450 | + "id": { |
| 451 | + "name": "id", |
| 452 | + "type": "text", |
| 453 | + "primaryKey": false, |
| 454 | + "notNull": true, |
| 455 | + "autoincrement": false |
| 456 | + }, |
| 457 | + "scope_id": { |
| 458 | + "name": "scope_id", |
| 459 | + "type": "text", |
| 460 | + "primaryKey": false, |
| 461 | + "notNull": true, |
| 462 | + "autoincrement": false |
| 463 | + }, |
| 464 | + "source_id": { |
| 465 | + "name": "source_id", |
| 466 | + "type": "text", |
| 467 | + "primaryKey": false, |
| 468 | + "notNull": true, |
| 469 | + "autoincrement": false |
| 470 | + }, |
| 471 | + "binding": { |
| 472 | + "name": "binding", |
| 473 | + "type": "text", |
| 474 | + "primaryKey": false, |
| 475 | + "notNull": true, |
| 476 | + "autoincrement": false |
| 477 | + }, |
| 478 | + "created_at": { |
| 479 | + "name": "created_at", |
| 480 | + "type": "integer", |
| 481 | + "primaryKey": false, |
| 482 | + "notNull": true, |
| 483 | + "autoincrement": false |
| 484 | + } |
| 485 | + }, |
| 486 | + "indexes": { |
| 487 | + "mcp_binding_scope_id_idx": { |
| 488 | + "name": "mcp_binding_scope_id_idx", |
| 489 | + "columns": [ |
| 490 | + "scope_id" |
| 491 | + ], |
| 492 | + "isUnique": false |
| 493 | + }, |
| 494 | + "mcp_binding_source_id_idx": { |
| 495 | + "name": "mcp_binding_source_id_idx", |
| 496 | + "columns": [ |
| 497 | + "source_id" |
| 498 | + ], |
| 499 | + "isUnique": false |
| 500 | + } |
| 501 | + }, |
| 502 | + "foreignKeys": {}, |
| 503 | + "compositePrimaryKeys": { |
| 504 | + "mcp_binding_scope_id_id_pk": { |
| 505 | + "columns": [ |
| 506 | + "scope_id", |
| 507 | + "id" |
| 508 | + ], |
| 509 | + "name": "mcp_binding_scope_id_id_pk" |
| 510 | + } |
| 511 | + }, |
| 512 | + "uniqueConstraints": {}, |
| 513 | + "checkConstraints": {} |
| 514 | + }, |
| 515 | + "mcp_oauth_session": { |
| 516 | + "name": "mcp_oauth_session", |
| 517 | + "columns": { |
| 518 | + "id": { |
| 519 | + "name": "id", |
| 520 | + "type": "text", |
| 521 | + "primaryKey": false, |
| 522 | + "notNull": true, |
| 523 | + "autoincrement": false |
| 524 | + }, |
| 525 | + "scope_id": { |
| 526 | + "name": "scope_id", |
| 527 | + "type": "text", |
| 528 | + "primaryKey": false, |
| 529 | + "notNull": true, |
| 530 | + "autoincrement": false |
| 531 | + }, |
| 532 | + "session": { |
| 533 | + "name": "session", |
| 534 | + "type": "text", |
| 535 | + "primaryKey": false, |
| 536 | + "notNull": true, |
| 537 | + "autoincrement": false |
| 538 | + }, |
| 539 | + "expires_at": { |
| 540 | + "name": "expires_at", |
| 541 | + "type": "integer", |
| 542 | + "primaryKey": false, |
| 543 | + "notNull": true, |
| 544 | + "autoincrement": false |
| 545 | + }, |
| 546 | + "created_at": { |
| 547 | + "name": "created_at", |
| 548 | + "type": "integer", |
| 549 | + "primaryKey": false, |
| 550 | + "notNull": true, |
| 551 | + "autoincrement": false |
| 552 | + } |
| 553 | + }, |
| 554 | + "indexes": { |
| 555 | + "mcp_oauth_session_scope_id_idx": { |
| 556 | + "name": "mcp_oauth_session_scope_id_idx", |
| 557 | + "columns": [ |
| 558 | + "scope_id" |
| 559 | + ], |
| 560 | + "isUnique": false |
| 561 | + } |
| 562 | + }, |
| 563 | + "foreignKeys": {}, |
| 564 | + "compositePrimaryKeys": { |
| 565 | + "mcp_oauth_session_scope_id_id_pk": { |
| 566 | + "columns": [ |
| 567 | + "scope_id", |
| 568 | + "id" |
| 569 | + ], |
| 570 | + "name": "mcp_oauth_session_scope_id_id_pk" |
| 571 | + } |
| 572 | + }, |
| 573 | + "uniqueConstraints": {}, |
| 574 | + "checkConstraints": {} |
| 575 | + }, |
| 576 | + "mcp_source": { |
| 577 | + "name": "mcp_source", |
| 578 | + "columns": { |
| 579 | + "id": { |
| 580 | + "name": "id", |
| 581 | + "type": "text", |
| 582 | + "primaryKey": false, |
| 583 | + "notNull": true, |
| 584 | + "autoincrement": false |
| 585 | + }, |
| 586 | + "scope_id": { |
| 587 | + "name": "scope_id", |
| 588 | + "type": "text", |
| 589 | + "primaryKey": false, |
| 590 | + "notNull": true, |
| 591 | + "autoincrement": false |
| 592 | + }, |
| 593 | + "name": { |
| 594 | + "name": "name", |
| 595 | + "type": "text", |
| 596 | + "primaryKey": false, |
| 597 | + "notNull": true, |
| 598 | + "autoincrement": false |
| 599 | + }, |
| 600 | + "config": { |
| 601 | + "name": "config", |
| 602 | + "type": "text", |
| 603 | + "primaryKey": false, |
| 604 | + "notNull": true, |
| 605 | + "autoincrement": false |
| 606 | + }, |
| 607 | + "created_at": { |
| 608 | + "name": "created_at", |
| 609 | + "type": "integer", |
| 610 | + "primaryKey": false, |
| 611 | + "notNull": true, |
| 612 | + "autoincrement": false |
| 613 | + } |
| 614 | + }, |
| 615 | + "indexes": { |
| 616 | + "mcp_source_scope_id_idx": { |
| 617 | + "name": "mcp_source_scope_id_idx", |
| 618 | + "columns": [ |
| 619 | + "scope_id" |
| 620 | + ], |
| 621 | + "isUnique": false |
| 622 | + } |
| 623 | + }, |
| 624 | + "foreignKeys": {}, |
| 625 | + "compositePrimaryKeys": { |
| 626 | + "mcp_source_scope_id_id_pk": { |
| 627 | + "columns": [ |
| 628 | + "scope_id", |
| 629 | + "id" |
| 630 | + ], |
| 631 | + "name": "mcp_source_scope_id_id_pk" |
| 632 | + } |
| 633 | + }, |
| 634 | + "uniqueConstraints": {}, |
| 635 | + "checkConstraints": {} |
| 636 | + }, |
| 637 | + "openapi_oauth_session": { |
| 638 | + "name": "openapi_oauth_session", |
| 639 | + "columns": { |
| 640 | + "id": { |
| 641 | + "name": "id", |
| 642 | + "type": "text", |
| 643 | + "primaryKey": false, |
| 644 | + "notNull": true, |
| 645 | + "autoincrement": false |
| 646 | + }, |
| 647 | + "scope_id": { |
| 648 | + "name": "scope_id", |
| 649 | + "type": "text", |
| 650 | + "primaryKey": false, |
| 651 | + "notNull": true, |
| 652 | + "autoincrement": false |
| 653 | + }, |
| 654 | + "session": { |
| 655 | + "name": "session", |
| 656 | + "type": "text", |
| 657 | + "primaryKey": false, |
| 658 | + "notNull": true, |
| 659 | + "autoincrement": false |
| 660 | + }, |
| 661 | + "created_at": { |
| 662 | + "name": "created_at", |
| 663 | + "type": "integer", |
| 664 | + "primaryKey": false, |
| 665 | + "notNull": true, |
| 666 | + "autoincrement": false |
| 667 | + } |
| 668 | + }, |
| 669 | + "indexes": { |
| 670 | + "openapi_oauth_session_scope_id_idx": { |
| 671 | + "name": "openapi_oauth_session_scope_id_idx", |
| 672 | + "columns": [ |
| 673 | + "scope_id" |
| 674 | + ], |
| 675 | + "isUnique": false |
| 676 | + } |
| 677 | + }, |
| 678 | + "foreignKeys": {}, |
| 679 | + "compositePrimaryKeys": { |
| 680 | + "openapi_oauth_session_scope_id_id_pk": { |
| 681 | + "columns": [ |
| 682 | + "scope_id", |
| 683 | + "id" |
| 684 | + ], |
| 685 | + "name": "openapi_oauth_session_scope_id_id_pk" |
| 686 | + } |
| 687 | + }, |
| 688 | + "uniqueConstraints": {}, |
| 689 | + "checkConstraints": {} |
| 690 | + }, |
| 691 | + "openapi_operation": { |
| 692 | + "name": "openapi_operation", |
| 693 | + "columns": { |
| 694 | + "id": { |
| 695 | + "name": "id", |
| 696 | + "type": "text", |
| 697 | + "primaryKey": false, |
| 698 | + "notNull": true, |
| 699 | + "autoincrement": false |
| 700 | + }, |
| 701 | + "scope_id": { |
| 702 | + "name": "scope_id", |
| 703 | + "type": "text", |
| 704 | + "primaryKey": false, |
| 705 | + "notNull": true, |
| 706 | + "autoincrement": false |
| 707 | + }, |
| 708 | + "source_id": { |
| 709 | + "name": "source_id", |
| 710 | + "type": "text", |
| 711 | + "primaryKey": false, |
| 712 | + "notNull": true, |
| 713 | + "autoincrement": false |
| 714 | + }, |
| 715 | + "binding": { |
| 716 | + "name": "binding", |
| 717 | + "type": "text", |
| 718 | + "primaryKey": false, |
| 719 | + "notNull": true, |
| 720 | + "autoincrement": false |
| 721 | + } |
| 722 | + }, |
| 723 | + "indexes": { |
| 724 | + "openapi_operation_scope_id_idx": { |
| 725 | + "name": "openapi_operation_scope_id_idx", |
| 726 | + "columns": [ |
| 727 | + "scope_id" |
| 728 | + ], |
| 729 | + "isUnique": false |
| 730 | + }, |
| 731 | + "openapi_operation_source_id_idx": { |
| 732 | + "name": "openapi_operation_source_id_idx", |
| 733 | + "columns": [ |
| 734 | + "source_id" |
| 735 | + ], |
| 736 | + "isUnique": false |
| 737 | + } |
| 738 | + }, |
| 739 | + "foreignKeys": {}, |
| 740 | + "compositePrimaryKeys": { |
| 741 | + "openapi_operation_scope_id_id_pk": { |
| 742 | + "columns": [ |
| 743 | + "scope_id", |
| 744 | + "id" |
| 745 | + ], |
| 746 | + "name": "openapi_operation_scope_id_id_pk" |
| 747 | + } |
| 748 | + }, |
| 749 | + "uniqueConstraints": {}, |
| 750 | + "checkConstraints": {} |
| 751 | + }, |
| 752 | + "openapi_source": { |
| 753 | + "name": "openapi_source", |
| 754 | + "columns": { |
| 755 | + "id": { |
| 756 | + "name": "id", |
| 757 | + "type": "text", |
| 758 | + "primaryKey": false, |
| 759 | + "notNull": true, |
| 760 | + "autoincrement": false |
| 761 | + }, |
| 762 | + "scope_id": { |
| 763 | + "name": "scope_id", |
| 764 | + "type": "text", |
| 765 | + "primaryKey": false, |
| 766 | + "notNull": true, |
| 767 | + "autoincrement": false |
| 768 | + }, |
| 769 | + "name": { |
| 770 | + "name": "name", |
| 771 | + "type": "text", |
| 772 | + "primaryKey": false, |
| 773 | + "notNull": true, |
| 774 | + "autoincrement": false |
| 775 | + }, |
| 776 | + "spec": { |
| 777 | + "name": "spec", |
| 778 | + "type": "text", |
| 779 | + "primaryKey": false, |
| 780 | + "notNull": true, |
| 781 | + "autoincrement": false |
| 782 | + }, |
| 783 | + "source_url": { |
| 784 | + "name": "source_url", |
| 785 | + "type": "text", |
| 786 | + "primaryKey": false, |
| 787 | + "notNull": false, |
| 788 | + "autoincrement": false |
| 789 | + }, |
| 790 | + "base_url": { |
| 791 | + "name": "base_url", |
| 792 | + "type": "text", |
| 793 | + "primaryKey": false, |
| 794 | + "notNull": false, |
| 795 | + "autoincrement": false |
| 796 | + }, |
| 797 | + "headers": { |
| 798 | + "name": "headers", |
| 799 | + "type": "text", |
| 800 | + "primaryKey": false, |
| 801 | + "notNull": false, |
| 802 | + "autoincrement": false |
| 803 | + }, |
| 804 | + "oauth2": { |
| 805 | + "name": "oauth2", |
| 806 | + "type": "text", |
| 807 | + "primaryKey": false, |
| 808 | + "notNull": false, |
| 809 | + "autoincrement": false |
| 810 | + }, |
| 811 | + "invocation_config": { |
| 812 | + "name": "invocation_config", |
| 813 | + "type": "text", |
| 814 | + "primaryKey": false, |
| 815 | + "notNull": true, |
| 816 | + "autoincrement": false |
| 817 | + } |
| 818 | + }, |
| 819 | + "indexes": { |
| 820 | + "openapi_source_scope_id_idx": { |
| 821 | + "name": "openapi_source_scope_id_idx", |
| 822 | + "columns": [ |
| 823 | + "scope_id" |
| 824 | + ], |
| 825 | + "isUnique": false |
| 826 | + } |
| 827 | + }, |
| 828 | + "foreignKeys": {}, |
| 829 | + "compositePrimaryKeys": { |
| 830 | + "openapi_source_scope_id_id_pk": { |
| 831 | + "columns": [ |
| 832 | + "scope_id", |
| 833 | + "id" |
| 834 | + ], |
| 835 | + "name": "openapi_source_scope_id_id_pk" |
| 836 | + } |
| 837 | + }, |
| 838 | + "uniqueConstraints": {}, |
| 839 | + "checkConstraints": {} |
| 840 | + }, |
| 841 | + "secret": { |
| 842 | + "name": "secret", |
| 843 | + "columns": { |
| 844 | + "id": { |
| 845 | + "name": "id", |
| 846 | + "type": "text", |
| 847 | + "primaryKey": false, |
| 848 | + "notNull": true, |
| 849 | + "autoincrement": false |
| 850 | + }, |
| 851 | + "scope_id": { |
| 852 | + "name": "scope_id", |
| 853 | + "type": "text", |
| 854 | + "primaryKey": false, |
| 855 | + "notNull": true, |
| 856 | + "autoincrement": false |
| 857 | + }, |
| 858 | + "name": { |
| 859 | + "name": "name", |
| 860 | + "type": "text", |
| 861 | + "primaryKey": false, |
| 862 | + "notNull": true, |
| 863 | + "autoincrement": false |
| 864 | + }, |
| 865 | + "provider": { |
| 866 | + "name": "provider", |
| 867 | + "type": "text", |
| 868 | + "primaryKey": false, |
| 869 | + "notNull": true, |
| 870 | + "autoincrement": false |
| 871 | + }, |
| 872 | + "created_at": { |
| 873 | + "name": "created_at", |
| 874 | + "type": "integer", |
| 875 | + "primaryKey": false, |
| 876 | + "notNull": true, |
| 877 | + "autoincrement": false |
| 878 | + } |
| 879 | + }, |
| 880 | + "indexes": { |
| 881 | + "secret_scope_id_idx": { |
| 882 | + "name": "secret_scope_id_idx", |
| 883 | + "columns": [ |
| 884 | + "scope_id" |
| 885 | + ], |
| 886 | + "isUnique": false |
| 887 | + }, |
| 888 | + "secret_provider_idx": { |
| 889 | + "name": "secret_provider_idx", |
| 890 | + "columns": [ |
| 891 | + "provider" |
| 892 | + ], |
| 893 | + "isUnique": false |
| 894 | + } |
| 895 | + }, |
| 896 | + "foreignKeys": {}, |
| 897 | + "compositePrimaryKeys": { |
| 898 | + "secret_scope_id_id_pk": { |
| 899 | + "columns": [ |
| 900 | + "scope_id", |
| 901 | + "id" |
| 902 | + ], |
| 903 | + "name": "secret_scope_id_id_pk" |
| 904 | + } |
| 905 | + }, |
| 906 | + "uniqueConstraints": {}, |
| 907 | + "checkConstraints": {} |
| 908 | + }, |
| 909 | + "source": { |
| 910 | + "name": "source", |
| 911 | + "columns": { |
| 912 | + "id": { |
| 913 | + "name": "id", |
| 914 | + "type": "text", |
| 915 | + "primaryKey": false, |
| 916 | + "notNull": true, |
| 917 | + "autoincrement": false |
| 918 | + }, |
| 919 | + "scope_id": { |
| 920 | + "name": "scope_id", |
| 921 | + "type": "text", |
| 922 | + "primaryKey": false, |
| 923 | + "notNull": true, |
| 924 | + "autoincrement": false |
| 925 | + }, |
| 926 | + "plugin_id": { |
| 927 | + "name": "plugin_id", |
| 928 | + "type": "text", |
| 929 | + "primaryKey": false, |
| 930 | + "notNull": true, |
| 931 | + "autoincrement": false |
| 932 | + }, |
| 933 | + "kind": { |
| 934 | + "name": "kind", |
| 935 | + "type": "text", |
| 936 | + "primaryKey": false, |
| 937 | + "notNull": true, |
| 938 | + "autoincrement": false |
| 939 | + }, |
| 940 | + "name": { |
| 941 | + "name": "name", |
| 942 | + "type": "text", |
| 943 | + "primaryKey": false, |
| 944 | + "notNull": true, |
| 945 | + "autoincrement": false |
| 946 | + }, |
| 947 | + "url": { |
| 948 | + "name": "url", |
| 949 | + "type": "text", |
| 950 | + "primaryKey": false, |
| 951 | + "notNull": false, |
| 952 | + "autoincrement": false |
| 953 | + }, |
| 954 | + "can_remove": { |
| 955 | + "name": "can_remove", |
| 956 | + "type": "integer", |
| 957 | + "primaryKey": false, |
| 958 | + "notNull": true, |
| 959 | + "autoincrement": false, |
| 960 | + "default": true |
| 961 | + }, |
| 962 | + "can_refresh": { |
| 963 | + "name": "can_refresh", |
| 964 | + "type": "integer", |
| 965 | + "primaryKey": false, |
| 966 | + "notNull": true, |
| 967 | + "autoincrement": false, |
| 968 | + "default": false |
| 969 | + }, |
| 970 | + "can_edit": { |
| 971 | + "name": "can_edit", |
| 972 | + "type": "integer", |
| 973 | + "primaryKey": false, |
| 974 | + "notNull": true, |
| 975 | + "autoincrement": false, |
| 976 | + "default": false |
| 977 | + }, |
| 978 | + "created_at": { |
| 979 | + "name": "created_at", |
| 980 | + "type": "integer", |
| 981 | + "primaryKey": false, |
| 982 | + "notNull": true, |
| 983 | + "autoincrement": false |
| 984 | + }, |
| 985 | + "updated_at": { |
| 986 | + "name": "updated_at", |
| 987 | + "type": "integer", |
| 988 | + "primaryKey": false, |
| 989 | + "notNull": true, |
| 990 | + "autoincrement": false |
| 991 | + } |
| 992 | + }, |
| 993 | + "indexes": { |
| 994 | + "source_scope_id_idx": { |
| 995 | + "name": "source_scope_id_idx", |
| 996 | + "columns": [ |
| 997 | + "scope_id" |
| 998 | + ], |
| 999 | + "isUnique": false |
| 1000 | + }, |
| 1001 | + "source_plugin_id_idx": { |
| 1002 | + "name": "source_plugin_id_idx", |
| 1003 | + "columns": [ |
| 1004 | + "plugin_id" |
| 1005 | + ], |
| 1006 | + "isUnique": false |
| 1007 | + } |
| 1008 | + }, |
| 1009 | + "foreignKeys": {}, |
| 1010 | + "compositePrimaryKeys": { |
| 1011 | + "source_scope_id_id_pk": { |
| 1012 | + "columns": [ |
| 1013 | + "scope_id", |
| 1014 | + "id" |
| 1015 | + ], |
| 1016 | + "name": "source_scope_id_id_pk" |
| 1017 | + } |
| 1018 | + }, |
| 1019 | + "uniqueConstraints": {}, |
| 1020 | + "checkConstraints": {} |
| 1021 | + }, |
| 1022 | + "tool": { |
| 1023 | + "name": "tool", |
| 1024 | + "columns": { |
| 1025 | + "id": { |
| 1026 | + "name": "id", |
| 1027 | + "type": "text", |
| 1028 | + "primaryKey": false, |
| 1029 | + "notNull": true, |
| 1030 | + "autoincrement": false |
| 1031 | + }, |
| 1032 | + "scope_id": { |
| 1033 | + "name": "scope_id", |
| 1034 | + "type": "text", |
| 1035 | + "primaryKey": false, |
| 1036 | + "notNull": true, |
| 1037 | + "autoincrement": false |
| 1038 | + }, |
| 1039 | + "source_id": { |
| 1040 | + "name": "source_id", |
| 1041 | + "type": "text", |
| 1042 | + "primaryKey": false, |
| 1043 | + "notNull": true, |
| 1044 | + "autoincrement": false |
| 1045 | + }, |
| 1046 | + "plugin_id": { |
| 1047 | + "name": "plugin_id", |
| 1048 | + "type": "text", |
| 1049 | + "primaryKey": false, |
| 1050 | + "notNull": true, |
| 1051 | + "autoincrement": false |
| 1052 | + }, |
| 1053 | + "name": { |
| 1054 | + "name": "name", |
| 1055 | + "type": "text", |
| 1056 | + "primaryKey": false, |
| 1057 | + "notNull": true, |
| 1058 | + "autoincrement": false |
| 1059 | + }, |
| 1060 | + "description": { |
| 1061 | + "name": "description", |
| 1062 | + "type": "text", |
| 1063 | + "primaryKey": false, |
| 1064 | + "notNull": true, |
| 1065 | + "autoincrement": false |
| 1066 | + }, |
| 1067 | + "input_schema": { |
| 1068 | + "name": "input_schema", |
| 1069 | + "type": "text", |
| 1070 | + "primaryKey": false, |
| 1071 | + "notNull": false, |
| 1072 | + "autoincrement": false |
| 1073 | + }, |
| 1074 | + "output_schema": { |
| 1075 | + "name": "output_schema", |
| 1076 | + "type": "text", |
| 1077 | + "primaryKey": false, |
| 1078 | + "notNull": false, |
| 1079 | + "autoincrement": false |
| 1080 | + }, |
| 1081 | + "created_at": { |
| 1082 | + "name": "created_at", |
| 1083 | + "type": "integer", |
| 1084 | + "primaryKey": false, |
| 1085 | + "notNull": true, |
| 1086 | + "autoincrement": false |
| 1087 | + }, |
| 1088 | + "updated_at": { |
| 1089 | + "name": "updated_at", |
| 1090 | + "type": "integer", |
| 1091 | + "primaryKey": false, |
| 1092 | + "notNull": true, |
| 1093 | + "autoincrement": false |
| 1094 | + } |
| 1095 | + }, |
| 1096 | + "indexes": { |
| 1097 | + "tool_scope_id_idx": { |
| 1098 | + "name": "tool_scope_id_idx", |
| 1099 | + "columns": [ |
| 1100 | + "scope_id" |
| 1101 | + ], |
| 1102 | + "isUnique": false |
| 1103 | + }, |
| 1104 | + "tool_source_id_idx": { |
| 1105 | + "name": "tool_source_id_idx", |
| 1106 | + "columns": [ |
| 1107 | + "source_id" |
| 1108 | + ], |
| 1109 | + "isUnique": false |
| 1110 | + }, |
| 1111 | + "tool_plugin_id_idx": { |
| 1112 | + "name": "tool_plugin_id_idx", |
| 1113 | + "columns": [ |
| 1114 | + "plugin_id" |
| 1115 | + ], |
| 1116 | + "isUnique": false |
| 1117 | + } |
| 1118 | + }, |
| 1119 | + "foreignKeys": {}, |
| 1120 | + "compositePrimaryKeys": { |
| 1121 | + "tool_scope_id_id_pk": { |
| 1122 | + "columns": [ |
| 1123 | + "scope_id", |
| 1124 | + "id" |
| 1125 | + ], |
| 1126 | + "name": "tool_scope_id_id_pk" |
| 1127 | + } |
| 1128 | + }, |
| 1129 | + "uniqueConstraints": {}, |
| 1130 | + "checkConstraints": {} |
| 1131 | + } |
| 1132 | + }, |
| 1133 | + "views": {}, |
| 1134 | + "enums": {}, |
| 1135 | + "_meta": { |
| 1136 | + "schemas": {}, |
| 1137 | + "tables": {}, |
| 1138 | + "columns": {} |
| 1139 | + }, |
| 1140 | + "internal": { |
| 1141 | + "indexes": {} |
| 1142 | + } |
| 1143 | +} |