File
Blob: drizzle/d1/meta/0004_snapshot.json
| 1 | { |
| 2 | "version": "6", |
| 3 | "dialect": "sqlite", |
| 4 | "id": "3e4b61d3-d610-4453-a7b2-9016e1cf514b", |
| 5 | "prevId": "a64ca9ff-5f43-4b60-9260-a7c3809857b6", |
| 6 | "tables": { |
| 7 | "accounts": { |
| 8 | "name": "accounts", |
| 9 | "columns": { |
| 10 | "id": { |
| 11 | "name": "id", |
| 12 | "type": "text", |
| 13 | "primaryKey": true, |
| 14 | "notNull": true, |
| 15 | "autoincrement": false |
| 16 | }, |
| 17 | "account_id": { |
| 18 | "name": "account_id", |
| 19 | "type": "text", |
| 20 | "primaryKey": false, |
| 21 | "notNull": true, |
| 22 | "autoincrement": false |
| 23 | }, |
| 24 | "provider_id": { |
| 25 | "name": "provider_id", |
| 26 | "type": "text", |
| 27 | "primaryKey": false, |
| 28 | "notNull": true, |
| 29 | "autoincrement": false |
| 30 | }, |
| 31 | "user_id": { |
| 32 | "name": "user_id", |
| 33 | "type": "text", |
| 34 | "primaryKey": false, |
| 35 | "notNull": true, |
| 36 | "autoincrement": false |
| 37 | }, |
| 38 | "access_token": { |
| 39 | "name": "access_token", |
| 40 | "type": "text", |
| 41 | "primaryKey": false, |
| 42 | "notNull": false, |
| 43 | "autoincrement": false |
| 44 | }, |
| 45 | "refresh_token": { |
| 46 | "name": "refresh_token", |
| 47 | "type": "text", |
| 48 | "primaryKey": false, |
| 49 | "notNull": false, |
| 50 | "autoincrement": false |
| 51 | }, |
| 52 | "id_token": { |
| 53 | "name": "id_token", |
| 54 | "type": "text", |
| 55 | "primaryKey": false, |
| 56 | "notNull": false, |
| 57 | "autoincrement": false |
| 58 | }, |
| 59 | "access_token_expires_at": { |
| 60 | "name": "access_token_expires_at", |
| 61 | "type": "integer", |
| 62 | "primaryKey": false, |
| 63 | "notNull": false, |
| 64 | "autoincrement": false |
| 65 | }, |
| 66 | "refresh_token_expires_at": { |
| 67 | "name": "refresh_token_expires_at", |
| 68 | "type": "integer", |
| 69 | "primaryKey": false, |
| 70 | "notNull": false, |
| 71 | "autoincrement": false |
| 72 | }, |
| 73 | "scope": { |
| 74 | "name": "scope", |
| 75 | "type": "text", |
| 76 | "primaryKey": false, |
| 77 | "notNull": false, |
| 78 | "autoincrement": false |
| 79 | }, |
| 80 | "password": { |
| 81 | "name": "password", |
| 82 | "type": "text", |
| 83 | "primaryKey": false, |
| 84 | "notNull": false, |
| 85 | "autoincrement": false |
| 86 | }, |
| 87 | "created_at": { |
| 88 | "name": "created_at", |
| 89 | "type": "integer", |
| 90 | "primaryKey": false, |
| 91 | "notNull": true, |
| 92 | "autoincrement": false, |
| 93 | "default": "(cast(unixepoch('subsecond') * 1000 as integer))" |
| 94 | }, |
| 95 | "updated_at": { |
| 96 | "name": "updated_at", |
| 97 | "type": "integer", |
| 98 | "primaryKey": false, |
| 99 | "notNull": true, |
| 100 | "autoincrement": false |
| 101 | } |
| 102 | }, |
| 103 | "indexes": { |
| 104 | "accounts_userId_idx": { |
| 105 | "name": "accounts_userId_idx", |
| 106 | "columns": [ |
| 107 | "user_id" |
| 108 | ], |
| 109 | "isUnique": false |
| 110 | } |
| 111 | }, |
| 112 | "foreignKeys": { |
| 113 | "accounts_user_id_users_id_fk": { |
| 114 | "name": "accounts_user_id_users_id_fk", |
| 115 | "tableFrom": "accounts", |
| 116 | "tableTo": "users", |
| 117 | "columnsFrom": [ |
| 118 | "user_id" |
| 119 | ], |
| 120 | "columnsTo": [ |
| 121 | "id" |
| 122 | ], |
| 123 | "onDelete": "cascade", |
| 124 | "onUpdate": "no action" |
| 125 | } |
| 126 | }, |
| 127 | "compositePrimaryKeys": {}, |
| 128 | "uniqueConstraints": {}, |
| 129 | "checkConstraints": {} |
| 130 | }, |
| 131 | "jwkss": { |
| 132 | "name": "jwkss", |
| 133 | "columns": { |
| 134 | "id": { |
| 135 | "name": "id", |
| 136 | "type": "text", |
| 137 | "primaryKey": true, |
| 138 | "notNull": true, |
| 139 | "autoincrement": false |
| 140 | }, |
| 141 | "public_key": { |
| 142 | "name": "public_key", |
| 143 | "type": "text", |
| 144 | "primaryKey": false, |
| 145 | "notNull": true, |
| 146 | "autoincrement": false |
| 147 | }, |
| 148 | "private_key": { |
| 149 | "name": "private_key", |
| 150 | "type": "text", |
| 151 | "primaryKey": false, |
| 152 | "notNull": true, |
| 153 | "autoincrement": false |
| 154 | }, |
| 155 | "created_at": { |
| 156 | "name": "created_at", |
| 157 | "type": "integer", |
| 158 | "primaryKey": false, |
| 159 | "notNull": true, |
| 160 | "autoincrement": false |
| 161 | }, |
| 162 | "expires_at": { |
| 163 | "name": "expires_at", |
| 164 | "type": "integer", |
| 165 | "primaryKey": false, |
| 166 | "notNull": false, |
| 167 | "autoincrement": false |
| 168 | }, |
| 169 | "alg": { |
| 170 | "name": "alg", |
| 171 | "type": "text", |
| 172 | "primaryKey": false, |
| 173 | "notNull": false, |
| 174 | "autoincrement": false |
| 175 | }, |
| 176 | "crv": { |
| 177 | "name": "crv", |
| 178 | "type": "text", |
| 179 | "primaryKey": false, |
| 180 | "notNull": false, |
| 181 | "autoincrement": false |
| 182 | } |
| 183 | }, |
| 184 | "indexes": {}, |
| 185 | "foreignKeys": {}, |
| 186 | "compositePrimaryKeys": {}, |
| 187 | "uniqueConstraints": {}, |
| 188 | "checkConstraints": {} |
| 189 | }, |
| 190 | "oauth_access_tokens": { |
| 191 | "name": "oauth_access_tokens", |
| 192 | "columns": { |
| 193 | "id": { |
| 194 | "name": "id", |
| 195 | "type": "text", |
| 196 | "primaryKey": true, |
| 197 | "notNull": true, |
| 198 | "autoincrement": false |
| 199 | }, |
| 200 | "token": { |
| 201 | "name": "token", |
| 202 | "type": "text", |
| 203 | "primaryKey": false, |
| 204 | "notNull": true, |
| 205 | "autoincrement": false |
| 206 | }, |
| 207 | "client_id": { |
| 208 | "name": "client_id", |
| 209 | "type": "text", |
| 210 | "primaryKey": false, |
| 211 | "notNull": true, |
| 212 | "autoincrement": false |
| 213 | }, |
| 214 | "session_id": { |
| 215 | "name": "session_id", |
| 216 | "type": "text", |
| 217 | "primaryKey": false, |
| 218 | "notNull": false, |
| 219 | "autoincrement": false |
| 220 | }, |
| 221 | "user_id": { |
| 222 | "name": "user_id", |
| 223 | "type": "text", |
| 224 | "primaryKey": false, |
| 225 | "notNull": false, |
| 226 | "autoincrement": false |
| 227 | }, |
| 228 | "reference_id": { |
| 229 | "name": "reference_id", |
| 230 | "type": "text", |
| 231 | "primaryKey": false, |
| 232 | "notNull": false, |
| 233 | "autoincrement": false |
| 234 | }, |
| 235 | "authorization_code_id": { |
| 236 | "name": "authorization_code_id", |
| 237 | "type": "text", |
| 238 | "primaryKey": false, |
| 239 | "notNull": false, |
| 240 | "autoincrement": false |
| 241 | }, |
| 242 | "resources": { |
| 243 | "name": "resources", |
| 244 | "type": "text", |
| 245 | "primaryKey": false, |
| 246 | "notNull": false, |
| 247 | "autoincrement": false |
| 248 | }, |
| 249 | "requested_user_info_claims": { |
| 250 | "name": "requested_user_info_claims", |
| 251 | "type": "text", |
| 252 | "primaryKey": false, |
| 253 | "notNull": false, |
| 254 | "autoincrement": false |
| 255 | }, |
| 256 | "refresh_id": { |
| 257 | "name": "refresh_id", |
| 258 | "type": "text", |
| 259 | "primaryKey": false, |
| 260 | "notNull": false, |
| 261 | "autoincrement": false |
| 262 | }, |
| 263 | "expires_at": { |
| 264 | "name": "expires_at", |
| 265 | "type": "integer", |
| 266 | "primaryKey": false, |
| 267 | "notNull": true, |
| 268 | "autoincrement": false |
| 269 | }, |
| 270 | "created_at": { |
| 271 | "name": "created_at", |
| 272 | "type": "integer", |
| 273 | "primaryKey": false, |
| 274 | "notNull": true, |
| 275 | "autoincrement": false |
| 276 | }, |
| 277 | "revoked": { |
| 278 | "name": "revoked", |
| 279 | "type": "integer", |
| 280 | "primaryKey": false, |
| 281 | "notNull": false, |
| 282 | "autoincrement": false |
| 283 | }, |
| 284 | "confirmation": { |
| 285 | "name": "confirmation", |
| 286 | "type": "text", |
| 287 | "primaryKey": false, |
| 288 | "notNull": false, |
| 289 | "autoincrement": false |
| 290 | }, |
| 291 | "scopes": { |
| 292 | "name": "scopes", |
| 293 | "type": "text", |
| 294 | "primaryKey": false, |
| 295 | "notNull": true, |
| 296 | "autoincrement": false |
| 297 | } |
| 298 | }, |
| 299 | "indexes": { |
| 300 | "oauth_access_tokens_token_unique": { |
| 301 | "name": "oauth_access_tokens_token_unique", |
| 302 | "columns": [ |
| 303 | "token" |
| 304 | ], |
| 305 | "isUnique": true |
| 306 | }, |
| 307 | "oauthAccessTokens_clientId_idx": { |
| 308 | "name": "oauthAccessTokens_clientId_idx", |
| 309 | "columns": [ |
| 310 | "client_id" |
| 311 | ], |
| 312 | "isUnique": false |
| 313 | }, |
| 314 | "oauthAccessTokens_sessionId_idx": { |
| 315 | "name": "oauthAccessTokens_sessionId_idx", |
| 316 | "columns": [ |
| 317 | "session_id" |
| 318 | ], |
| 319 | "isUnique": false |
| 320 | }, |
| 321 | "oauthAccessTokens_userId_idx": { |
| 322 | "name": "oauthAccessTokens_userId_idx", |
| 323 | "columns": [ |
| 324 | "user_id" |
| 325 | ], |
| 326 | "isUnique": false |
| 327 | }, |
| 328 | "oauthAccessTokens_authorizationCodeId_idx": { |
| 329 | "name": "oauthAccessTokens_authorizationCodeId_idx", |
| 330 | "columns": [ |
| 331 | "authorization_code_id" |
| 332 | ], |
| 333 | "isUnique": false |
| 334 | }, |
| 335 | "oauthAccessTokens_refreshId_idx": { |
| 336 | "name": "oauthAccessTokens_refreshId_idx", |
| 337 | "columns": [ |
| 338 | "refresh_id" |
| 339 | ], |
| 340 | "isUnique": false |
| 341 | } |
| 342 | }, |
| 343 | "foreignKeys": { |
| 344 | "oauth_access_tokens_client_id_oauth_clients_client_id_fk": { |
| 345 | "name": "oauth_access_tokens_client_id_oauth_clients_client_id_fk", |
| 346 | "tableFrom": "oauth_access_tokens", |
| 347 | "tableTo": "oauth_clients", |
| 348 | "columnsFrom": [ |
| 349 | "client_id" |
| 350 | ], |
| 351 | "columnsTo": [ |
| 352 | "client_id" |
| 353 | ], |
| 354 | "onDelete": "cascade", |
| 355 | "onUpdate": "no action" |
| 356 | }, |
| 357 | "oauth_access_tokens_session_id_sessions_id_fk": { |
| 358 | "name": "oauth_access_tokens_session_id_sessions_id_fk", |
| 359 | "tableFrom": "oauth_access_tokens", |
| 360 | "tableTo": "sessions", |
| 361 | "columnsFrom": [ |
| 362 | "session_id" |
| 363 | ], |
| 364 | "columnsTo": [ |
| 365 | "id" |
| 366 | ], |
| 367 | "onDelete": "set null", |
| 368 | "onUpdate": "no action" |
| 369 | }, |
| 370 | "oauth_access_tokens_user_id_users_id_fk": { |
| 371 | "name": "oauth_access_tokens_user_id_users_id_fk", |
| 372 | "tableFrom": "oauth_access_tokens", |
| 373 | "tableTo": "users", |
| 374 | "columnsFrom": [ |
| 375 | "user_id" |
| 376 | ], |
| 377 | "columnsTo": [ |
| 378 | "id" |
| 379 | ], |
| 380 | "onDelete": "cascade", |
| 381 | "onUpdate": "no action" |
| 382 | }, |
| 383 | "oauth_access_tokens_refresh_id_oauth_refresh_tokens_id_fk": { |
| 384 | "name": "oauth_access_tokens_refresh_id_oauth_refresh_tokens_id_fk", |
| 385 | "tableFrom": "oauth_access_tokens", |
| 386 | "tableTo": "oauth_refresh_tokens", |
| 387 | "columnsFrom": [ |
| 388 | "refresh_id" |
| 389 | ], |
| 390 | "columnsTo": [ |
| 391 | "id" |
| 392 | ], |
| 393 | "onDelete": "cascade", |
| 394 | "onUpdate": "no action" |
| 395 | } |
| 396 | }, |
| 397 | "compositePrimaryKeys": {}, |
| 398 | "uniqueConstraints": {}, |
| 399 | "checkConstraints": {} |
| 400 | }, |
| 401 | "oauth_client_assertions": { |
| 402 | "name": "oauth_client_assertions", |
| 403 | "columns": { |
| 404 | "id": { |
| 405 | "name": "id", |
| 406 | "type": "text", |
| 407 | "primaryKey": true, |
| 408 | "notNull": true, |
| 409 | "autoincrement": false |
| 410 | }, |
| 411 | "expires_at": { |
| 412 | "name": "expires_at", |
| 413 | "type": "integer", |
| 414 | "primaryKey": false, |
| 415 | "notNull": true, |
| 416 | "autoincrement": false |
| 417 | } |
| 418 | }, |
| 419 | "indexes": {}, |
| 420 | "foreignKeys": {}, |
| 421 | "compositePrimaryKeys": {}, |
| 422 | "uniqueConstraints": {}, |
| 423 | "checkConstraints": {} |
| 424 | }, |
| 425 | "oauth_client_resources": { |
| 426 | "name": "oauth_client_resources", |
| 427 | "columns": { |
| 428 | "id": { |
| 429 | "name": "id", |
| 430 | "type": "text", |
| 431 | "primaryKey": true, |
| 432 | "notNull": true, |
| 433 | "autoincrement": false |
| 434 | }, |
| 435 | "client_id": { |
| 436 | "name": "client_id", |
| 437 | "type": "text", |
| 438 | "primaryKey": false, |
| 439 | "notNull": true, |
| 440 | "autoincrement": false |
| 441 | }, |
| 442 | "resource_id": { |
| 443 | "name": "resource_id", |
| 444 | "type": "text", |
| 445 | "primaryKey": false, |
| 446 | "notNull": true, |
| 447 | "autoincrement": false |
| 448 | }, |
| 449 | "metadata": { |
| 450 | "name": "metadata", |
| 451 | "type": "text", |
| 452 | "primaryKey": false, |
| 453 | "notNull": false, |
| 454 | "autoincrement": false |
| 455 | }, |
| 456 | "created_at": { |
| 457 | "name": "created_at", |
| 458 | "type": "integer", |
| 459 | "primaryKey": false, |
| 460 | "notNull": false, |
| 461 | "autoincrement": false |
| 462 | } |
| 463 | }, |
| 464 | "indexes": { |
| 465 | "oauthClientResources_clientId_resourceId_uidx": { |
| 466 | "name": "oauthClientResources_clientId_resourceId_uidx", |
| 467 | "columns": [ |
| 468 | "client_id", |
| 469 | "resource_id" |
| 470 | ], |
| 471 | "isUnique": true |
| 472 | }, |
| 473 | "oauthClientResources_clientId_idx": { |
| 474 | "name": "oauthClientResources_clientId_idx", |
| 475 | "columns": [ |
| 476 | "client_id" |
| 477 | ], |
| 478 | "isUnique": false |
| 479 | }, |
| 480 | "oauthClientResources_resourceId_idx": { |
| 481 | "name": "oauthClientResources_resourceId_idx", |
| 482 | "columns": [ |
| 483 | "resource_id" |
| 484 | ], |
| 485 | "isUnique": false |
| 486 | } |
| 487 | }, |
| 488 | "foreignKeys": { |
| 489 | "oauth_client_resources_client_id_oauth_clients_client_id_fk": { |
| 490 | "name": "oauth_client_resources_client_id_oauth_clients_client_id_fk", |
| 491 | "tableFrom": "oauth_client_resources", |
| 492 | "tableTo": "oauth_clients", |
| 493 | "columnsFrom": [ |
| 494 | "client_id" |
| 495 | ], |
| 496 | "columnsTo": [ |
| 497 | "client_id" |
| 498 | ], |
| 499 | "onDelete": "cascade", |
| 500 | "onUpdate": "no action" |
| 501 | }, |
| 502 | "oauth_client_resources_resource_id_oauth_resources_identifier_fk": { |
| 503 | "name": "oauth_client_resources_resource_id_oauth_resources_identifier_fk", |
| 504 | "tableFrom": "oauth_client_resources", |
| 505 | "tableTo": "oauth_resources", |
| 506 | "columnsFrom": [ |
| 507 | "resource_id" |
| 508 | ], |
| 509 | "columnsTo": [ |
| 510 | "identifier" |
| 511 | ], |
| 512 | "onDelete": "cascade", |
| 513 | "onUpdate": "no action" |
| 514 | } |
| 515 | }, |
| 516 | "compositePrimaryKeys": {}, |
| 517 | "uniqueConstraints": {}, |
| 518 | "checkConstraints": {} |
| 519 | }, |
| 520 | "oauth_clients": { |
| 521 | "name": "oauth_clients", |
| 522 | "columns": { |
| 523 | "id": { |
| 524 | "name": "id", |
| 525 | "type": "text", |
| 526 | "primaryKey": true, |
| 527 | "notNull": true, |
| 528 | "autoincrement": false |
| 529 | }, |
| 530 | "client_id": { |
| 531 | "name": "client_id", |
| 532 | "type": "text", |
| 533 | "primaryKey": false, |
| 534 | "notNull": true, |
| 535 | "autoincrement": false |
| 536 | }, |
| 537 | "client_secret": { |
| 538 | "name": "client_secret", |
| 539 | "type": "text", |
| 540 | "primaryKey": false, |
| 541 | "notNull": false, |
| 542 | "autoincrement": false |
| 543 | }, |
| 544 | "client_discovery_id": { |
| 545 | "name": "client_discovery_id", |
| 546 | "type": "text", |
| 547 | "primaryKey": false, |
| 548 | "notNull": false, |
| 549 | "autoincrement": false |
| 550 | }, |
| 551 | "disabled": { |
| 552 | "name": "disabled", |
| 553 | "type": "integer", |
| 554 | "primaryKey": false, |
| 555 | "notNull": false, |
| 556 | "autoincrement": false, |
| 557 | "default": false |
| 558 | }, |
| 559 | "skip_consent": { |
| 560 | "name": "skip_consent", |
| 561 | "type": "integer", |
| 562 | "primaryKey": false, |
| 563 | "notNull": false, |
| 564 | "autoincrement": false |
| 565 | }, |
| 566 | "enable_end_session": { |
| 567 | "name": "enable_end_session", |
| 568 | "type": "integer", |
| 569 | "primaryKey": false, |
| 570 | "notNull": false, |
| 571 | "autoincrement": false |
| 572 | }, |
| 573 | "subject_type": { |
| 574 | "name": "subject_type", |
| 575 | "type": "text", |
| 576 | "primaryKey": false, |
| 577 | "notNull": false, |
| 578 | "autoincrement": false |
| 579 | }, |
| 580 | "scopes": { |
| 581 | "name": "scopes", |
| 582 | "type": "text", |
| 583 | "primaryKey": false, |
| 584 | "notNull": false, |
| 585 | "autoincrement": false |
| 586 | }, |
| 587 | "client_credentials_scopes": { |
| 588 | "name": "client_credentials_scopes", |
| 589 | "type": "text", |
| 590 | "primaryKey": false, |
| 591 | "notNull": false, |
| 592 | "autoincrement": false, |
| 593 | "default": "'[]'" |
| 594 | }, |
| 595 | "user_id": { |
| 596 | "name": "user_id", |
| 597 | "type": "text", |
| 598 | "primaryKey": false, |
| 599 | "notNull": false, |
| 600 | "autoincrement": false |
| 601 | }, |
| 602 | "created_at": { |
| 603 | "name": "created_at", |
| 604 | "type": "integer", |
| 605 | "primaryKey": false, |
| 606 | "notNull": false, |
| 607 | "autoincrement": false |
| 608 | }, |
| 609 | "updated_at": { |
| 610 | "name": "updated_at", |
| 611 | "type": "integer", |
| 612 | "primaryKey": false, |
| 613 | "notNull": false, |
| 614 | "autoincrement": false |
| 615 | }, |
| 616 | "name": { |
| 617 | "name": "name", |
| 618 | "type": "text", |
| 619 | "primaryKey": false, |
| 620 | "notNull": false, |
| 621 | "autoincrement": false |
| 622 | }, |
| 623 | "uri": { |
| 624 | "name": "uri", |
| 625 | "type": "text", |
| 626 | "primaryKey": false, |
| 627 | "notNull": false, |
| 628 | "autoincrement": false |
| 629 | }, |
| 630 | "icon": { |
| 631 | "name": "icon", |
| 632 | "type": "text", |
| 633 | "primaryKey": false, |
| 634 | "notNull": false, |
| 635 | "autoincrement": false |
| 636 | }, |
| 637 | "contacts": { |
| 638 | "name": "contacts", |
| 639 | "type": "text", |
| 640 | "primaryKey": false, |
| 641 | "notNull": false, |
| 642 | "autoincrement": false |
| 643 | }, |
| 644 | "tos": { |
| 645 | "name": "tos", |
| 646 | "type": "text", |
| 647 | "primaryKey": false, |
| 648 | "notNull": false, |
| 649 | "autoincrement": false |
| 650 | }, |
| 651 | "policy": { |
| 652 | "name": "policy", |
| 653 | "type": "text", |
| 654 | "primaryKey": false, |
| 655 | "notNull": false, |
| 656 | "autoincrement": false |
| 657 | }, |
| 658 | "software_id": { |
| 659 | "name": "software_id", |
| 660 | "type": "text", |
| 661 | "primaryKey": false, |
| 662 | "notNull": false, |
| 663 | "autoincrement": false |
| 664 | }, |
| 665 | "software_version": { |
| 666 | "name": "software_version", |
| 667 | "type": "text", |
| 668 | "primaryKey": false, |
| 669 | "notNull": false, |
| 670 | "autoincrement": false |
| 671 | }, |
| 672 | "software_statement": { |
| 673 | "name": "software_statement", |
| 674 | "type": "text", |
| 675 | "primaryKey": false, |
| 676 | "notNull": false, |
| 677 | "autoincrement": false |
| 678 | }, |
| 679 | "redirect_uris": { |
| 680 | "name": "redirect_uris", |
| 681 | "type": "text", |
| 682 | "primaryKey": false, |
| 683 | "notNull": true, |
| 684 | "autoincrement": false |
| 685 | }, |
| 686 | "post_logout_redirect_uris": { |
| 687 | "name": "post_logout_redirect_uris", |
| 688 | "type": "text", |
| 689 | "primaryKey": false, |
| 690 | "notNull": false, |
| 691 | "autoincrement": false |
| 692 | }, |
| 693 | "backchannel_logout_uri": { |
| 694 | "name": "backchannel_logout_uri", |
| 695 | "type": "text", |
| 696 | "primaryKey": false, |
| 697 | "notNull": false, |
| 698 | "autoincrement": false |
| 699 | }, |
| 700 | "backchannel_logout_session_required": { |
| 701 | "name": "backchannel_logout_session_required", |
| 702 | "type": "integer", |
| 703 | "primaryKey": false, |
| 704 | "notNull": false, |
| 705 | "autoincrement": false |
| 706 | }, |
| 707 | "token_endpoint_auth_method": { |
| 708 | "name": "token_endpoint_auth_method", |
| 709 | "type": "text", |
| 710 | "primaryKey": false, |
| 711 | "notNull": false, |
| 712 | "autoincrement": false |
| 713 | }, |
| 714 | "application_type": { |
| 715 | "name": "application_type", |
| 716 | "type": "text", |
| 717 | "primaryKey": false, |
| 718 | "notNull": false, |
| 719 | "autoincrement": false |
| 720 | }, |
| 721 | "jwks": { |
| 722 | "name": "jwks", |
| 723 | "type": "text", |
| 724 | "primaryKey": false, |
| 725 | "notNull": false, |
| 726 | "autoincrement": false |
| 727 | }, |
| 728 | "jwks_uri": { |
| 729 | "name": "jwks_uri", |
| 730 | "type": "text", |
| 731 | "primaryKey": false, |
| 732 | "notNull": false, |
| 733 | "autoincrement": false |
| 734 | }, |
| 735 | "grant_types": { |
| 736 | "name": "grant_types", |
| 737 | "type": "text", |
| 738 | "primaryKey": false, |
| 739 | "notNull": false, |
| 740 | "autoincrement": false |
| 741 | }, |
| 742 | "response_types": { |
| 743 | "name": "response_types", |
| 744 | "type": "text", |
| 745 | "primaryKey": false, |
| 746 | "notNull": false, |
| 747 | "autoincrement": false |
| 748 | }, |
| 749 | "require_pkce": { |
| 750 | "name": "require_pkce", |
| 751 | "type": "integer", |
| 752 | "primaryKey": false, |
| 753 | "notNull": false, |
| 754 | "autoincrement": false |
| 755 | }, |
| 756 | "dpop_bound_access_tokens": { |
| 757 | "name": "dpop_bound_access_tokens", |
| 758 | "type": "integer", |
| 759 | "primaryKey": false, |
| 760 | "notNull": false, |
| 761 | "autoincrement": false, |
| 762 | "default": false |
| 763 | }, |
| 764 | "reference_id": { |
| 765 | "name": "reference_id", |
| 766 | "type": "text", |
| 767 | "primaryKey": false, |
| 768 | "notNull": false, |
| 769 | "autoincrement": false |
| 770 | }, |
| 771 | "metadata": { |
| 772 | "name": "metadata", |
| 773 | "type": "text", |
| 774 | "primaryKey": false, |
| 775 | "notNull": false, |
| 776 | "autoincrement": false |
| 777 | } |
| 778 | }, |
| 779 | "indexes": { |
| 780 | "oauth_clients_client_id_unique": { |
| 781 | "name": "oauth_clients_client_id_unique", |
| 782 | "columns": [ |
| 783 | "client_id" |
| 784 | ], |
| 785 | "isUnique": true |
| 786 | }, |
| 787 | "oauthClients_userId_idx": { |
| 788 | "name": "oauthClients_userId_idx", |
| 789 | "columns": [ |
| 790 | "user_id" |
| 791 | ], |
| 792 | "isUnique": false |
| 793 | } |
| 794 | }, |
| 795 | "foreignKeys": { |
| 796 | "oauth_clients_user_id_users_id_fk": { |
| 797 | "name": "oauth_clients_user_id_users_id_fk", |
| 798 | "tableFrom": "oauth_clients", |
| 799 | "tableTo": "users", |
| 800 | "columnsFrom": [ |
| 801 | "user_id" |
| 802 | ], |
| 803 | "columnsTo": [ |
| 804 | "id" |
| 805 | ], |
| 806 | "onDelete": "cascade", |
| 807 | "onUpdate": "no action" |
| 808 | } |
| 809 | }, |
| 810 | "compositePrimaryKeys": {}, |
| 811 | "uniqueConstraints": {}, |
| 812 | "checkConstraints": {} |
| 813 | }, |
| 814 | "oauth_consents": { |
| 815 | "name": "oauth_consents", |
| 816 | "columns": { |
| 817 | "id": { |
| 818 | "name": "id", |
| 819 | "type": "text", |
| 820 | "primaryKey": true, |
| 821 | "notNull": true, |
| 822 | "autoincrement": false |
| 823 | }, |
| 824 | "client_id": { |
| 825 | "name": "client_id", |
| 826 | "type": "text", |
| 827 | "primaryKey": false, |
| 828 | "notNull": true, |
| 829 | "autoincrement": false |
| 830 | }, |
| 831 | "user_id": { |
| 832 | "name": "user_id", |
| 833 | "type": "text", |
| 834 | "primaryKey": false, |
| 835 | "notNull": false, |
| 836 | "autoincrement": false |
| 837 | }, |
| 838 | "reference_id": { |
| 839 | "name": "reference_id", |
| 840 | "type": "text", |
| 841 | "primaryKey": false, |
| 842 | "notNull": false, |
| 843 | "autoincrement": false |
| 844 | }, |
| 845 | "resources": { |
| 846 | "name": "resources", |
| 847 | "type": "text", |
| 848 | "primaryKey": false, |
| 849 | "notNull": false, |
| 850 | "autoincrement": false |
| 851 | }, |
| 852 | "requested_user_info_claims": { |
| 853 | "name": "requested_user_info_claims", |
| 854 | "type": "text", |
| 855 | "primaryKey": false, |
| 856 | "notNull": false, |
| 857 | "autoincrement": false |
| 858 | }, |
| 859 | "scopes": { |
| 860 | "name": "scopes", |
| 861 | "type": "text", |
| 862 | "primaryKey": false, |
| 863 | "notNull": true, |
| 864 | "autoincrement": false |
| 865 | }, |
| 866 | "created_at": { |
| 867 | "name": "created_at", |
| 868 | "type": "integer", |
| 869 | "primaryKey": false, |
| 870 | "notNull": true, |
| 871 | "autoincrement": false |
| 872 | }, |
| 873 | "updated_at": { |
| 874 | "name": "updated_at", |
| 875 | "type": "integer", |
| 876 | "primaryKey": false, |
| 877 | "notNull": true, |
| 878 | "autoincrement": false |
| 879 | } |
| 880 | }, |
| 881 | "indexes": { |
| 882 | "oauthConsents_clientId_idx": { |
| 883 | "name": "oauthConsents_clientId_idx", |
| 884 | "columns": [ |
| 885 | "client_id" |
| 886 | ], |
| 887 | "isUnique": false |
| 888 | }, |
| 889 | "oauthConsents_userId_idx": { |
| 890 | "name": "oauthConsents_userId_idx", |
| 891 | "columns": [ |
| 892 | "user_id" |
| 893 | ], |
| 894 | "isUnique": false |
| 895 | } |
| 896 | }, |
| 897 | "foreignKeys": { |
| 898 | "oauth_consents_client_id_oauth_clients_client_id_fk": { |
| 899 | "name": "oauth_consents_client_id_oauth_clients_client_id_fk", |
| 900 | "tableFrom": "oauth_consents", |
| 901 | "tableTo": "oauth_clients", |
| 902 | "columnsFrom": [ |
| 903 | "client_id" |
| 904 | ], |
| 905 | "columnsTo": [ |
| 906 | "client_id" |
| 907 | ], |
| 908 | "onDelete": "cascade", |
| 909 | "onUpdate": "no action" |
| 910 | }, |
| 911 | "oauth_consents_user_id_users_id_fk": { |
| 912 | "name": "oauth_consents_user_id_users_id_fk", |
| 913 | "tableFrom": "oauth_consents", |
| 914 | "tableTo": "users", |
| 915 | "columnsFrom": [ |
| 916 | "user_id" |
| 917 | ], |
| 918 | "columnsTo": [ |
| 919 | "id" |
| 920 | ], |
| 921 | "onDelete": "cascade", |
| 922 | "onUpdate": "no action" |
| 923 | } |
| 924 | }, |
| 925 | "compositePrimaryKeys": {}, |
| 926 | "uniqueConstraints": {}, |
| 927 | "checkConstraints": {} |
| 928 | }, |
| 929 | "oauth_refresh_tokens": { |
| 930 | "name": "oauth_refresh_tokens", |
| 931 | "columns": { |
| 932 | "id": { |
| 933 | "name": "id", |
| 934 | "type": "text", |
| 935 | "primaryKey": true, |
| 936 | "notNull": true, |
| 937 | "autoincrement": false |
| 938 | }, |
| 939 | "token": { |
| 940 | "name": "token", |
| 941 | "type": "text", |
| 942 | "primaryKey": false, |
| 943 | "notNull": true, |
| 944 | "autoincrement": false |
| 945 | }, |
| 946 | "client_id": { |
| 947 | "name": "client_id", |
| 948 | "type": "text", |
| 949 | "primaryKey": false, |
| 950 | "notNull": true, |
| 951 | "autoincrement": false |
| 952 | }, |
| 953 | "session_id": { |
| 954 | "name": "session_id", |
| 955 | "type": "text", |
| 956 | "primaryKey": false, |
| 957 | "notNull": false, |
| 958 | "autoincrement": false |
| 959 | }, |
| 960 | "user_id": { |
| 961 | "name": "user_id", |
| 962 | "type": "text", |
| 963 | "primaryKey": false, |
| 964 | "notNull": true, |
| 965 | "autoincrement": false |
| 966 | }, |
| 967 | "reference_id": { |
| 968 | "name": "reference_id", |
| 969 | "type": "text", |
| 970 | "primaryKey": false, |
| 971 | "notNull": false, |
| 972 | "autoincrement": false |
| 973 | }, |
| 974 | "authorization_code_id": { |
| 975 | "name": "authorization_code_id", |
| 976 | "type": "text", |
| 977 | "primaryKey": false, |
| 978 | "notNull": false, |
| 979 | "autoincrement": false |
| 980 | }, |
| 981 | "resources": { |
| 982 | "name": "resources", |
| 983 | "type": "text", |
| 984 | "primaryKey": false, |
| 985 | "notNull": false, |
| 986 | "autoincrement": false |
| 987 | }, |
| 988 | "requested_user_info_claims": { |
| 989 | "name": "requested_user_info_claims", |
| 990 | "type": "text", |
| 991 | "primaryKey": false, |
| 992 | "notNull": false, |
| 993 | "autoincrement": false |
| 994 | }, |
| 995 | "expires_at": { |
| 996 | "name": "expires_at", |
| 997 | "type": "integer", |
| 998 | "primaryKey": false, |
| 999 | "notNull": true, |
| 1000 | "autoincrement": false |
| 1001 | }, |
| 1002 | "created_at": { |
| 1003 | "name": "created_at", |
| 1004 | "type": "integer", |
| 1005 | "primaryKey": false, |
| 1006 | "notNull": true, |
| 1007 | "autoincrement": false |
| 1008 | }, |
| 1009 | "revoked": { |
| 1010 | "name": "revoked", |
| 1011 | "type": "integer", |
| 1012 | "primaryKey": false, |
| 1013 | "notNull": false, |
| 1014 | "autoincrement": false |
| 1015 | }, |
| 1016 | "rotated_at": { |
| 1017 | "name": "rotated_at", |
| 1018 | "type": "integer", |
| 1019 | "primaryKey": false, |
| 1020 | "notNull": false, |
| 1021 | "autoincrement": false |
| 1022 | }, |
| 1023 | "rotation_replay_response": { |
| 1024 | "name": "rotation_replay_response", |
| 1025 | "type": "text", |
| 1026 | "primaryKey": false, |
| 1027 | "notNull": false, |
| 1028 | "autoincrement": false |
| 1029 | }, |
| 1030 | "rotation_replay_expires_at": { |
| 1031 | "name": "rotation_replay_expires_at", |
| 1032 | "type": "integer", |
| 1033 | "primaryKey": false, |
| 1034 | "notNull": false, |
| 1035 | "autoincrement": false |
| 1036 | }, |
| 1037 | "auth_time": { |
| 1038 | "name": "auth_time", |
| 1039 | "type": "integer", |
| 1040 | "primaryKey": false, |
| 1041 | "notNull": false, |
| 1042 | "autoincrement": false |
| 1043 | }, |
| 1044 | "confirmation": { |
| 1045 | "name": "confirmation", |
| 1046 | "type": "text", |
| 1047 | "primaryKey": false, |
| 1048 | "notNull": false, |
| 1049 | "autoincrement": false |
| 1050 | }, |
| 1051 | "scopes": { |
| 1052 | "name": "scopes", |
| 1053 | "type": "text", |
| 1054 | "primaryKey": false, |
| 1055 | "notNull": true, |
| 1056 | "autoincrement": false |
| 1057 | } |
| 1058 | }, |
| 1059 | "indexes": { |
| 1060 | "oauth_refresh_tokens_token_unique": { |
| 1061 | "name": "oauth_refresh_tokens_token_unique", |
| 1062 | "columns": [ |
| 1063 | "token" |
| 1064 | ], |
| 1065 | "isUnique": true |
| 1066 | }, |
| 1067 | "oauthRefreshTokens_clientId_idx": { |
| 1068 | "name": "oauthRefreshTokens_clientId_idx", |
| 1069 | "columns": [ |
| 1070 | "client_id" |
| 1071 | ], |
| 1072 | "isUnique": false |
| 1073 | }, |
| 1074 | "oauthRefreshTokens_sessionId_idx": { |
| 1075 | "name": "oauthRefreshTokens_sessionId_idx", |
| 1076 | "columns": [ |
| 1077 | "session_id" |
| 1078 | ], |
| 1079 | "isUnique": false |
| 1080 | }, |
| 1081 | "oauthRefreshTokens_userId_idx": { |
| 1082 | "name": "oauthRefreshTokens_userId_idx", |
| 1083 | "columns": [ |
| 1084 | "user_id" |
| 1085 | ], |
| 1086 | "isUnique": false |
| 1087 | }, |
| 1088 | "oauthRefreshTokens_authorizationCodeId_idx": { |
| 1089 | "name": "oauthRefreshTokens_authorizationCodeId_idx", |
| 1090 | "columns": [ |
| 1091 | "authorization_code_id" |
| 1092 | ], |
| 1093 | "isUnique": false |
| 1094 | } |
| 1095 | }, |
| 1096 | "foreignKeys": { |
| 1097 | "oauth_refresh_tokens_client_id_oauth_clients_client_id_fk": { |
| 1098 | "name": "oauth_refresh_tokens_client_id_oauth_clients_client_id_fk", |
| 1099 | "tableFrom": "oauth_refresh_tokens", |
| 1100 | "tableTo": "oauth_clients", |
| 1101 | "columnsFrom": [ |
| 1102 | "client_id" |
| 1103 | ], |
| 1104 | "columnsTo": [ |
| 1105 | "client_id" |
| 1106 | ], |
| 1107 | "onDelete": "cascade", |
| 1108 | "onUpdate": "no action" |
| 1109 | }, |
| 1110 | "oauth_refresh_tokens_session_id_sessions_id_fk": { |
| 1111 | "name": "oauth_refresh_tokens_session_id_sessions_id_fk", |
| 1112 | "tableFrom": "oauth_refresh_tokens", |
| 1113 | "tableTo": "sessions", |
| 1114 | "columnsFrom": [ |
| 1115 | "session_id" |
| 1116 | ], |
| 1117 | "columnsTo": [ |
| 1118 | "id" |
| 1119 | ], |
| 1120 | "onDelete": "set null", |
| 1121 | "onUpdate": "no action" |
| 1122 | }, |
| 1123 | "oauth_refresh_tokens_user_id_users_id_fk": { |
| 1124 | "name": "oauth_refresh_tokens_user_id_users_id_fk", |
| 1125 | "tableFrom": "oauth_refresh_tokens", |
| 1126 | "tableTo": "users", |
| 1127 | "columnsFrom": [ |
| 1128 | "user_id" |
| 1129 | ], |
| 1130 | "columnsTo": [ |
| 1131 | "id" |
| 1132 | ], |
| 1133 | "onDelete": "cascade", |
| 1134 | "onUpdate": "no action" |
| 1135 | } |
| 1136 | }, |
| 1137 | "compositePrimaryKeys": {}, |
| 1138 | "uniqueConstraints": {}, |
| 1139 | "checkConstraints": {} |
| 1140 | }, |
| 1141 | "oauth_resources": { |
| 1142 | "name": "oauth_resources", |
| 1143 | "columns": { |
| 1144 | "id": { |
| 1145 | "name": "id", |
| 1146 | "type": "text", |
| 1147 | "primaryKey": true, |
| 1148 | "notNull": true, |
| 1149 | "autoincrement": false |
| 1150 | }, |
| 1151 | "identifier": { |
| 1152 | "name": "identifier", |
| 1153 | "type": "text", |
| 1154 | "primaryKey": false, |
| 1155 | "notNull": true, |
| 1156 | "autoincrement": false |
| 1157 | }, |
| 1158 | "name": { |
| 1159 | "name": "name", |
| 1160 | "type": "text", |
| 1161 | "primaryKey": false, |
| 1162 | "notNull": true, |
| 1163 | "autoincrement": false |
| 1164 | }, |
| 1165 | "access_token_ttl": { |
| 1166 | "name": "access_token_ttl", |
| 1167 | "type": "integer", |
| 1168 | "primaryKey": false, |
| 1169 | "notNull": false, |
| 1170 | "autoincrement": false |
| 1171 | }, |
| 1172 | "refresh_token_ttl": { |
| 1173 | "name": "refresh_token_ttl", |
| 1174 | "type": "integer", |
| 1175 | "primaryKey": false, |
| 1176 | "notNull": false, |
| 1177 | "autoincrement": false |
| 1178 | }, |
| 1179 | "signing_algorithm": { |
| 1180 | "name": "signing_algorithm", |
| 1181 | "type": "text", |
| 1182 | "primaryKey": false, |
| 1183 | "notNull": false, |
| 1184 | "autoincrement": false |
| 1185 | }, |
| 1186 | "signing_key_id": { |
| 1187 | "name": "signing_key_id", |
| 1188 | "type": "text", |
| 1189 | "primaryKey": false, |
| 1190 | "notNull": false, |
| 1191 | "autoincrement": false |
| 1192 | }, |
| 1193 | "allowed_scopes": { |
| 1194 | "name": "allowed_scopes", |
| 1195 | "type": "text", |
| 1196 | "primaryKey": false, |
| 1197 | "notNull": false, |
| 1198 | "autoincrement": false |
| 1199 | }, |
| 1200 | "custom_claims": { |
| 1201 | "name": "custom_claims", |
| 1202 | "type": "text", |
| 1203 | "primaryKey": false, |
| 1204 | "notNull": false, |
| 1205 | "autoincrement": false |
| 1206 | }, |
| 1207 | "dpop_bound_access_tokens_required": { |
| 1208 | "name": "dpop_bound_access_tokens_required", |
| 1209 | "type": "integer", |
| 1210 | "primaryKey": false, |
| 1211 | "notNull": false, |
| 1212 | "autoincrement": false, |
| 1213 | "default": false |
| 1214 | }, |
| 1215 | "disabled": { |
| 1216 | "name": "disabled", |
| 1217 | "type": "integer", |
| 1218 | "primaryKey": false, |
| 1219 | "notNull": false, |
| 1220 | "autoincrement": false, |
| 1221 | "default": false |
| 1222 | }, |
| 1223 | "created_at": { |
| 1224 | "name": "created_at", |
| 1225 | "type": "integer", |
| 1226 | "primaryKey": false, |
| 1227 | "notNull": false, |
| 1228 | "autoincrement": false |
| 1229 | }, |
| 1230 | "updated_at": { |
| 1231 | "name": "updated_at", |
| 1232 | "type": "integer", |
| 1233 | "primaryKey": false, |
| 1234 | "notNull": false, |
| 1235 | "autoincrement": false |
| 1236 | }, |
| 1237 | "policy_version": { |
| 1238 | "name": "policy_version", |
| 1239 | "type": "integer", |
| 1240 | "primaryKey": false, |
| 1241 | "notNull": false, |
| 1242 | "autoincrement": false, |
| 1243 | "default": 1 |
| 1244 | }, |
| 1245 | "metadata": { |
| 1246 | "name": "metadata", |
| 1247 | "type": "text", |
| 1248 | "primaryKey": false, |
| 1249 | "notNull": false, |
| 1250 | "autoincrement": false |
| 1251 | } |
| 1252 | }, |
| 1253 | "indexes": { |
| 1254 | "oauth_resources_identifier_unique": { |
| 1255 | "name": "oauth_resources_identifier_unique", |
| 1256 | "columns": [ |
| 1257 | "identifier" |
| 1258 | ], |
| 1259 | "isUnique": true |
| 1260 | } |
| 1261 | }, |
| 1262 | "foreignKeys": {}, |
| 1263 | "compositePrimaryKeys": {}, |
| 1264 | "uniqueConstraints": {}, |
| 1265 | "checkConstraints": {} |
| 1266 | }, |
| 1267 | "sessions": { |
| 1268 | "name": "sessions", |
| 1269 | "columns": { |
| 1270 | "id": { |
| 1271 | "name": "id", |
| 1272 | "type": "text", |
| 1273 | "primaryKey": true, |
| 1274 | "notNull": true, |
| 1275 | "autoincrement": false |
| 1276 | }, |
| 1277 | "expires_at": { |
| 1278 | "name": "expires_at", |
| 1279 | "type": "integer", |
| 1280 | "primaryKey": false, |
| 1281 | "notNull": true, |
| 1282 | "autoincrement": false |
| 1283 | }, |
| 1284 | "token": { |
| 1285 | "name": "token", |
| 1286 | "type": "text", |
| 1287 | "primaryKey": false, |
| 1288 | "notNull": true, |
| 1289 | "autoincrement": false |
| 1290 | }, |
| 1291 | "created_at": { |
| 1292 | "name": "created_at", |
| 1293 | "type": "integer", |
| 1294 | "primaryKey": false, |
| 1295 | "notNull": true, |
| 1296 | "autoincrement": false, |
| 1297 | "default": "(cast(unixepoch('subsecond') * 1000 as integer))" |
| 1298 | }, |
| 1299 | "updated_at": { |
| 1300 | "name": "updated_at", |
| 1301 | "type": "integer", |
| 1302 | "primaryKey": false, |
| 1303 | "notNull": true, |
| 1304 | "autoincrement": false |
| 1305 | }, |
| 1306 | "ip_address": { |
| 1307 | "name": "ip_address", |
| 1308 | "type": "text", |
| 1309 | "primaryKey": false, |
| 1310 | "notNull": false, |
| 1311 | "autoincrement": false |
| 1312 | }, |
| 1313 | "user_agent": { |
| 1314 | "name": "user_agent", |
| 1315 | "type": "text", |
| 1316 | "primaryKey": false, |
| 1317 | "notNull": false, |
| 1318 | "autoincrement": false |
| 1319 | }, |
| 1320 | "user_id": { |
| 1321 | "name": "user_id", |
| 1322 | "type": "text", |
| 1323 | "primaryKey": false, |
| 1324 | "notNull": true, |
| 1325 | "autoincrement": false |
| 1326 | }, |
| 1327 | "impersonated_by": { |
| 1328 | "name": "impersonated_by", |
| 1329 | "type": "text", |
| 1330 | "primaryKey": false, |
| 1331 | "notNull": false, |
| 1332 | "autoincrement": false |
| 1333 | } |
| 1334 | }, |
| 1335 | "indexes": { |
| 1336 | "sessions_token_unique": { |
| 1337 | "name": "sessions_token_unique", |
| 1338 | "columns": [ |
| 1339 | "token" |
| 1340 | ], |
| 1341 | "isUnique": true |
| 1342 | }, |
| 1343 | "sessions_userId_idx": { |
| 1344 | "name": "sessions_userId_idx", |
| 1345 | "columns": [ |
| 1346 | "user_id" |
| 1347 | ], |
| 1348 | "isUnique": false |
| 1349 | } |
| 1350 | }, |
| 1351 | "foreignKeys": { |
| 1352 | "sessions_user_id_users_id_fk": { |
| 1353 | "name": "sessions_user_id_users_id_fk", |
| 1354 | "tableFrom": "sessions", |
| 1355 | "tableTo": "users", |
| 1356 | "columnsFrom": [ |
| 1357 | "user_id" |
| 1358 | ], |
| 1359 | "columnsTo": [ |
| 1360 | "id" |
| 1361 | ], |
| 1362 | "onDelete": "cascade", |
| 1363 | "onUpdate": "no action" |
| 1364 | } |
| 1365 | }, |
| 1366 | "compositePrimaryKeys": {}, |
| 1367 | "uniqueConstraints": {}, |
| 1368 | "checkConstraints": {} |
| 1369 | }, |
| 1370 | "users": { |
| 1371 | "name": "users", |
| 1372 | "columns": { |
| 1373 | "id": { |
| 1374 | "name": "id", |
| 1375 | "type": "text", |
| 1376 | "primaryKey": true, |
| 1377 | "notNull": true, |
| 1378 | "autoincrement": false |
| 1379 | }, |
| 1380 | "name": { |
| 1381 | "name": "name", |
| 1382 | "type": "text", |
| 1383 | "primaryKey": false, |
| 1384 | "notNull": true, |
| 1385 | "autoincrement": false |
| 1386 | }, |
| 1387 | "email": { |
| 1388 | "name": "email", |
| 1389 | "type": "text", |
| 1390 | "primaryKey": false, |
| 1391 | "notNull": true, |
| 1392 | "autoincrement": false |
| 1393 | }, |
| 1394 | "email_verified": { |
| 1395 | "name": "email_verified", |
| 1396 | "type": "integer", |
| 1397 | "primaryKey": false, |
| 1398 | "notNull": true, |
| 1399 | "autoincrement": false, |
| 1400 | "default": false |
| 1401 | }, |
| 1402 | "image": { |
| 1403 | "name": "image", |
| 1404 | "type": "text", |
| 1405 | "primaryKey": false, |
| 1406 | "notNull": false, |
| 1407 | "autoincrement": false |
| 1408 | }, |
| 1409 | "created_at": { |
| 1410 | "name": "created_at", |
| 1411 | "type": "integer", |
| 1412 | "primaryKey": false, |
| 1413 | "notNull": true, |
| 1414 | "autoincrement": false, |
| 1415 | "default": "(cast(unixepoch('subsecond') * 1000 as integer))" |
| 1416 | }, |
| 1417 | "updated_at": { |
| 1418 | "name": "updated_at", |
| 1419 | "type": "integer", |
| 1420 | "primaryKey": false, |
| 1421 | "notNull": true, |
| 1422 | "autoincrement": false, |
| 1423 | "default": "(cast(unixepoch('subsecond') * 1000 as integer))" |
| 1424 | }, |
| 1425 | "role": { |
| 1426 | "name": "role", |
| 1427 | "type": "text", |
| 1428 | "primaryKey": false, |
| 1429 | "notNull": false, |
| 1430 | "autoincrement": false |
| 1431 | }, |
| 1432 | "banned": { |
| 1433 | "name": "banned", |
| 1434 | "type": "integer", |
| 1435 | "primaryKey": false, |
| 1436 | "notNull": false, |
| 1437 | "autoincrement": false, |
| 1438 | "default": false |
| 1439 | }, |
| 1440 | "ban_reason": { |
| 1441 | "name": "ban_reason", |
| 1442 | "type": "text", |
| 1443 | "primaryKey": false, |
| 1444 | "notNull": false, |
| 1445 | "autoincrement": false |
| 1446 | }, |
| 1447 | "ban_expires": { |
| 1448 | "name": "ban_expires", |
| 1449 | "type": "integer", |
| 1450 | "primaryKey": false, |
| 1451 | "notNull": false, |
| 1452 | "autoincrement": false |
| 1453 | }, |
| 1454 | "preferred_username": { |
| 1455 | "name": "preferred_username", |
| 1456 | "type": "text", |
| 1457 | "primaryKey": false, |
| 1458 | "notNull": false, |
| 1459 | "autoincrement": false |
| 1460 | } |
| 1461 | }, |
| 1462 | "indexes": { |
| 1463 | "users_email_unique": { |
| 1464 | "name": "users_email_unique", |
| 1465 | "columns": [ |
| 1466 | "email" |
| 1467 | ], |
| 1468 | "isUnique": true |
| 1469 | } |
| 1470 | }, |
| 1471 | "foreignKeys": {}, |
| 1472 | "compositePrimaryKeys": {}, |
| 1473 | "uniqueConstraints": {}, |
| 1474 | "checkConstraints": {} |
| 1475 | }, |
| 1476 | "verifications": { |
| 1477 | "name": "verifications", |
| 1478 | "columns": { |
| 1479 | "id": { |
| 1480 | "name": "id", |
| 1481 | "type": "text", |
| 1482 | "primaryKey": true, |
| 1483 | "notNull": true, |
| 1484 | "autoincrement": false |
| 1485 | }, |
| 1486 | "identifier": { |
| 1487 | "name": "identifier", |
| 1488 | "type": "text", |
| 1489 | "primaryKey": false, |
| 1490 | "notNull": true, |
| 1491 | "autoincrement": false |
| 1492 | }, |
| 1493 | "value": { |
| 1494 | "name": "value", |
| 1495 | "type": "text", |
| 1496 | "primaryKey": false, |
| 1497 | "notNull": true, |
| 1498 | "autoincrement": false |
| 1499 | }, |
| 1500 | "expires_at": { |
| 1501 | "name": "expires_at", |
| 1502 | "type": "integer", |
| 1503 | "primaryKey": false, |
| 1504 | "notNull": true, |
| 1505 | "autoincrement": false |
| 1506 | }, |
| 1507 | "created_at": { |
| 1508 | "name": "created_at", |
| 1509 | "type": "integer", |
| 1510 | "primaryKey": false, |
| 1511 | "notNull": true, |
| 1512 | "autoincrement": false, |
| 1513 | "default": "(cast(unixepoch('subsecond') * 1000 as integer))" |
| 1514 | }, |
| 1515 | "updated_at": { |
| 1516 | "name": "updated_at", |
| 1517 | "type": "integer", |
| 1518 | "primaryKey": false, |
| 1519 | "notNull": true, |
| 1520 | "autoincrement": false, |
| 1521 | "default": "(cast(unixepoch('subsecond') * 1000 as integer))" |
| 1522 | } |
| 1523 | }, |
| 1524 | "indexes": { |
| 1525 | "verifications_identifier_idx": { |
| 1526 | "name": "verifications_identifier_idx", |
| 1527 | "columns": [ |
| 1528 | "identifier" |
| 1529 | ], |
| 1530 | "isUnique": false |
| 1531 | } |
| 1532 | }, |
| 1533 | "foreignKeys": {}, |
| 1534 | "compositePrimaryKeys": {}, |
| 1535 | "uniqueConstraints": {}, |
| 1536 | "checkConstraints": {} |
| 1537 | }, |
| 1538 | "invites": { |
| 1539 | "name": "invites", |
| 1540 | "columns": { |
| 1541 | "id": { |
| 1542 | "name": "id", |
| 1543 | "type": "text", |
| 1544 | "primaryKey": true, |
| 1545 | "notNull": true, |
| 1546 | "autoincrement": false |
| 1547 | }, |
| 1548 | "token_hash": { |
| 1549 | "name": "token_hash", |
| 1550 | "type": "text", |
| 1551 | "primaryKey": false, |
| 1552 | "notNull": true, |
| 1553 | "autoincrement": false |
| 1554 | }, |
| 1555 | "email": { |
| 1556 | "name": "email", |
| 1557 | "type": "text", |
| 1558 | "primaryKey": false, |
| 1559 | "notNull": true, |
| 1560 | "autoincrement": false |
| 1561 | }, |
| 1562 | "created_by": { |
| 1563 | "name": "created_by", |
| 1564 | "type": "text", |
| 1565 | "primaryKey": false, |
| 1566 | "notNull": true, |
| 1567 | "autoincrement": false |
| 1568 | }, |
| 1569 | "created_at": { |
| 1570 | "name": "created_at", |
| 1571 | "type": "text", |
| 1572 | "primaryKey": false, |
| 1573 | "notNull": true, |
| 1574 | "autoincrement": false, |
| 1575 | "default": "(current_timestamp)" |
| 1576 | }, |
| 1577 | "expires_at": { |
| 1578 | "name": "expires_at", |
| 1579 | "type": "text", |
| 1580 | "primaryKey": false, |
| 1581 | "notNull": true, |
| 1582 | "autoincrement": false |
| 1583 | }, |
| 1584 | "consumed_at": { |
| 1585 | "name": "consumed_at", |
| 1586 | "type": "text", |
| 1587 | "primaryKey": false, |
| 1588 | "notNull": false, |
| 1589 | "autoincrement": false |
| 1590 | } |
| 1591 | }, |
| 1592 | "indexes": { |
| 1593 | "idx_invites_token_hash": { |
| 1594 | "name": "idx_invites_token_hash", |
| 1595 | "columns": [ |
| 1596 | "token_hash" |
| 1597 | ], |
| 1598 | "isUnique": true |
| 1599 | }, |
| 1600 | "idx_invites_email": { |
| 1601 | "name": "idx_invites_email", |
| 1602 | "columns": [ |
| 1603 | "email" |
| 1604 | ], |
| 1605 | "isUnique": true |
| 1606 | }, |
| 1607 | "idx_invites_created_by_created_at": { |
| 1608 | "name": "idx_invites_created_by_created_at", |
| 1609 | "columns": [ |
| 1610 | "created_by", |
| 1611 | "created_at" |
| 1612 | ], |
| 1613 | "isUnique": false |
| 1614 | }, |
| 1615 | "idx_invites_expires_at": { |
| 1616 | "name": "idx_invites_expires_at", |
| 1617 | "columns": [ |
| 1618 | "expires_at" |
| 1619 | ], |
| 1620 | "isUnique": false |
| 1621 | } |
| 1622 | }, |
| 1623 | "foreignKeys": {}, |
| 1624 | "compositePrimaryKeys": {}, |
| 1625 | "uniqueConstraints": {}, |
| 1626 | "checkConstraints": {} |
| 1627 | }, |
| 1628 | "launcher_apps": { |
| 1629 | "name": "launcher_apps", |
| 1630 | "columns": { |
| 1631 | "id": { |
| 1632 | "name": "id", |
| 1633 | "type": "text", |
| 1634 | "primaryKey": true, |
| 1635 | "notNull": true, |
| 1636 | "autoincrement": false |
| 1637 | }, |
| 1638 | "name": { |
| 1639 | "name": "name", |
| 1640 | "type": "text", |
| 1641 | "primaryKey": false, |
| 1642 | "notNull": true, |
| 1643 | "autoincrement": false |
| 1644 | }, |
| 1645 | "url": { |
| 1646 | "name": "url", |
| 1647 | "type": "text", |
| 1648 | "primaryKey": false, |
| 1649 | "notNull": true, |
| 1650 | "autoincrement": false |
| 1651 | }, |
| 1652 | "icon": { |
| 1653 | "name": "icon", |
| 1654 | "type": "text", |
| 1655 | "primaryKey": false, |
| 1656 | "notNull": false, |
| 1657 | "autoincrement": false |
| 1658 | }, |
| 1659 | "tint": { |
| 1660 | "name": "tint", |
| 1661 | "type": "text", |
| 1662 | "primaryKey": false, |
| 1663 | "notNull": false, |
| 1664 | "autoincrement": false |
| 1665 | }, |
| 1666 | "enabled": { |
| 1667 | "name": "enabled", |
| 1668 | "type": "integer", |
| 1669 | "primaryKey": false, |
| 1670 | "notNull": true, |
| 1671 | "autoincrement": false, |
| 1672 | "default": true |
| 1673 | }, |
| 1674 | "created_at": { |
| 1675 | "name": "created_at", |
| 1676 | "type": "integer", |
| 1677 | "primaryKey": false, |
| 1678 | "notNull": true, |
| 1679 | "autoincrement": false, |
| 1680 | "default": "(cast(unixepoch('subsecond') * 1000 as integer))" |
| 1681 | }, |
| 1682 | "updated_at": { |
| 1683 | "name": "updated_at", |
| 1684 | "type": "integer", |
| 1685 | "primaryKey": false, |
| 1686 | "notNull": true, |
| 1687 | "autoincrement": false, |
| 1688 | "default": "(cast(unixepoch('subsecond') * 1000 as integer))" |
| 1689 | } |
| 1690 | }, |
| 1691 | "indexes": {}, |
| 1692 | "foreignKeys": {}, |
| 1693 | "compositePrimaryKeys": {}, |
| 1694 | "uniqueConstraints": {}, |
| 1695 | "checkConstraints": {} |
| 1696 | } |
| 1697 | }, |
| 1698 | "views": {}, |
| 1699 | "enums": {}, |
| 1700 | "_meta": { |
| 1701 | "schemas": {}, |
| 1702 | "tables": {}, |
| 1703 | "columns": { |
| 1704 | "\"oauth_clients\".\"type\"": "\"oauth_clients\".\"application_type\"" |
| 1705 | } |
| 1706 | }, |
| 1707 | "internal": { |
| 1708 | "indexes": {} |
| 1709 | } |
| 1710 | } |