@byline/cli 4.6.0 → 4.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,6 +43,15 @@ CREATE TABLE "byline_admin_roles" (
43
43
  CONSTRAINT "byline_admin_roles_machine_name_unique" UNIQUE("machine_name")
44
44
  );
45
45
  --> statement-breakpoint
46
+ CREATE TABLE "byline_admin_user_preferences" (
47
+ "user_id" uuid NOT NULL,
48
+ "scope" varchar(255) NOT NULL,
49
+ "value" jsonb NOT NULL,
50
+ "created_at" timestamp (6) with time zone DEFAULT now() NOT NULL,
51
+ "updated_at" timestamp (6) with time zone DEFAULT now() NOT NULL,
52
+ CONSTRAINT "byline_admin_user_preferences_user_id_scope_pk" PRIMARY KEY("user_id","scope")
53
+ );
54
+ --> statement-breakpoint
46
55
  CREATE TABLE "byline_admin_users" (
47
56
  "id" uuid PRIMARY KEY NOT NULL,
48
57
  "vid" integer DEFAULT 1 NOT NULL,
@@ -297,6 +306,7 @@ ALTER TABLE "byline_admin_permissions" ADD CONSTRAINT "byline_admin_permissions_
297
306
  ALTER TABLE "byline_admin_refresh_tokens" ADD CONSTRAINT "byline_admin_refresh_tokens_admin_user_id_byline_admin_users_id_fk" FOREIGN KEY ("admin_user_id") REFERENCES "public"."byline_admin_users"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
298
307
  ALTER TABLE "byline_admin_role_admin_user" ADD CONSTRAINT "byline_admin_role_admin_user_admin_role_id_byline_admin_roles_id_fk" FOREIGN KEY ("admin_role_id") REFERENCES "public"."byline_admin_roles"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
299
308
  ALTER TABLE "byline_admin_role_admin_user" ADD CONSTRAINT "byline_admin_role_admin_user_admin_user_id_byline_admin_users_id_fk" FOREIGN KEY ("admin_user_id") REFERENCES "public"."byline_admin_users"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
309
+ ALTER TABLE "byline_admin_user_preferences" ADD CONSTRAINT "byline_admin_user_preferences_user_id_byline_admin_users_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."byline_admin_users"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
300
310
  ALTER TABLE "byline_store_boolean" ADD CONSTRAINT "byline_store_boolean_document_version_id_byline_document_versions_id_fk" FOREIGN KEY ("document_version_id") REFERENCES "public"."byline_document_versions"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
301
311
  ALTER TABLE "byline_store_boolean" ADD CONSTRAINT "byline_store_boolean_collection_id_byline_collections_id_fk" FOREIGN KEY ("collection_id") REFERENCES "public"."byline_collections"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
302
312
  ALTER TABLE "byline_store_datetime" ADD CONSTRAINT "byline_store_datetime_document_version_id_byline_document_versions_id_fk" FOREIGN KEY ("document_version_id") REFERENCES "public"."byline_document_versions"("id") ON DELETE cascade ON UPDATE no action;--> statement-breakpoint
@@ -1,5 +1,5 @@
1
1
  {
2
- "id": "aebcb197-52c4-4601-a3b5-da89fe333c09",
2
+ "id": "114bdd2f-7e31-4172-9d72-7debf7801cfb",
3
3
  "prevId": "00000000-0000-0000-0000-000000000000",
4
4
  "version": "7",
5
5
  "dialect": "postgresql",
@@ -408,6 +408,73 @@
408
408
  "checkConstraints": {},
409
409
  "isRLSEnabled": false
410
410
  },
411
+ "public.byline_admin_user_preferences": {
412
+ "name": "byline_admin_user_preferences",
413
+ "schema": "",
414
+ "columns": {
415
+ "user_id": {
416
+ "name": "user_id",
417
+ "type": "uuid",
418
+ "primaryKey": false,
419
+ "notNull": true
420
+ },
421
+ "scope": {
422
+ "name": "scope",
423
+ "type": "varchar(255)",
424
+ "primaryKey": false,
425
+ "notNull": true
426
+ },
427
+ "value": {
428
+ "name": "value",
429
+ "type": "jsonb",
430
+ "primaryKey": false,
431
+ "notNull": true
432
+ },
433
+ "created_at": {
434
+ "name": "created_at",
435
+ "type": "timestamp (6) with time zone",
436
+ "primaryKey": false,
437
+ "notNull": true,
438
+ "default": "now()"
439
+ },
440
+ "updated_at": {
441
+ "name": "updated_at",
442
+ "type": "timestamp (6) with time zone",
443
+ "primaryKey": false,
444
+ "notNull": true,
445
+ "default": "now()"
446
+ }
447
+ },
448
+ "indexes": {},
449
+ "foreignKeys": {
450
+ "byline_admin_user_preferences_user_id_byline_admin_users_id_fk": {
451
+ "name": "byline_admin_user_preferences_user_id_byline_admin_users_id_fk",
452
+ "tableFrom": "byline_admin_user_preferences",
453
+ "tableTo": "byline_admin_users",
454
+ "columnsFrom": [
455
+ "user_id"
456
+ ],
457
+ "columnsTo": [
458
+ "id"
459
+ ],
460
+ "onDelete": "cascade",
461
+ "onUpdate": "no action"
462
+ }
463
+ },
464
+ "compositePrimaryKeys": {
465
+ "byline_admin_user_preferences_user_id_scope_pk": {
466
+ "name": "byline_admin_user_preferences_user_id_scope_pk",
467
+ "columns": [
468
+ "user_id",
469
+ "scope"
470
+ ]
471
+ }
472
+ },
473
+ "uniqueConstraints": {},
474
+ "policies": {},
475
+ "checkConstraints": {},
476
+ "isRLSEnabled": false
477
+ },
411
478
  "public.byline_admin_users": {
412
479
  "name": "byline_admin_users",
413
480
  "schema": "",
@@ -5,8 +5,8 @@
5
5
  {
6
6
  "idx": 0,
7
7
  "version": "7",
8
- "when": 1781967902464,
9
- "tag": "0000_ordinary_rhino",
8
+ "when": 1784602547451,
9
+ "tag": "0000_mushy_luckman",
10
10
  "breakpoints": true
11
11
  }
12
12
  ]
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@byline/cli",
3
3
  "private": false,
4
4
  "license": "MPL-2.0",
5
- "version": "4.6.0",
5
+ "version": "4.6.1",
6
6
  "engines": {
7
7
  "node": ">=20.9.0"
8
8
  },