@pgpm/metaschema-modules 0.26.0 → 0.26.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.
Files changed (40) hide show
  1. package/Makefile +1 -1
  2. package/deploy/schemas/metaschema_modules_public/tables/agent_module/table.sql +77 -0
  3. package/deploy/schemas/metaschema_modules_public/tables/billing_module/table.sql +5 -0
  4. package/deploy/schemas/metaschema_modules_public/tables/compute_log_module/table.sql +44 -0
  5. package/deploy/schemas/metaschema_modules_public/tables/db_usage_module/table.sql +52 -0
  6. package/deploy/schemas/metaschema_modules_public/tables/entity_type_provision/table.sql +99 -24
  7. package/deploy/schemas/metaschema_modules_public/tables/function_module/table.sql +68 -0
  8. package/deploy/schemas/metaschema_modules_public/tables/graph_module/table.sql +73 -0
  9. package/deploy/schemas/metaschema_modules_public/tables/inference_log_module/table.sql +7 -2
  10. package/deploy/schemas/metaschema_modules_public/tables/merkle_store_module/table.sql +50 -0
  11. package/deploy/schemas/metaschema_modules_public/tables/namespace_module/table.sql +65 -0
  12. package/deploy/schemas/metaschema_modules_public/tables/storage_log_module/table.sql +44 -0
  13. package/deploy/schemas/metaschema_modules_public/tables/storage_module/table.sql +5 -6
  14. package/deploy/schemas/metaschema_modules_public/tables/transfer_log_module/table.sql +44 -0
  15. package/deploy/schemas/metaschema_modules_public/tables/user_auth_module/table.sql +1 -1
  16. package/metaschema-modules.control +1 -1
  17. package/package.json +3 -3
  18. package/pgpm.plan +9 -0
  19. package/revert/schemas/metaschema_modules_public/tables/agent_module/table.sql +7 -0
  20. package/revert/schemas/metaschema_modules_public/tables/compute_log_module/table.sql +3 -0
  21. package/revert/schemas/metaschema_modules_public/tables/db_usage_module/table.sql +3 -0
  22. package/revert/schemas/metaschema_modules_public/tables/function_module/table.sql +7 -0
  23. package/revert/schemas/metaschema_modules_public/tables/graph_module/table.sql +7 -0
  24. package/revert/schemas/metaschema_modules_public/tables/merkle_store_module/table.sql +7 -0
  25. package/revert/schemas/metaschema_modules_public/tables/namespace_module/table.sql +7 -0
  26. package/revert/schemas/metaschema_modules_public/tables/storage_log_module/table.sql +3 -0
  27. package/revert/schemas/metaschema_modules_public/tables/transfer_log_module/table.sql +3 -0
  28. package/sql/{metaschema-modules--0.15.5.sql → metaschema-modules--0.26.0.sql} +563 -22
  29. package/verify/schemas/metaschema_modules_public/tables/agent_module/table.sql +7 -0
  30. package/verify/schemas/metaschema_modules_public/tables/billing_module/table.sql +2 -0
  31. package/verify/schemas/metaschema_modules_public/tables/compute_log_module/table.sql +9 -0
  32. package/verify/schemas/metaschema_modules_public/tables/db_usage_module/table.sql +10 -0
  33. package/verify/schemas/metaschema_modules_public/tables/function_module/table.sql +7 -0
  34. package/verify/schemas/metaschema_modules_public/tables/graph_module/table.sql +7 -0
  35. package/verify/schemas/metaschema_modules_public/tables/inference_log_module/table.sql +3 -2
  36. package/verify/schemas/metaschema_modules_public/tables/merkle_store_module/table.sql +7 -0
  37. package/verify/schemas/metaschema_modules_public/tables/namespace_module/table.sql +14 -0
  38. package/verify/schemas/metaschema_modules_public/tables/profiles_module/table.sql +2 -1
  39. package/verify/schemas/metaschema_modules_public/tables/storage_log_module/table.sql +10 -0
  40. package/verify/schemas/metaschema_modules_public/tables/transfer_log_module/table.sql +10 -0
