@pgpmjs/export 1.16.2 → 1.16.3
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.
- package/esm/export-graphql-meta.js +3 -3
- package/esm/export-migrations.js +1 -1
- package/esm/graphql-naming.js +2 -2
- package/esm/meta-export-tables.json +148 -0
- package/export-graphql-meta.js +3 -3
- package/export-migrations.d.ts +1 -1
- package/export-migrations.js +1 -1
- package/graphql-naming.js +2 -2
- package/meta-export-tables.json +148 -0
- package/package.json +10 -10
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GraphQL equivalent of export-meta.ts.
|
|
3
3
|
*
|
|
4
|
-
* Fetches metadata from metaschema_public,
|
|
5
|
-
*
|
|
4
|
+
* Fetches metadata from metaschema_public, routing_public,
|
|
5
|
+
* apps_public, and metaschema_modules_public
|
|
6
6
|
* via GraphQL queries instead of direct SQL, then uses the same csv-to-pg Parser to
|
|
7
7
|
* generate SQL INSERT statements.
|
|
8
8
|
*/
|
|
@@ -104,7 +104,7 @@ export const exportGraphQLMeta = async ({ client, database_id }) => {
|
|
|
104
104
|
const tableConfig = META_TABLE_CONFIG[key];
|
|
105
105
|
if (!tableConfig)
|
|
106
106
|
return;
|
|
107
|
-
// Schema-qualified manifest keys (e.g.
|
|
107
|
+
// Schema-qualified manifest keys (e.g. catalog_public.apis)
|
|
108
108
|
// mark tables whose name collides with a table in another plane. GraphQL
|
|
109
109
|
// type/query names are derived from the bare table name, so these cannot
|
|
110
110
|
// be addressed unambiguously through the meta API — only the SQL flow
|
package/esm/export-migrations.js
CHANGED
|
@@ -24,7 +24,7 @@ const exportMigrationsToDisk = async ({ project, options, database, databaseId,
|
|
|
24
24
|
const name = extensionName || db.rows[0].name;
|
|
25
25
|
// When skipSchemaRenaming is true, pass empty schemas array to avoid renaming
|
|
26
26
|
// This is useful for self-referential introspection where you want to apply
|
|
27
|
-
// policies to real infrastructure schemas (metaschema_public,
|
|
27
|
+
// policies to real infrastructure schemas (metaschema_public, routing_public, etc.)
|
|
28
28
|
const schemasForReplacement = skipSchemaRenaming
|
|
29
29
|
? []
|
|
30
30
|
: schemas.rows.filter((schema) => schema_names.includes(schema.schema_name));
|
package/esm/graphql-naming.js
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* Examples:
|
|
10
10
|
* metaschema_public.database -> databases (query), Database (type)
|
|
11
11
|
* metaschema_public.foreign_key_constraint -> foreignKeyConstraints
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* routing_public.api_schemas -> apiSchemas
|
|
13
|
+
* apps_public.apps -> apps
|
|
14
14
|
* metaschema_modules_public.api_surface_module -> apiSurfaceModules
|
|
15
15
|
* db_migrate.sql_actions -> sqlActions
|
|
16
16
|
* column database_id -> databaseId
|
|
@@ -66,6 +66,11 @@
|
|
|
66
66
|
"schema": "metaschema_public",
|
|
67
67
|
"table": "check_constraint"
|
|
68
68
|
},
|
|
69
|
+
{
|
|
70
|
+
"key": "derives",
|
|
71
|
+
"schema": "metaschema_public",
|
|
72
|
+
"table": "derives"
|
|
73
|
+
},
|
|
69
74
|
{
|
|
70
75
|
"key": "exclusion_constraint",
|
|
71
76
|
"schema": "metaschema_public",
|
|
@@ -101,6 +106,11 @@
|
|
|
101
106
|
"schema": "metaschema_public",
|
|
102
107
|
"table": "primary_key_constraint"
|
|
103
108
|
},
|
|
109
|
+
{
|
|
110
|
+
"key": "table_behavior",
|
|
111
|
+
"schema": "metaschema_public",
|
|
112
|
+
"table": "table_behavior"
|
|
113
|
+
},
|
|
104
114
|
{
|
|
105
115
|
"key": "table_grant",
|
|
106
116
|
"schema": "metaschema_public",
|
|
@@ -391,11 +401,31 @@
|
|
|
391
401
|
"schema": "metaschema_public",
|
|
392
402
|
"table": "embedding_chunks"
|
|
393
403
|
},
|
|
404
|
+
{
|
|
405
|
+
"key": "field_behavior",
|
|
406
|
+
"schema": "metaschema_public",
|
|
407
|
+
"table": "field_behavior"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"key": "foreign_key_constraint_behavior",
|
|
411
|
+
"schema": "metaschema_public",
|
|
412
|
+
"table": "foreign_key_constraint_behavior"
|
|
413
|
+
},
|
|
394
414
|
{
|
|
395
415
|
"key": "spatial_relation",
|
|
396
416
|
"schema": "metaschema_public",
|
|
397
417
|
"table": "spatial_relation"
|
|
398
418
|
},
|
|
419
|
+
{
|
|
420
|
+
"key": "unique_constraint_behavior",
|
|
421
|
+
"schema": "metaschema_public",
|
|
422
|
+
"table": "unique_constraint_behavior"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"key": "view_behavior",
|
|
426
|
+
"schema": "metaschema_public",
|
|
427
|
+
"table": "view_behavior"
|
|
428
|
+
},
|
|
399
429
|
{
|
|
400
430
|
"key": "view_grant",
|
|
401
431
|
"schema": "metaschema_public",
|
|
@@ -476,6 +506,11 @@
|
|
|
476
506
|
"schema": "metaschema_modules_public",
|
|
477
507
|
"table": "http_route_module"
|
|
478
508
|
},
|
|
509
|
+
{
|
|
510
|
+
"key": "pages_module",
|
|
511
|
+
"schema": "metaschema_modules_public",
|
|
512
|
+
"table": "pages_module"
|
|
513
|
+
},
|
|
479
514
|
{
|
|
480
515
|
"key": "route_module",
|
|
481
516
|
"schema": "metaschema_modules_public",
|
|
@@ -531,6 +566,11 @@
|
|
|
531
566
|
"schema": "routing_public",
|
|
532
567
|
"table": "managed_domains"
|
|
533
568
|
},
|
|
569
|
+
{
|
|
570
|
+
"key": "pages",
|
|
571
|
+
"schema": "routing_public",
|
|
572
|
+
"table": "pages"
|
|
573
|
+
},
|
|
534
574
|
{
|
|
535
575
|
"key": "pubkey_settings",
|
|
536
576
|
"schema": "routing_public",
|
|
@@ -546,6 +586,21 @@
|
|
|
546
586
|
"schema": "routing_public",
|
|
547
587
|
"table": "routes"
|
|
548
588
|
},
|
|
589
|
+
{
|
|
590
|
+
"key": "site_app_links",
|
|
591
|
+
"schema": "routing_public",
|
|
592
|
+
"table": "site_app_links"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"key": "site_deep_links",
|
|
596
|
+
"schema": "routing_public",
|
|
597
|
+
"table": "site_deep_links"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"key": "site_error_pages",
|
|
601
|
+
"schema": "routing_public",
|
|
602
|
+
"table": "site_error_pages"
|
|
603
|
+
},
|
|
549
604
|
{
|
|
550
605
|
"key": "site_metadata",
|
|
551
606
|
"schema": "routing_public",
|
|
@@ -561,6 +616,11 @@
|
|
|
561
616
|
"schema": "routing_public",
|
|
562
617
|
"table": "site_themes"
|
|
563
618
|
},
|
|
619
|
+
{
|
|
620
|
+
"key": "site_web_configs",
|
|
621
|
+
"schema": "routing_public",
|
|
622
|
+
"table": "site_web_configs"
|
|
623
|
+
},
|
|
564
624
|
{
|
|
565
625
|
"key": "sites",
|
|
566
626
|
"schema": "routing_public",
|
|
@@ -591,6 +651,11 @@
|
|
|
591
651
|
"schema": "catalog_public",
|
|
592
652
|
"table": "apps"
|
|
593
653
|
},
|
|
654
|
+
{
|
|
655
|
+
"key": "buckets",
|
|
656
|
+
"schema": "catalog_public",
|
|
657
|
+
"table": "buckets"
|
|
658
|
+
},
|
|
594
659
|
{
|
|
595
660
|
"key": "catalog_public.domains",
|
|
596
661
|
"schema": "catalog_public",
|
|
@@ -625,6 +690,26 @@
|
|
|
625
690
|
"key": "catalog_public.sites",
|
|
626
691
|
"schema": "catalog_public",
|
|
627
692
|
"table": "sites"
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"key": "sites_app_links",
|
|
696
|
+
"schema": "catalog_public",
|
|
697
|
+
"table": "sites_app_links"
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"key": "sites_deep_links",
|
|
701
|
+
"schema": "catalog_public",
|
|
702
|
+
"table": "sites_deep_links"
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"key": "sites_error_pages",
|
|
706
|
+
"schema": "catalog_public",
|
|
707
|
+
"table": "sites_error_pages"
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"key": "sites_web_config",
|
|
711
|
+
"schema": "catalog_public",
|
|
712
|
+
"table": "sites_web_config"
|
|
628
713
|
}
|
|
629
714
|
],
|
|
630
715
|
"timestampDefaultColumns": {
|
|
@@ -644,6 +729,10 @@
|
|
|
644
729
|
"created_at",
|
|
645
730
|
"updated_at"
|
|
646
731
|
],
|
|
732
|
+
"catalog_public.buckets": [
|
|
733
|
+
"created_at",
|
|
734
|
+
"updated_at"
|
|
735
|
+
],
|
|
647
736
|
"catalog_public.domains": [
|
|
648
737
|
"created_at",
|
|
649
738
|
"updated_at"
|
|
@@ -672,6 +761,22 @@
|
|
|
672
761
|
"created_at",
|
|
673
762
|
"updated_at"
|
|
674
763
|
],
|
|
764
|
+
"catalog_public.sites_app_links": [
|
|
765
|
+
"created_at",
|
|
766
|
+
"updated_at"
|
|
767
|
+
],
|
|
768
|
+
"catalog_public.sites_deep_links": [
|
|
769
|
+
"created_at",
|
|
770
|
+
"updated_at"
|
|
771
|
+
],
|
|
772
|
+
"catalog_public.sites_error_pages": [
|
|
773
|
+
"created_at",
|
|
774
|
+
"updated_at"
|
|
775
|
+
],
|
|
776
|
+
"catalog_public.sites_web_config": [
|
|
777
|
+
"created_at",
|
|
778
|
+
"updated_at"
|
|
779
|
+
],
|
|
675
780
|
"metaschema_modules_public.db_preset_module": [
|
|
676
781
|
"created_at"
|
|
677
782
|
],
|
|
@@ -687,6 +792,9 @@
|
|
|
687
792
|
"metaschema_modules_public.merkle_store_module": [
|
|
688
793
|
"created_at"
|
|
689
794
|
],
|
|
795
|
+
"metaschema_modules_public.pages_module": [
|
|
796
|
+
"created_at"
|
|
797
|
+
],
|
|
690
798
|
"metaschema_public.check_constraint": [
|
|
691
799
|
"created_at",
|
|
692
800
|
"updated_at"
|
|
@@ -695,6 +803,10 @@
|
|
|
695
803
|
"created_at",
|
|
696
804
|
"updated_at"
|
|
697
805
|
],
|
|
806
|
+
"metaschema_public.derives": [
|
|
807
|
+
"created_at",
|
|
808
|
+
"updated_at"
|
|
809
|
+
],
|
|
698
810
|
"metaschema_public.embedding_chunks": [
|
|
699
811
|
"created_at",
|
|
700
812
|
"updated_at"
|
|
@@ -707,10 +819,18 @@
|
|
|
707
819
|
"created_at",
|
|
708
820
|
"updated_at"
|
|
709
821
|
],
|
|
822
|
+
"metaschema_public.field_behavior": [
|
|
823
|
+
"created_at",
|
|
824
|
+
"updated_at"
|
|
825
|
+
],
|
|
710
826
|
"metaschema_public.foreign_key_constraint": [
|
|
711
827
|
"created_at",
|
|
712
828
|
"updated_at"
|
|
713
829
|
],
|
|
830
|
+
"metaschema_public.foreign_key_constraint_behavior": [
|
|
831
|
+
"created_at",
|
|
832
|
+
"updated_at"
|
|
833
|
+
],
|
|
714
834
|
"metaschema_public.full_text_search": [
|
|
715
835
|
"created_at",
|
|
716
836
|
"updated_at"
|
|
@@ -743,6 +863,10 @@
|
|
|
743
863
|
"created_at",
|
|
744
864
|
"updated_at"
|
|
745
865
|
],
|
|
866
|
+
"metaschema_public.table_behavior": [
|
|
867
|
+
"created_at",
|
|
868
|
+
"updated_at"
|
|
869
|
+
],
|
|
746
870
|
"metaschema_public.table_grant": [
|
|
747
871
|
"created_at",
|
|
748
872
|
"updated_at"
|
|
@@ -759,6 +883,14 @@
|
|
|
759
883
|
"created_at",
|
|
760
884
|
"updated_at"
|
|
761
885
|
],
|
|
886
|
+
"metaschema_public.unique_constraint_behavior": [
|
|
887
|
+
"created_at",
|
|
888
|
+
"updated_at"
|
|
889
|
+
],
|
|
890
|
+
"metaschema_public.view_behavior": [
|
|
891
|
+
"created_at",
|
|
892
|
+
"updated_at"
|
|
893
|
+
],
|
|
762
894
|
"routing_public.api_schemas": [
|
|
763
895
|
"created_at",
|
|
764
896
|
"updated_at"
|
|
@@ -811,6 +943,18 @@
|
|
|
811
943
|
"created_at",
|
|
812
944
|
"updated_at"
|
|
813
945
|
],
|
|
946
|
+
"routing_public.site_app_links": [
|
|
947
|
+
"created_at",
|
|
948
|
+
"updated_at"
|
|
949
|
+
],
|
|
950
|
+
"routing_public.site_deep_links": [
|
|
951
|
+
"created_at",
|
|
952
|
+
"updated_at"
|
|
953
|
+
],
|
|
954
|
+
"routing_public.site_error_pages": [
|
|
955
|
+
"created_at",
|
|
956
|
+
"updated_at"
|
|
957
|
+
],
|
|
814
958
|
"routing_public.site_metadata": [
|
|
815
959
|
"created_at",
|
|
816
960
|
"updated_at"
|
|
@@ -823,6 +967,10 @@
|
|
|
823
967
|
"created_at",
|
|
824
968
|
"updated_at"
|
|
825
969
|
],
|
|
970
|
+
"routing_public.site_web_configs": [
|
|
971
|
+
"created_at",
|
|
972
|
+
"updated_at"
|
|
973
|
+
],
|
|
826
974
|
"routing_public.sites": [
|
|
827
975
|
"created_at",
|
|
828
976
|
"updated_at"
|
package/export-graphql-meta.js
CHANGED
|
@@ -4,8 +4,8 @@ exports.exportGraphQLMeta = void 0;
|
|
|
4
4
|
/**
|
|
5
5
|
* GraphQL equivalent of export-meta.ts.
|
|
6
6
|
*
|
|
7
|
-
* Fetches metadata from metaschema_public,
|
|
8
|
-
*
|
|
7
|
+
* Fetches metadata from metaschema_public, routing_public,
|
|
8
|
+
* apps_public, and metaschema_modules_public
|
|
9
9
|
* via GraphQL queries instead of direct SQL, then uses the same csv-to-pg Parser to
|
|
10
10
|
* generate SQL INSERT statements.
|
|
11
11
|
*/
|
|
@@ -107,7 +107,7 @@ const exportGraphQLMeta = async ({ client, database_id }) => {
|
|
|
107
107
|
const tableConfig = export_utils_1.META_TABLE_CONFIG[key];
|
|
108
108
|
if (!tableConfig)
|
|
109
109
|
return;
|
|
110
|
-
// Schema-qualified manifest keys (e.g.
|
|
110
|
+
// Schema-qualified manifest keys (e.g. catalog_public.apis)
|
|
111
111
|
// mark tables whose name collides with a table in another plane. GraphQL
|
|
112
112
|
// type/query names are derived from the bare table name, so these cannot
|
|
113
113
|
// be addressed unambiguously through the meta API — only the SQL flow
|
package/export-migrations.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ interface ExportOptions {
|
|
|
27
27
|
serviceOutdir?: string;
|
|
28
28
|
/**
|
|
29
29
|
* Skip schema name replacement for infrastructure schemas.
|
|
30
|
-
* When true, schema names like metaschema_public,
|
|
30
|
+
* When true, schema names like metaschema_public, routing_public will not be renamed.
|
|
31
31
|
* Useful for self-referential introspection where you want to apply policies to real schemas.
|
|
32
32
|
*/
|
|
33
33
|
skipSchemaRenaming?: boolean;
|
package/export-migrations.js
CHANGED
|
@@ -27,7 +27,7 @@ const exportMigrationsToDisk = async ({ project, options, database, databaseId,
|
|
|
27
27
|
const name = extensionName || db.rows[0].name;
|
|
28
28
|
// When skipSchemaRenaming is true, pass empty schemas array to avoid renaming
|
|
29
29
|
// This is useful for self-referential introspection where you want to apply
|
|
30
|
-
// policies to real infrastructure schemas (metaschema_public,
|
|
30
|
+
// policies to real infrastructure schemas (metaschema_public, routing_public, etc.)
|
|
31
31
|
const schemasForReplacement = skipSchemaRenaming
|
|
32
32
|
? []
|
|
33
33
|
: schemas.rows.filter((schema) => schema_names.includes(schema.schema_name));
|
package/graphql-naming.js
CHANGED
|
@@ -12,8 +12,8 @@ exports.getGraphQLTypeName = exports.mapGraphQLTypeToFieldType = exports.unwrapG
|
|
|
12
12
|
* Examples:
|
|
13
13
|
* metaschema_public.database -> databases (query), Database (type)
|
|
14
14
|
* metaschema_public.foreign_key_constraint -> foreignKeyConstraints
|
|
15
|
-
*
|
|
16
|
-
*
|
|
15
|
+
* routing_public.api_schemas -> apiSchemas
|
|
16
|
+
* apps_public.apps -> apps
|
|
17
17
|
* metaschema_modules_public.api_surface_module -> apiSurfaceModules
|
|
18
18
|
* db_migrate.sql_actions -> sqlActions
|
|
19
19
|
* column database_id -> databaseId
|
package/meta-export-tables.json
CHANGED
|
@@ -66,6 +66,11 @@
|
|
|
66
66
|
"schema": "metaschema_public",
|
|
67
67
|
"table": "check_constraint"
|
|
68
68
|
},
|
|
69
|
+
{
|
|
70
|
+
"key": "derives",
|
|
71
|
+
"schema": "metaschema_public",
|
|
72
|
+
"table": "derives"
|
|
73
|
+
},
|
|
69
74
|
{
|
|
70
75
|
"key": "exclusion_constraint",
|
|
71
76
|
"schema": "metaschema_public",
|
|
@@ -101,6 +106,11 @@
|
|
|
101
106
|
"schema": "metaschema_public",
|
|
102
107
|
"table": "primary_key_constraint"
|
|
103
108
|
},
|
|
109
|
+
{
|
|
110
|
+
"key": "table_behavior",
|
|
111
|
+
"schema": "metaschema_public",
|
|
112
|
+
"table": "table_behavior"
|
|
113
|
+
},
|
|
104
114
|
{
|
|
105
115
|
"key": "table_grant",
|
|
106
116
|
"schema": "metaschema_public",
|
|
@@ -391,11 +401,31 @@
|
|
|
391
401
|
"schema": "metaschema_public",
|
|
392
402
|
"table": "embedding_chunks"
|
|
393
403
|
},
|
|
404
|
+
{
|
|
405
|
+
"key": "field_behavior",
|
|
406
|
+
"schema": "metaschema_public",
|
|
407
|
+
"table": "field_behavior"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"key": "foreign_key_constraint_behavior",
|
|
411
|
+
"schema": "metaschema_public",
|
|
412
|
+
"table": "foreign_key_constraint_behavior"
|
|
413
|
+
},
|
|
394
414
|
{
|
|
395
415
|
"key": "spatial_relation",
|
|
396
416
|
"schema": "metaschema_public",
|
|
397
417
|
"table": "spatial_relation"
|
|
398
418
|
},
|
|
419
|
+
{
|
|
420
|
+
"key": "unique_constraint_behavior",
|
|
421
|
+
"schema": "metaschema_public",
|
|
422
|
+
"table": "unique_constraint_behavior"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"key": "view_behavior",
|
|
426
|
+
"schema": "metaschema_public",
|
|
427
|
+
"table": "view_behavior"
|
|
428
|
+
},
|
|
399
429
|
{
|
|
400
430
|
"key": "view_grant",
|
|
401
431
|
"schema": "metaschema_public",
|
|
@@ -476,6 +506,11 @@
|
|
|
476
506
|
"schema": "metaschema_modules_public",
|
|
477
507
|
"table": "http_route_module"
|
|
478
508
|
},
|
|
509
|
+
{
|
|
510
|
+
"key": "pages_module",
|
|
511
|
+
"schema": "metaschema_modules_public",
|
|
512
|
+
"table": "pages_module"
|
|
513
|
+
},
|
|
479
514
|
{
|
|
480
515
|
"key": "route_module",
|
|
481
516
|
"schema": "metaschema_modules_public",
|
|
@@ -531,6 +566,11 @@
|
|
|
531
566
|
"schema": "routing_public",
|
|
532
567
|
"table": "managed_domains"
|
|
533
568
|
},
|
|
569
|
+
{
|
|
570
|
+
"key": "pages",
|
|
571
|
+
"schema": "routing_public",
|
|
572
|
+
"table": "pages"
|
|
573
|
+
},
|
|
534
574
|
{
|
|
535
575
|
"key": "pubkey_settings",
|
|
536
576
|
"schema": "routing_public",
|
|
@@ -546,6 +586,21 @@
|
|
|
546
586
|
"schema": "routing_public",
|
|
547
587
|
"table": "routes"
|
|
548
588
|
},
|
|
589
|
+
{
|
|
590
|
+
"key": "site_app_links",
|
|
591
|
+
"schema": "routing_public",
|
|
592
|
+
"table": "site_app_links"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"key": "site_deep_links",
|
|
596
|
+
"schema": "routing_public",
|
|
597
|
+
"table": "site_deep_links"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"key": "site_error_pages",
|
|
601
|
+
"schema": "routing_public",
|
|
602
|
+
"table": "site_error_pages"
|
|
603
|
+
},
|
|
549
604
|
{
|
|
550
605
|
"key": "site_metadata",
|
|
551
606
|
"schema": "routing_public",
|
|
@@ -561,6 +616,11 @@
|
|
|
561
616
|
"schema": "routing_public",
|
|
562
617
|
"table": "site_themes"
|
|
563
618
|
},
|
|
619
|
+
{
|
|
620
|
+
"key": "site_web_configs",
|
|
621
|
+
"schema": "routing_public",
|
|
622
|
+
"table": "site_web_configs"
|
|
623
|
+
},
|
|
564
624
|
{
|
|
565
625
|
"key": "sites",
|
|
566
626
|
"schema": "routing_public",
|
|
@@ -591,6 +651,11 @@
|
|
|
591
651
|
"schema": "catalog_public",
|
|
592
652
|
"table": "apps"
|
|
593
653
|
},
|
|
654
|
+
{
|
|
655
|
+
"key": "buckets",
|
|
656
|
+
"schema": "catalog_public",
|
|
657
|
+
"table": "buckets"
|
|
658
|
+
},
|
|
594
659
|
{
|
|
595
660
|
"key": "catalog_public.domains",
|
|
596
661
|
"schema": "catalog_public",
|
|
@@ -625,6 +690,26 @@
|
|
|
625
690
|
"key": "catalog_public.sites",
|
|
626
691
|
"schema": "catalog_public",
|
|
627
692
|
"table": "sites"
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"key": "sites_app_links",
|
|
696
|
+
"schema": "catalog_public",
|
|
697
|
+
"table": "sites_app_links"
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"key": "sites_deep_links",
|
|
701
|
+
"schema": "catalog_public",
|
|
702
|
+
"table": "sites_deep_links"
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"key": "sites_error_pages",
|
|
706
|
+
"schema": "catalog_public",
|
|
707
|
+
"table": "sites_error_pages"
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"key": "sites_web_config",
|
|
711
|
+
"schema": "catalog_public",
|
|
712
|
+
"table": "sites_web_config"
|
|
628
713
|
}
|
|
629
714
|
],
|
|
630
715
|
"timestampDefaultColumns": {
|
|
@@ -644,6 +729,10 @@
|
|
|
644
729
|
"created_at",
|
|
645
730
|
"updated_at"
|
|
646
731
|
],
|
|
732
|
+
"catalog_public.buckets": [
|
|
733
|
+
"created_at",
|
|
734
|
+
"updated_at"
|
|
735
|
+
],
|
|
647
736
|
"catalog_public.domains": [
|
|
648
737
|
"created_at",
|
|
649
738
|
"updated_at"
|
|
@@ -672,6 +761,22 @@
|
|
|
672
761
|
"created_at",
|
|
673
762
|
"updated_at"
|
|
674
763
|
],
|
|
764
|
+
"catalog_public.sites_app_links": [
|
|
765
|
+
"created_at",
|
|
766
|
+
"updated_at"
|
|
767
|
+
],
|
|
768
|
+
"catalog_public.sites_deep_links": [
|
|
769
|
+
"created_at",
|
|
770
|
+
"updated_at"
|
|
771
|
+
],
|
|
772
|
+
"catalog_public.sites_error_pages": [
|
|
773
|
+
"created_at",
|
|
774
|
+
"updated_at"
|
|
775
|
+
],
|
|
776
|
+
"catalog_public.sites_web_config": [
|
|
777
|
+
"created_at",
|
|
778
|
+
"updated_at"
|
|
779
|
+
],
|
|
675
780
|
"metaschema_modules_public.db_preset_module": [
|
|
676
781
|
"created_at"
|
|
677
782
|
],
|
|
@@ -687,6 +792,9 @@
|
|
|
687
792
|
"metaschema_modules_public.merkle_store_module": [
|
|
688
793
|
"created_at"
|
|
689
794
|
],
|
|
795
|
+
"metaschema_modules_public.pages_module": [
|
|
796
|
+
"created_at"
|
|
797
|
+
],
|
|
690
798
|
"metaschema_public.check_constraint": [
|
|
691
799
|
"created_at",
|
|
692
800
|
"updated_at"
|
|
@@ -695,6 +803,10 @@
|
|
|
695
803
|
"created_at",
|
|
696
804
|
"updated_at"
|
|
697
805
|
],
|
|
806
|
+
"metaschema_public.derives": [
|
|
807
|
+
"created_at",
|
|
808
|
+
"updated_at"
|
|
809
|
+
],
|
|
698
810
|
"metaschema_public.embedding_chunks": [
|
|
699
811
|
"created_at",
|
|
700
812
|
"updated_at"
|
|
@@ -707,10 +819,18 @@
|
|
|
707
819
|
"created_at",
|
|
708
820
|
"updated_at"
|
|
709
821
|
],
|
|
822
|
+
"metaschema_public.field_behavior": [
|
|
823
|
+
"created_at",
|
|
824
|
+
"updated_at"
|
|
825
|
+
],
|
|
710
826
|
"metaschema_public.foreign_key_constraint": [
|
|
711
827
|
"created_at",
|
|
712
828
|
"updated_at"
|
|
713
829
|
],
|
|
830
|
+
"metaschema_public.foreign_key_constraint_behavior": [
|
|
831
|
+
"created_at",
|
|
832
|
+
"updated_at"
|
|
833
|
+
],
|
|
714
834
|
"metaschema_public.full_text_search": [
|
|
715
835
|
"created_at",
|
|
716
836
|
"updated_at"
|
|
@@ -743,6 +863,10 @@
|
|
|
743
863
|
"created_at",
|
|
744
864
|
"updated_at"
|
|
745
865
|
],
|
|
866
|
+
"metaschema_public.table_behavior": [
|
|
867
|
+
"created_at",
|
|
868
|
+
"updated_at"
|
|
869
|
+
],
|
|
746
870
|
"metaschema_public.table_grant": [
|
|
747
871
|
"created_at",
|
|
748
872
|
"updated_at"
|
|
@@ -759,6 +883,14 @@
|
|
|
759
883
|
"created_at",
|
|
760
884
|
"updated_at"
|
|
761
885
|
],
|
|
886
|
+
"metaschema_public.unique_constraint_behavior": [
|
|
887
|
+
"created_at",
|
|
888
|
+
"updated_at"
|
|
889
|
+
],
|
|
890
|
+
"metaschema_public.view_behavior": [
|
|
891
|
+
"created_at",
|
|
892
|
+
"updated_at"
|
|
893
|
+
],
|
|
762
894
|
"routing_public.api_schemas": [
|
|
763
895
|
"created_at",
|
|
764
896
|
"updated_at"
|
|
@@ -811,6 +943,18 @@
|
|
|
811
943
|
"created_at",
|
|
812
944
|
"updated_at"
|
|
813
945
|
],
|
|
946
|
+
"routing_public.site_app_links": [
|
|
947
|
+
"created_at",
|
|
948
|
+
"updated_at"
|
|
949
|
+
],
|
|
950
|
+
"routing_public.site_deep_links": [
|
|
951
|
+
"created_at",
|
|
952
|
+
"updated_at"
|
|
953
|
+
],
|
|
954
|
+
"routing_public.site_error_pages": [
|
|
955
|
+
"created_at",
|
|
956
|
+
"updated_at"
|
|
957
|
+
],
|
|
814
958
|
"routing_public.site_metadata": [
|
|
815
959
|
"created_at",
|
|
816
960
|
"updated_at"
|
|
@@ -823,6 +967,10 @@
|
|
|
823
967
|
"created_at",
|
|
824
968
|
"updated_at"
|
|
825
969
|
],
|
|
970
|
+
"routing_public.site_web_configs": [
|
|
971
|
+
"created_at",
|
|
972
|
+
"updated_at"
|
|
973
|
+
],
|
|
826
974
|
"routing_public.sites": [
|
|
827
975
|
"created_at",
|
|
828
976
|
"updated_at"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgpmjs/export",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.3",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "PGPM export tools for SQL and GraphQL database migration extraction",
|
|
6
6
|
"main": "index.js",
|
|
@@ -41,22 +41,22 @@
|
|
|
41
41
|
"@pgsql/types": "^18.0.0",
|
|
42
42
|
"@types/pg": "^8.20.0",
|
|
43
43
|
"makage": "^0.3.0",
|
|
44
|
-
"pgsql-test": "^5.10.
|
|
44
|
+
"pgsql-test": "^5.10.3"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@constructive-io/query-builder": "^3.10.1",
|
|
48
|
-
"@pgpmjs/core": "^7.
|
|
49
|
-
"@pgpmjs/migrate-client": "^1.11.
|
|
48
|
+
"@pgpmjs/core": "^7.25.0",
|
|
49
|
+
"@pgpmjs/migrate-client": "^1.11.3",
|
|
50
50
|
"@pgpmjs/naming-spec": "^0.3.0",
|
|
51
|
-
"@pgpmjs/transform": "^0.23.
|
|
52
|
-
"@pgpmjs/types": "^2.50.
|
|
53
|
-
"csv-to-pg": "^4.10.
|
|
51
|
+
"@pgpmjs/transform": "^0.23.1",
|
|
52
|
+
"@pgpmjs/types": "^2.50.2",
|
|
53
|
+
"csv-to-pg": "^4.10.2",
|
|
54
54
|
"glob": "^13.0.6",
|
|
55
55
|
"inflekt": "^0.7.1",
|
|
56
|
-
"inquirerer": "^4.9.
|
|
56
|
+
"inquirerer": "^4.9.3",
|
|
57
57
|
"pg": "^8.21.0",
|
|
58
|
-
"pg-cache": "^3.25.
|
|
58
|
+
"pg-cache": "^3.25.2",
|
|
59
59
|
"pg-env": "^1.29.0"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "43121004a8bedd2c5fcf7bf33208079d55bad01f"
|
|
62
62
|
}
|