@pgpm/metaschema-modules 0.21.2 → 0.22.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/README.md +7 -8
- package/deploy/schemas/metaschema_modules_public/tables/billing_module/table.sql +47 -0
- package/deploy/schemas/metaschema_modules_public/tables/billing_provider_module/table.sql +61 -0
- package/deploy/schemas/metaschema_modules_public/tables/devices_module/table.sql +36 -0
- package/deploy/schemas/metaschema_modules_public/tables/entity_type_provision/table.sql +332 -0
- package/deploy/schemas/metaschema_modules_public/tables/identity_providers_module/table.sql +33 -0
- package/deploy/schemas/metaschema_modules_public/tables/invites_module/table.sql +8 -0
- package/deploy/schemas/metaschema_modules_public/tables/limits_module/table.sql +38 -2
- package/deploy/schemas/metaschema_modules_public/tables/memberships_module/table.sql +7 -0
- package/deploy/schemas/metaschema_modules_public/tables/notifications_module/table.sql +66 -0
- package/deploy/schemas/metaschema_modules_public/tables/permissions_module/table.sql +23 -1
- package/deploy/schemas/metaschema_modules_public/tables/plans_module/table.sql +46 -0
- package/deploy/schemas/metaschema_modules_public/tables/profiles_module/table.sql +5 -0
- package/deploy/schemas/metaschema_modules_public/tables/realtime_module/table.sql +48 -0
- package/deploy/schemas/metaschema_modules_public/tables/relation_provision/table.sql +10 -45
- package/deploy/schemas/metaschema_modules_public/tables/secure_table_provision/table.sql +8 -39
- package/deploy/schemas/metaschema_modules_public/tables/session_secrets_module/table.sql +31 -0
- package/deploy/schemas/metaschema_modules_public/tables/storage_module/table.sql +42 -4
- package/deploy/schemas/metaschema_modules_public/tables/user_auth_module/table.sql +2 -2
- package/deploy/schemas/metaschema_modules_public/tables/webauthn_auth_module/table.sql +63 -0
- package/deploy/schemas/metaschema_modules_public/tables/webauthn_credentials_module/table.sql +32 -0
- package/package.json +5 -5
- package/pgpm.plan +12 -1
- package/revert/schemas/metaschema_modules_public/tables/billing_module/table.sql +3 -0
- package/revert/schemas/metaschema_modules_public/tables/billing_provider_module/table.sql +3 -0
- package/revert/schemas/metaschema_modules_public/tables/devices_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/entity_type_provision/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/identity_providers_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/notifications_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/plans_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/realtime_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/session_secrets_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/webauthn_auth_module/table.sql +7 -0
- package/revert/schemas/metaschema_modules_public/tables/webauthn_credentials_module/table.sql +7 -0
- package/sql/metaschema-modules--0.15.5.sql +1269 -469
- package/verify/schemas/metaschema_modules_public/tables/billing_module/table.sql +23 -0
- package/verify/schemas/metaschema_modules_public/tables/billing_provider_module/table.sql +29 -0
- package/verify/schemas/metaschema_modules_public/tables/devices_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/entity_type_provision/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/identity_providers_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/notifications_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/plans_module/table.sql +13 -0
- package/verify/schemas/metaschema_modules_public/tables/realtime_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/relation_provision/table.sql +2 -8
- package/verify/schemas/metaschema_modules_public/tables/secure_table_provision/table.sql +2 -8
- package/verify/schemas/metaschema_modules_public/tables/session_secrets_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/webauthn_auth_module/table.sql +7 -0
- package/verify/schemas/metaschema_modules_public/tables/webauthn_credentials_module/table.sql +7 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
-- Verify schemas/metaschema_modules_public/tables/billing_module/table on pg
|
|
2
|
+
|
|
3
|
+
BEGIN;
|
|
4
|
+
|
|
5
|
+
SELECT
|
|
6
|
+
id,
|
|
7
|
+
database_id,
|
|
8
|
+
schema_id,
|
|
9
|
+
private_schema_id,
|
|
10
|
+
meters_table_id,
|
|
11
|
+
meters_table_name,
|
|
12
|
+
plan_subscriptions_table_id,
|
|
13
|
+
plan_subscriptions_table_name,
|
|
14
|
+
ledger_table_id,
|
|
15
|
+
ledger_table_name,
|
|
16
|
+
balances_table_id,
|
|
17
|
+
balances_table_name,
|
|
18
|
+
record_usage_function,
|
|
19
|
+
prefix
|
|
20
|
+
FROM metaschema_modules_public.billing_module
|
|
21
|
+
WHERE FALSE;
|
|
22
|
+
|
|
23
|
+
ROLLBACK;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
-- Verify schemas/metaschema_modules_public/tables/billing_provider_module/table on pg
|
|
2
|
+
|
|
3
|
+
BEGIN;
|
|
4
|
+
|
|
5
|
+
SELECT
|
|
6
|
+
id,
|
|
7
|
+
database_id,
|
|
8
|
+
schema_id,
|
|
9
|
+
private_schema_id,
|
|
10
|
+
provider,
|
|
11
|
+
products_table_id,
|
|
12
|
+
prices_table_id,
|
|
13
|
+
subscriptions_table_id,
|
|
14
|
+
billing_customers_table_id,
|
|
15
|
+
billing_customers_table_name,
|
|
16
|
+
billing_products_table_id,
|
|
17
|
+
billing_products_table_name,
|
|
18
|
+
billing_prices_table_id,
|
|
19
|
+
billing_prices_table_name,
|
|
20
|
+
billing_subscriptions_table_id,
|
|
21
|
+
billing_subscriptions_table_name,
|
|
22
|
+
billing_webhook_events_table_id,
|
|
23
|
+
billing_webhook_events_table_name,
|
|
24
|
+
process_billing_event_function,
|
|
25
|
+
prefix
|
|
26
|
+
FROM metaschema_modules_public.billing_provider_module
|
|
27
|
+
WHERE FALSE;
|
|
28
|
+
|
|
29
|
+
ROLLBACK;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
-- Verify schemas/metaschema_modules_public/tables/plans_module/table on pg
|
|
2
|
+
|
|
3
|
+
BEGIN;
|
|
4
|
+
|
|
5
|
+
SELECT id, database_id, schema_id, private_schema_id,
|
|
6
|
+
plans_table_id, plans_table_name,
|
|
7
|
+
plan_limits_table_id, plan_limits_table_name,
|
|
8
|
+
apply_plan_function, apply_plan_aggregate_function,
|
|
9
|
+
prefix
|
|
10
|
+
FROM metaschema_modules_public.plans_module
|
|
11
|
+
WHERE FALSE;
|
|
12
|
+
|
|
13
|
+
ROLLBACK;
|
|
@@ -21,14 +21,8 @@ SELECT
|
|
|
21
21
|
create_index,
|
|
22
22
|
expose_in_api,
|
|
23
23
|
nodes,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
policy_type,
|
|
27
|
-
policy_privileges,
|
|
28
|
-
policy_role,
|
|
29
|
-
policy_permissive,
|
|
30
|
-
policy_name,
|
|
31
|
-
policy_data,
|
|
24
|
+
grants,
|
|
25
|
+
policies,
|
|
32
26
|
out_field_id,
|
|
33
27
|
out_junction_table_id,
|
|
34
28
|
out_source_field_id,
|
|
@@ -11,14 +11,8 @@ SELECT
|
|
|
11
11
|
nodes,
|
|
12
12
|
use_rls,
|
|
13
13
|
fields,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
policy_type,
|
|
17
|
-
policy_privileges,
|
|
18
|
-
policy_role,
|
|
19
|
-
policy_permissive,
|
|
20
|
-
policy_name,
|
|
21
|
-
policy_data,
|
|
14
|
+
grants,
|
|
15
|
+
policies,
|
|
22
16
|
out_fields
|
|
23
17
|
FROM metaschema_modules_public.secure_table_provision
|
|
24
18
|
WHERE FALSE;
|