@@ -0,0 +1,9 @@
1
+ -- Verify schemas/metaschema_modules_public/tables/compute_log_module/table on pg
2
+
3
+ SELECT id, database_id, schema_id, private_schema_id,
4
+ compute_log_table_id, compute_log_table_name,
5
+ usage_daily_table_id, usage_daily_table_name,
6
+ retention, scope, actor_fk_table_id, entity_fk_table_id,
7
+ prefix
8
+ FROM metaschema_modules_public.compute_log_module
9
+ WHERE FALSE;
@@ -0,0 +1,10 @@
1
+ -- Verify schemas/metaschema_modules_public/tables/db_usage_module/table on pg
2
+
3
+ SELECT id, database_id, schema_id, private_schema_id,
4
+ table_stats_log_table_id, table_stats_log_table_name,
5
+ table_stats_daily_table_id, table_stats_daily_table_name,
6
+ query_stats_log_table_id, query_stats_log_table_name,
7
+ query_stats_daily_table_id, query_stats_daily_table_name,
8
+ retention, scope, prefix
9
+ FROM metaschema_modules_public.db_usage_module
10
+ WHERE FALSE;
@@ -0,0 +1,7 @@
1
+ -- Verify schemas/metaschema_modules_public/tables/function_module/table on pg
2
+
3
+ BEGIN;
4
+
5
+ SELECT verify_table ('metaschema_modules_public.function_module');
6
+
7
+ ROLLBACK;
@@ -0,0 +1,7 @@
1
+ -- Verify schemas/metaschema_modules_public/tables/graph_module/table on pg
2
+
3
+ BEGIN;
4
+
5
+ SELECT verify_table ('metaschema_modules_public.graph_module');
6
+
7
+ ROLLBACK;
@@ -11,9 +11,10 @@ SELECT
11
11
  inference_log_table_name,
12
12
  usage_daily_table_id,
13
13
  usage_daily_table_name,
14
- "interval",
15
14
  retention,
16
- premake,
15
+ scope,
16
+ actor_fk_table_id,
17
+ entity_fk_table_id,
17
18
  prefix
18
19
  FROM metaschema_modules_public.inference_log_module
19
20
  WHERE FALSE;
@@ -0,0 +1,7 @@
1
+ -- Verify schemas/metaschema_modules_public/tables/merkle_store_module/table on pg
2
+
3
+ BEGIN;
4
+
5
+ SELECT verify_table ('metaschema_modules_public.merkle_store_module');
6
+
7
+ ROLLBACK;
@@ -0,0 +1,14 @@
1
+ -- Verify schemas/metaschema_modules_public/tables/namespace_module/table on pg
2
+
3
+ BEGIN;
4
+
5
+ SELECT id, database_id, schema_id, private_schema_id,
6
+ public_schema_name, private_schema_name,
7
+ namespaces_table_id, namespace_events_table_id,
8
+ namespaces_table_name, namespace_events_table_name,
9
+ api_name, private_api_name,
10
+ entity_table_id, policies, provisions
11
+ FROM metaschema_modules_public.namespace_module
12
+ WHERE false;
13
+
14
+ ROLLBACK;
@@ -6,7 +6,8 @@ SELECT id, database_id, schema_id, private_schema_id, table_id, table_name,
6
6
  profile_permissions_table_id, profile_permissions_table_name,
7
7
  profile_grants_table_id, profile_grants_table_name,
8
8
  profile_definition_grants_table_id, profile_definition_grants_table_name,
9
- membership_type, entity_table_id, actor_table_id,
9
+ profile_templates_table_id, profile_templates_table_name,
10
+ entity_table_id, actor_table_id,
10
11
  permissions_table_id, memberships_table_id, prefix
11
12
  FROM metaschema_modules_public.profiles_module
12
13
  WHERE FALSE;
@@ -0,0 +1,10 @@
1
+ -- Verify schemas/metaschema_modules_public/tables/storage_log_module/table on pg
2
+
3
+ SELECT id, database_id, schema_id, private_schema_id,
4
+ storage_log_table_id, storage_log_table_name,
5
+ usage_daily_table_id, usage_daily_table_name,
6
+ retention, scope,
7
+ actor_fk_table_id, entity_fk_table_id,
8
+ prefix
9
+ FROM metaschema_modules_public.storage_log_module
10
+ WHERE FALSE;
@@ -0,0 +1,10 @@
1
+ -- Verify schemas/metaschema_modules_public/tables/transfer_log_module/table on pg
2
+
3
+ SELECT id, database_id, schema_id, private_schema_id,
4
+ transfer_log_table_id, transfer_log_table_name,
5
+ usage_daily_table_id, usage_daily_table_name,
6
+ retention, scope,
7
+ actor_fk_table_id, entity_fk_table_id,
8
+ prefix
9
+ FROM metaschema_modules_public.transfer_log_module
10
+ WHERE FALSE;