A social knowledge tool for researchers built on ATProto

fresh migration files

+764
+94
src/shared/infrastructure/database/migrations/0000_shocking_fenris.sql
··· 1 + CREATE TABLE "cards" ( 2 + "id" uuid PRIMARY KEY NOT NULL, 3 + "type" text NOT NULL, 4 + "content_data" jsonb NOT NULL, 5 + "url" text, 6 + "parent_card_id" uuid, 7 + "original_published_record_id" uuid, 8 + "library_count" integer DEFAULT 0 NOT NULL, 9 + "created_at" timestamp DEFAULT now() NOT NULL, 10 + "updated_at" timestamp DEFAULT now() NOT NULL 11 + ); 12 + --> statement-breakpoint 13 + CREATE TABLE "collection_cards" ( 14 + "id" uuid PRIMARY KEY NOT NULL, 15 + "collection_id" uuid NOT NULL, 16 + "card_id" uuid NOT NULL, 17 + "added_by" text NOT NULL, 18 + "added_at" timestamp DEFAULT now() NOT NULL, 19 + "published_record_id" uuid 20 + ); 21 + --> statement-breakpoint 22 + CREATE TABLE "collection_collaborators" ( 23 + "id" uuid PRIMARY KEY NOT NULL, 24 + "collection_id" uuid NOT NULL, 25 + "collaborator_id" text NOT NULL 26 + ); 27 + --> statement-breakpoint 28 + CREATE TABLE "collections" ( 29 + "id" uuid PRIMARY KEY NOT NULL, 30 + "author_id" text NOT NULL, 31 + "name" text NOT NULL, 32 + "description" text, 33 + "access_type" text NOT NULL, 34 + "card_count" integer DEFAULT 0 NOT NULL, 35 + "created_at" timestamp DEFAULT now() NOT NULL, 36 + "updated_at" timestamp DEFAULT now() NOT NULL, 37 + "published_record_id" uuid 38 + ); 39 + --> statement-breakpoint 40 + CREATE TABLE "library_memberships" ( 41 + "card_id" uuid NOT NULL, 42 + "user_id" text NOT NULL, 43 + "added_at" timestamp DEFAULT now() NOT NULL, 44 + "published_record_id" uuid, 45 + CONSTRAINT "library_memberships_card_id_user_id_pk" PRIMARY KEY("card_id","user_id") 46 + ); 47 + --> statement-breakpoint 48 + CREATE TABLE "published_records" ( 49 + "id" uuid PRIMARY KEY NOT NULL, 50 + "uri" text NOT NULL, 51 + "cid" text NOT NULL, 52 + "recorded_at" timestamp DEFAULT now() NOT NULL 53 + ); 54 + --> statement-breakpoint 55 + CREATE TABLE "auth_session" ( 56 + "key" text PRIMARY KEY NOT NULL, 57 + "session" text NOT NULL 58 + ); 59 + --> statement-breakpoint 60 + CREATE TABLE "auth_state" ( 61 + "key" text PRIMARY KEY NOT NULL, 62 + "state" text NOT NULL, 63 + "created_at" timestamp DEFAULT now() 64 + ); 65 + --> statement-breakpoint 66 + CREATE TABLE "auth_refresh_tokens" ( 67 + "token_id" text PRIMARY KEY NOT NULL, 68 + "user_did" text NOT NULL, 69 + "refresh_token" text NOT NULL, 70 + "issued_at" timestamp NOT NULL, 71 + "expires_at" timestamp NOT NULL, 72 + "revoked" boolean DEFAULT false 73 + ); 74 + --> statement-breakpoint 75 + CREATE TABLE "users" ( 76 + "id" text PRIMARY KEY NOT NULL, 77 + "handle" text, 78 + "linked_at" timestamp NOT NULL, 79 + "last_login_at" timestamp NOT NULL 80 + ); 81 + --> statement-breakpoint 82 + ALTER TABLE "cards" ADD CONSTRAINT "cards_parent_card_id_cards_id_fk" FOREIGN KEY ("parent_card_id") REFERENCES "public"."cards"("id") ON DELETE no action ON UPDATE no action;--> statement-breakpoint 83 + ALTER TABLE "cards" ADD CONSTRAINT "cards_original_published_record_id_published_records_id_fk" FOREIGN KEY ("original_published_record_id") REFERENCES "public"."published_records"("id") ON DELETE no action ON UPDATE no action;--> statement-breakpoint 84 + ALTER TABLE "collection_cards" ADD CONSTRAINT "collection_cards_collection_id_collections_id_fk" FOREIGN KEY ("collection_id") REFERENCES "public"."collections"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint 85 + ALTER TABLE "collection_cards" ADD CONSTRAINT "collection_cards_card_id_cards_id_fk" FOREIGN KEY ("card_id") REFERENCES "public"."cards"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint 86 + ALTER TABLE "collection_cards" ADD CONSTRAINT "collection_cards_published_record_id_published_records_id_fk" FOREIGN KEY ("published_record_id") REFERENCES "public"."published_records"("id") ON DELETE no action ON UPDATE no action;--> statement-breakpoint 87 + ALTER TABLE "collection_collaborators" ADD CONSTRAINT "collection_collaborators_collection_id_collections_id_fk" FOREIGN KEY ("collection_id") REFERENCES "public"."collections"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint 88 + ALTER TABLE "collections" ADD CONSTRAINT "collections_published_record_id_published_records_id_fk" FOREIGN KEY ("published_record_id") REFERENCES "public"."published_records"("id") ON DELETE no action ON UPDATE no action;--> statement-breakpoint 89 + ALTER TABLE "library_memberships" ADD CONSTRAINT "library_memberships_card_id_cards_id_fk" FOREIGN KEY ("card_id") REFERENCES "public"."cards"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint 90 + ALTER TABLE "library_memberships" ADD CONSTRAINT "library_memberships_published_record_id_published_records_id_fk" FOREIGN KEY ("published_record_id") REFERENCES "public"."published_records"("id") ON DELETE no action ON UPDATE no action;--> statement-breakpoint 91 + ALTER TABLE "auth_refresh_tokens" ADD CONSTRAINT "auth_refresh_tokens_user_did_users_id_fk" FOREIGN KEY ("user_did") REFERENCES "public"."users"("id") ON DELETE no action ON UPDATE no action;--> statement-breakpoint 92 + CREATE INDEX "idx_user_cards" ON "library_memberships" USING btree ("user_id");--> statement-breakpoint 93 + CREATE INDEX "idx_card_users" ON "library_memberships" USING btree ("card_id");--> statement-breakpoint 94 + CREATE UNIQUE INDEX "uri_cid_unique_idx" ON "published_records" USING btree ("uri","cid");
+657
src/shared/infrastructure/database/migrations/meta/0000_snapshot.json
··· 1 + { 2 + "id": "6b0a9801-bc78-4b56-828f-a2e4648fa0dc", 3 + "prevId": "00000000-0000-0000-0000-000000000000", 4 + "version": "7", 5 + "dialect": "postgresql", 6 + "tables": { 7 + "public.cards": { 8 + "name": "cards", 9 + "schema": "", 10 + "columns": { 11 + "id": { 12 + "name": "id", 13 + "type": "uuid", 14 + "primaryKey": true, 15 + "notNull": true 16 + }, 17 + "type": { 18 + "name": "type", 19 + "type": "text", 20 + "primaryKey": false, 21 + "notNull": true 22 + }, 23 + "content_data": { 24 + "name": "content_data", 25 + "type": "jsonb", 26 + "primaryKey": false, 27 + "notNull": true 28 + }, 29 + "url": { 30 + "name": "url", 31 + "type": "text", 32 + "primaryKey": false, 33 + "notNull": false 34 + }, 35 + "parent_card_id": { 36 + "name": "parent_card_id", 37 + "type": "uuid", 38 + "primaryKey": false, 39 + "notNull": false 40 + }, 41 + "original_published_record_id": { 42 + "name": "original_published_record_id", 43 + "type": "uuid", 44 + "primaryKey": false, 45 + "notNull": false 46 + }, 47 + "library_count": { 48 + "name": "library_count", 49 + "type": "integer", 50 + "primaryKey": false, 51 + "notNull": true, 52 + "default": 0 53 + }, 54 + "created_at": { 55 + "name": "created_at", 56 + "type": "timestamp", 57 + "primaryKey": false, 58 + "notNull": true, 59 + "default": "now()" 60 + }, 61 + "updated_at": { 62 + "name": "updated_at", 63 + "type": "timestamp", 64 + "primaryKey": false, 65 + "notNull": true, 66 + "default": "now()" 67 + } 68 + }, 69 + "indexes": {}, 70 + "foreignKeys": { 71 + "cards_parent_card_id_cards_id_fk": { 72 + "name": "cards_parent_card_id_cards_id_fk", 73 + "tableFrom": "cards", 74 + "tableTo": "cards", 75 + "columnsFrom": [ 76 + "parent_card_id" 77 + ], 78 + "columnsTo": [ 79 + "id" 80 + ], 81 + "onDelete": "no action", 82 + "onUpdate": "no action" 83 + }, 84 + "cards_original_published_record_id_published_records_id_fk": { 85 + "name": "cards_original_published_record_id_published_records_id_fk", 86 + "tableFrom": "cards", 87 + "tableTo": "published_records", 88 + "columnsFrom": [ 89 + "original_published_record_id" 90 + ], 91 + "columnsTo": [ 92 + "id" 93 + ], 94 + "onDelete": "no action", 95 + "onUpdate": "no action" 96 + } 97 + }, 98 + "compositePrimaryKeys": {}, 99 + "uniqueConstraints": {}, 100 + "policies": {}, 101 + "checkConstraints": {}, 102 + "isRLSEnabled": false 103 + }, 104 + "public.collection_cards": { 105 + "name": "collection_cards", 106 + "schema": "", 107 + "columns": { 108 + "id": { 109 + "name": "id", 110 + "type": "uuid", 111 + "primaryKey": true, 112 + "notNull": true 113 + }, 114 + "collection_id": { 115 + "name": "collection_id", 116 + "type": "uuid", 117 + "primaryKey": false, 118 + "notNull": true 119 + }, 120 + "card_id": { 121 + "name": "card_id", 122 + "type": "uuid", 123 + "primaryKey": false, 124 + "notNull": true 125 + }, 126 + "added_by": { 127 + "name": "added_by", 128 + "type": "text", 129 + "primaryKey": false, 130 + "notNull": true 131 + }, 132 + "added_at": { 133 + "name": "added_at", 134 + "type": "timestamp", 135 + "primaryKey": false, 136 + "notNull": true, 137 + "default": "now()" 138 + }, 139 + "published_record_id": { 140 + "name": "published_record_id", 141 + "type": "uuid", 142 + "primaryKey": false, 143 + "notNull": false 144 + } 145 + }, 146 + "indexes": {}, 147 + "foreignKeys": { 148 + "collection_cards_collection_id_collections_id_fk": { 149 + "name": "collection_cards_collection_id_collections_id_fk", 150 + "tableFrom": "collection_cards", 151 + "tableTo": "collections", 152 + "columnsFrom": [ 153 + "collection_id" 154 + ], 155 + "columnsTo": [ 156 + "id" 157 + ], 158 + "onDelete": "cascade", 159 + "onUpdate": "no action" 160 + }, 161 + "collection_cards_card_id_cards_id_fk": { 162 + "name": "collection_cards_card_id_cards_id_fk", 163 + "tableFrom": "collection_cards", 164 + "tableTo": "cards", 165 + "columnsFrom": [ 166 + "card_id" 167 + ], 168 + "columnsTo": [ 169 + "id" 170 + ], 171 + "onDelete": "cascade", 172 + "onUpdate": "no action" 173 + }, 174 + "collection_cards_published_record_id_published_records_id_fk": { 175 + "name": "collection_cards_published_record_id_published_records_id_fk", 176 + "tableFrom": "collection_cards", 177 + "tableTo": "published_records", 178 + "columnsFrom": [ 179 + "published_record_id" 180 + ], 181 + "columnsTo": [ 182 + "id" 183 + ], 184 + "onDelete": "no action", 185 + "onUpdate": "no action" 186 + } 187 + }, 188 + "compositePrimaryKeys": {}, 189 + "uniqueConstraints": {}, 190 + "policies": {}, 191 + "checkConstraints": {}, 192 + "isRLSEnabled": false 193 + }, 194 + "public.collection_collaborators": { 195 + "name": "collection_collaborators", 196 + "schema": "", 197 + "columns": { 198 + "id": { 199 + "name": "id", 200 + "type": "uuid", 201 + "primaryKey": true, 202 + "notNull": true 203 + }, 204 + "collection_id": { 205 + "name": "collection_id", 206 + "type": "uuid", 207 + "primaryKey": false, 208 + "notNull": true 209 + }, 210 + "collaborator_id": { 211 + "name": "collaborator_id", 212 + "type": "text", 213 + "primaryKey": false, 214 + "notNull": true 215 + } 216 + }, 217 + "indexes": {}, 218 + "foreignKeys": { 219 + "collection_collaborators_collection_id_collections_id_fk": { 220 + "name": "collection_collaborators_collection_id_collections_id_fk", 221 + "tableFrom": "collection_collaborators", 222 + "tableTo": "collections", 223 + "columnsFrom": [ 224 + "collection_id" 225 + ], 226 + "columnsTo": [ 227 + "id" 228 + ], 229 + "onDelete": "cascade", 230 + "onUpdate": "no action" 231 + } 232 + }, 233 + "compositePrimaryKeys": {}, 234 + "uniqueConstraints": {}, 235 + "policies": {}, 236 + "checkConstraints": {}, 237 + "isRLSEnabled": false 238 + }, 239 + "public.collections": { 240 + "name": "collections", 241 + "schema": "", 242 + "columns": { 243 + "id": { 244 + "name": "id", 245 + "type": "uuid", 246 + "primaryKey": true, 247 + "notNull": true 248 + }, 249 + "author_id": { 250 + "name": "author_id", 251 + "type": "text", 252 + "primaryKey": false, 253 + "notNull": true 254 + }, 255 + "name": { 256 + "name": "name", 257 + "type": "text", 258 + "primaryKey": false, 259 + "notNull": true 260 + }, 261 + "description": { 262 + "name": "description", 263 + "type": "text", 264 + "primaryKey": false, 265 + "notNull": false 266 + }, 267 + "access_type": { 268 + "name": "access_type", 269 + "type": "text", 270 + "primaryKey": false, 271 + "notNull": true 272 + }, 273 + "card_count": { 274 + "name": "card_count", 275 + "type": "integer", 276 + "primaryKey": false, 277 + "notNull": true, 278 + "default": 0 279 + }, 280 + "created_at": { 281 + "name": "created_at", 282 + "type": "timestamp", 283 + "primaryKey": false, 284 + "notNull": true, 285 + "default": "now()" 286 + }, 287 + "updated_at": { 288 + "name": "updated_at", 289 + "type": "timestamp", 290 + "primaryKey": false, 291 + "notNull": true, 292 + "default": "now()" 293 + }, 294 + "published_record_id": { 295 + "name": "published_record_id", 296 + "type": "uuid", 297 + "primaryKey": false, 298 + "notNull": false 299 + } 300 + }, 301 + "indexes": {}, 302 + "foreignKeys": { 303 + "collections_published_record_id_published_records_id_fk": { 304 + "name": "collections_published_record_id_published_records_id_fk", 305 + "tableFrom": "collections", 306 + "tableTo": "published_records", 307 + "columnsFrom": [ 308 + "published_record_id" 309 + ], 310 + "columnsTo": [ 311 + "id" 312 + ], 313 + "onDelete": "no action", 314 + "onUpdate": "no action" 315 + } 316 + }, 317 + "compositePrimaryKeys": {}, 318 + "uniqueConstraints": {}, 319 + "policies": {}, 320 + "checkConstraints": {}, 321 + "isRLSEnabled": false 322 + }, 323 + "public.library_memberships": { 324 + "name": "library_memberships", 325 + "schema": "", 326 + "columns": { 327 + "card_id": { 328 + "name": "card_id", 329 + "type": "uuid", 330 + "primaryKey": false, 331 + "notNull": true 332 + }, 333 + "user_id": { 334 + "name": "user_id", 335 + "type": "text", 336 + "primaryKey": false, 337 + "notNull": true 338 + }, 339 + "added_at": { 340 + "name": "added_at", 341 + "type": "timestamp", 342 + "primaryKey": false, 343 + "notNull": true, 344 + "default": "now()" 345 + }, 346 + "published_record_id": { 347 + "name": "published_record_id", 348 + "type": "uuid", 349 + "primaryKey": false, 350 + "notNull": false 351 + } 352 + }, 353 + "indexes": { 354 + "idx_user_cards": { 355 + "name": "idx_user_cards", 356 + "columns": [ 357 + { 358 + "expression": "user_id", 359 + "isExpression": false, 360 + "asc": true, 361 + "nulls": "last" 362 + } 363 + ], 364 + "isUnique": false, 365 + "concurrently": false, 366 + "method": "btree", 367 + "with": {} 368 + }, 369 + "idx_card_users": { 370 + "name": "idx_card_users", 371 + "columns": [ 372 + { 373 + "expression": "card_id", 374 + "isExpression": false, 375 + "asc": true, 376 + "nulls": "last" 377 + } 378 + ], 379 + "isUnique": false, 380 + "concurrently": false, 381 + "method": "btree", 382 + "with": {} 383 + } 384 + }, 385 + "foreignKeys": { 386 + "library_memberships_card_id_cards_id_fk": { 387 + "name": "library_memberships_card_id_cards_id_fk", 388 + "tableFrom": "library_memberships", 389 + "tableTo": "cards", 390 + "columnsFrom": [ 391 + "card_id" 392 + ], 393 + "columnsTo": [ 394 + "id" 395 + ], 396 + "onDelete": "cascade", 397 + "onUpdate": "no action" 398 + }, 399 + "library_memberships_published_record_id_published_records_id_fk": { 400 + "name": "library_memberships_published_record_id_published_records_id_fk", 401 + "tableFrom": "library_memberships", 402 + "tableTo": "published_records", 403 + "columnsFrom": [ 404 + "published_record_id" 405 + ], 406 + "columnsTo": [ 407 + "id" 408 + ], 409 + "onDelete": "no action", 410 + "onUpdate": "no action" 411 + } 412 + }, 413 + "compositePrimaryKeys": { 414 + "library_memberships_card_id_user_id_pk": { 415 + "name": "library_memberships_card_id_user_id_pk", 416 + "columns": [ 417 + "card_id", 418 + "user_id" 419 + ] 420 + } 421 + }, 422 + "uniqueConstraints": {}, 423 + "policies": {}, 424 + "checkConstraints": {}, 425 + "isRLSEnabled": false 426 + }, 427 + "public.published_records": { 428 + "name": "published_records", 429 + "schema": "", 430 + "columns": { 431 + "id": { 432 + "name": "id", 433 + "type": "uuid", 434 + "primaryKey": true, 435 + "notNull": true 436 + }, 437 + "uri": { 438 + "name": "uri", 439 + "type": "text", 440 + "primaryKey": false, 441 + "notNull": true 442 + }, 443 + "cid": { 444 + "name": "cid", 445 + "type": "text", 446 + "primaryKey": false, 447 + "notNull": true 448 + }, 449 + "recorded_at": { 450 + "name": "recorded_at", 451 + "type": "timestamp", 452 + "primaryKey": false, 453 + "notNull": true, 454 + "default": "now()" 455 + } 456 + }, 457 + "indexes": { 458 + "uri_cid_unique_idx": { 459 + "name": "uri_cid_unique_idx", 460 + "columns": [ 461 + { 462 + "expression": "uri", 463 + "isExpression": false, 464 + "asc": true, 465 + "nulls": "last" 466 + }, 467 + { 468 + "expression": "cid", 469 + "isExpression": false, 470 + "asc": true, 471 + "nulls": "last" 472 + } 473 + ], 474 + "isUnique": true, 475 + "concurrently": false, 476 + "method": "btree", 477 + "with": {} 478 + } 479 + }, 480 + "foreignKeys": {}, 481 + "compositePrimaryKeys": {}, 482 + "uniqueConstraints": {}, 483 + "policies": {}, 484 + "checkConstraints": {}, 485 + "isRLSEnabled": false 486 + }, 487 + "public.auth_session": { 488 + "name": "auth_session", 489 + "schema": "", 490 + "columns": { 491 + "key": { 492 + "name": "key", 493 + "type": "text", 494 + "primaryKey": true, 495 + "notNull": true 496 + }, 497 + "session": { 498 + "name": "session", 499 + "type": "text", 500 + "primaryKey": false, 501 + "notNull": true 502 + } 503 + }, 504 + "indexes": {}, 505 + "foreignKeys": {}, 506 + "compositePrimaryKeys": {}, 507 + "uniqueConstraints": {}, 508 + "policies": {}, 509 + "checkConstraints": {}, 510 + "isRLSEnabled": false 511 + }, 512 + "public.auth_state": { 513 + "name": "auth_state", 514 + "schema": "", 515 + "columns": { 516 + "key": { 517 + "name": "key", 518 + "type": "text", 519 + "primaryKey": true, 520 + "notNull": true 521 + }, 522 + "state": { 523 + "name": "state", 524 + "type": "text", 525 + "primaryKey": false, 526 + "notNull": true 527 + }, 528 + "created_at": { 529 + "name": "created_at", 530 + "type": "timestamp", 531 + "primaryKey": false, 532 + "notNull": false, 533 + "default": "now()" 534 + } 535 + }, 536 + "indexes": {}, 537 + "foreignKeys": {}, 538 + "compositePrimaryKeys": {}, 539 + "uniqueConstraints": {}, 540 + "policies": {}, 541 + "checkConstraints": {}, 542 + "isRLSEnabled": false 543 + }, 544 + "public.auth_refresh_tokens": { 545 + "name": "auth_refresh_tokens", 546 + "schema": "", 547 + "columns": { 548 + "token_id": { 549 + "name": "token_id", 550 + "type": "text", 551 + "primaryKey": true, 552 + "notNull": true 553 + }, 554 + "user_did": { 555 + "name": "user_did", 556 + "type": "text", 557 + "primaryKey": false, 558 + "notNull": true 559 + }, 560 + "refresh_token": { 561 + "name": "refresh_token", 562 + "type": "text", 563 + "primaryKey": false, 564 + "notNull": true 565 + }, 566 + "issued_at": { 567 + "name": "issued_at", 568 + "type": "timestamp", 569 + "primaryKey": false, 570 + "notNull": true 571 + }, 572 + "expires_at": { 573 + "name": "expires_at", 574 + "type": "timestamp", 575 + "primaryKey": false, 576 + "notNull": true 577 + }, 578 + "revoked": { 579 + "name": "revoked", 580 + "type": "boolean", 581 + "primaryKey": false, 582 + "notNull": false, 583 + "default": false 584 + } 585 + }, 586 + "indexes": {}, 587 + "foreignKeys": { 588 + "auth_refresh_tokens_user_did_users_id_fk": { 589 + "name": "auth_refresh_tokens_user_did_users_id_fk", 590 + "tableFrom": "auth_refresh_tokens", 591 + "tableTo": "users", 592 + "columnsFrom": [ 593 + "user_did" 594 + ], 595 + "columnsTo": [ 596 + "id" 597 + ], 598 + "onDelete": "no action", 599 + "onUpdate": "no action" 600 + } 601 + }, 602 + "compositePrimaryKeys": {}, 603 + "uniqueConstraints": {}, 604 + "policies": {}, 605 + "checkConstraints": {}, 606 + "isRLSEnabled": false 607 + }, 608 + "public.users": { 609 + "name": "users", 610 + "schema": "", 611 + "columns": { 612 + "id": { 613 + "name": "id", 614 + "type": "text", 615 + "primaryKey": true, 616 + "notNull": true 617 + }, 618 + "handle": { 619 + "name": "handle", 620 + "type": "text", 621 + "primaryKey": false, 622 + "notNull": false 623 + }, 624 + "linked_at": { 625 + "name": "linked_at", 626 + "type": "timestamp", 627 + "primaryKey": false, 628 + "notNull": true 629 + }, 630 + "last_login_at": { 631 + "name": "last_login_at", 632 + "type": "timestamp", 633 + "primaryKey": false, 634 + "notNull": true 635 + } 636 + }, 637 + "indexes": {}, 638 + "foreignKeys": {}, 639 + "compositePrimaryKeys": {}, 640 + "uniqueConstraints": {}, 641 + "policies": {}, 642 + "checkConstraints": {}, 643 + "isRLSEnabled": false 644 + } 645 + }, 646 + "enums": {}, 647 + "schemas": {}, 648 + "sequences": {}, 649 + "roles": {}, 650 + "policies": {}, 651 + "views": {}, 652 + "_meta": { 653 + "columns": {}, 654 + "schemas": {}, 655 + "tables": {} 656 + } 657 + }
+13
src/shared/infrastructure/database/migrations/meta/_journal.json
··· 1 + { 2 + "version": "7", 3 + "dialect": "postgresql", 4 + "entries": [ 5 + { 6 + "idx": 0, 7 + "version": "7", 8 + "when": 1751588124739, 9 + "tag": "0000_shocking_fenris", 10 + "breakpoints": true 11 + } 12 + ] 13 + }