@pgpm/metaschema-modules 0.16.0
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/LICENSE +22 -0
- package/Makefile +6 -0
- package/README.md +240 -0
- package/deploy/schemas/metaschema_modules_public/schema.sql +16 -0
- package/deploy/schemas/metaschema_modules_public/tables/connected_accounts_module/table.sql +34 -0
- package/deploy/schemas/metaschema_modules_public/tables/crypto_addresses_module/table.sql +35 -0
- package/deploy/schemas/metaschema_modules_public/tables/crypto_auth_module/table.sql +41 -0
- package/deploy/schemas/metaschema_modules_public/tables/default_ids_module/table.sql +19 -0
- package/deploy/schemas/metaschema_modules_public/tables/denormalized_table_field/table.sql +41 -0
- package/deploy/schemas/metaschema_modules_public/tables/emails_module/table.sql +34 -0
- package/deploy/schemas/metaschema_modules_public/tables/encrypted_secrets_module/table.sql +29 -0
- package/deploy/schemas/metaschema_modules_public/tables/field_module/table.sql +37 -0
- package/deploy/schemas/metaschema_modules_public/tables/hierarchy_module/table.sql +79 -0
- package/deploy/schemas/metaschema_modules_public/tables/invites_module/table.sql +51 -0
- package/deploy/schemas/metaschema_modules_public/tables/levels_module/table.sql +71 -0
- package/deploy/schemas/metaschema_modules_public/tables/limits_module/table.sql +63 -0
- package/deploy/schemas/metaschema_modules_public/tables/membership_types_module/table.sql +30 -0
- package/deploy/schemas/metaschema_modules_public/tables/memberships_module/table.sql +120 -0
- package/deploy/schemas/metaschema_modules_public/tables/permissions_module/table.sql +65 -0
- package/deploy/schemas/metaschema_modules_public/tables/phone_numbers_module/table.sql +34 -0
- package/deploy/schemas/metaschema_modules_public/tables/profiles_module/table.sql +89 -0
- package/deploy/schemas/metaschema_modules_public/tables/rls_module/table.sql +46 -0
- package/deploy/schemas/metaschema_modules_public/tables/secrets_module/table.sql +28 -0
- package/deploy/schemas/metaschema_modules_public/tables/tokens_module/table.sql +35 -0
- package/deploy/schemas/metaschema_modules_public/tables/user_auth_module/table.sql +68 -0
- package/deploy/schemas/metaschema_modules_public/tables/users_module/table.sql +38 -0
- package/deploy/schemas/metaschema_modules_public/tables/uuid_module/table.sql +23 -0
- package/deploy/schemas/services_private/schema.sql +2 -0
- package/deploy/schemas/services_public/schema.sql +2 -0
- package/deploy/schemas/services_public/tables/apis/table.sql +3 -0
- package/deploy/schemas/services_public/tables/sites/table.sql +3 -0
- package/metaschema-modules.control +7 -0
- package/package.json +40 -0
- package/pgpm.plan +32 -0
- package/revert/schemas/metaschema_modules_public/schema.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/connected_accounts_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/crypto_addresses_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/crypto_auth_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/default_ids_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/denormalized_table_field/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/emails_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/encrypted_secrets_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/field_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/hierarchy_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/invites_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/levels_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/limits_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/membership_types_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/memberships_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/permissions_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/phone_numbers_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/profiles_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/rls_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/secrets_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/tokens_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/user_auth_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/users_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/uuid_module/table.sql +7 -0
- package/revert/schemas/services_private/schema.sql +1 -0
- package/revert/schemas/services_public/schema.sql +1 -0
- package/revert/schemas/services_public/tables/apis/table.sql +1 -0
- package/revert/schemas/services_public/tables/sites/table.sql +1 -0
- package/sql/metaschema-modules--0.15.5.sql +1206 -0
- package/verify/schemas/metaschema_modules_public/schema.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/connected_accounts_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/crypto_addresses_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/crypto_auth_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/default_ids_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/denormalized_table_field/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/emails_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/encrypted_secrets_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/field_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/hierarchy_module/table.sql +29 -0
- package/verify/schemas/metaschema_modules_public/tables/invites_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/levels_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/limits_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/membership_types_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/memberships_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/permissions_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/phone_numbers_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/profiles_module/table.sql +14 -0
- package/verify/schemas/metaschema_modules_public/tables/rls_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/secrets_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/tokens_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/user_auth_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/users_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/uuid_module/table.sql +7 -0
- package/verify/schemas/services_private/schema.sql +1 -0
- package/verify/schemas/services_public/schema.sql +1 -0
- package/verify/schemas/services_public/tables/apis/table.sql +1 -0
- package/verify/schemas/services_public/tables/sites/table.sql +1 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
-- Verify schemas/metaschema_modules_public/tables/hierarchy_module/table on pg
|
|
2
|
+
|
|
3
|
+
BEGIN;
|
|
4
|
+
|
|
5
|
+
SELECT
|
|
6
|
+
id,
|
|
7
|
+
database_id,
|
|
8
|
+
schema_id,
|
|
9
|
+
private_schema_id,
|
|
10
|
+
chart_edges_table_id,
|
|
11
|
+
chart_edges_table_name,
|
|
12
|
+
hierarchy_sprt_table_id,
|
|
13
|
+
hierarchy_sprt_table_name,
|
|
14
|
+
chart_edge_grants_table_id,
|
|
15
|
+
chart_edge_grants_table_name,
|
|
16
|
+
entity_table_id,
|
|
17
|
+
users_table_id,
|
|
18
|
+
prefix,
|
|
19
|
+
private_schema_name,
|
|
20
|
+
sprt_table_name,
|
|
21
|
+
rebuild_hierarchy_function,
|
|
22
|
+
get_subordinates_function,
|
|
23
|
+
get_managers_function,
|
|
24
|
+
is_manager_of_function,
|
|
25
|
+
created_at
|
|
26
|
+
FROM metaschema_modules_public.hierarchy_module
|
|
27
|
+
WHERE FALSE;
|
|
28
|
+
|
|
29
|
+
ROLLBACK;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
-- Verify schemas/metaschema_modules_public/tables/profiles_module/table on pg
|
|
2
|
+
|
|
3
|
+
BEGIN;
|
|
4
|
+
|
|
5
|
+
SELECT id, database_id, schema_id, private_schema_id, table_id, table_name,
|
|
6
|
+
profile_permissions_table_id, profile_permissions_table_name,
|
|
7
|
+
profile_grants_table_id, profile_grants_table_name,
|
|
8
|
+
profile_definition_grants_table_id, profile_definition_grants_table_name,
|
|
9
|
+
bitlen, membership_type, entity_table_id, actor_table_id,
|
|
10
|
+
permissions_table_id, memberships_table_id, prefix
|
|
11
|
+
FROM metaschema_modules_public.profiles_module
|
|
12
|
+
WHERE FALSE;
|
|
13
|
+
|
|
14
|
+
ROLLBACK;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
-- Verify schemas/services_private/schema on pg
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
-- Verify schemas/services_public/schema on pg
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
-- Verify schemas/services_public/tables/apis/table on pg
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
-- Verify schemas/services_public/tables/sites/table on pg
|