@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.
Files changed (91) hide show
  1. package/LICENSE +22 -0
  2. package/Makefile +6 -0
  3. package/README.md +240 -0
  4. package/deploy/schemas/metaschema_modules_public/schema.sql +16 -0
  5. package/deploy/schemas/metaschema_modules_public/tables/connected_accounts_module/table.sql +34 -0
  6. package/deploy/schemas/metaschema_modules_public/tables/crypto_addresses_module/table.sql +35 -0
  7. package/deploy/schemas/metaschema_modules_public/tables/crypto_auth_module/table.sql +41 -0
  8. package/deploy/schemas/metaschema_modules_public/tables/default_ids_module/table.sql +19 -0
  9. package/deploy/schemas/metaschema_modules_public/tables/denormalized_table_field/table.sql +41 -0
  10. package/deploy/schemas/metaschema_modules_public/tables/emails_module/table.sql +34 -0
  11. package/deploy/schemas/metaschema_modules_public/tables/encrypted_secrets_module/table.sql +29 -0
  12. package/deploy/schemas/metaschema_modules_public/tables/field_module/table.sql +37 -0
  13. package/deploy/schemas/metaschema_modules_public/tables/hierarchy_module/table.sql +79 -0
  14. package/deploy/schemas/metaschema_modules_public/tables/invites_module/table.sql +51 -0
  15. package/deploy/schemas/metaschema_modules_public/tables/levels_module/table.sql +71 -0
  16. package/deploy/schemas/metaschema_modules_public/tables/limits_module/table.sql +63 -0
  17. package/deploy/schemas/metaschema_modules_public/tables/membership_types_module/table.sql +30 -0
  18. package/deploy/schemas/metaschema_modules_public/tables/memberships_module/table.sql +120 -0
  19. package/deploy/schemas/metaschema_modules_public/tables/permissions_module/table.sql +65 -0
  20. package/deploy/schemas/metaschema_modules_public/tables/phone_numbers_module/table.sql +34 -0
  21. package/deploy/schemas/metaschema_modules_public/tables/profiles_module/table.sql +89 -0
  22. package/deploy/schemas/metaschema_modules_public/tables/rls_module/table.sql +46 -0
  23. package/deploy/schemas/metaschema_modules_public/tables/secrets_module/table.sql +28 -0
  24. package/deploy/schemas/metaschema_modules_public/tables/tokens_module/table.sql +35 -0
  25. package/deploy/schemas/metaschema_modules_public/tables/user_auth_module/table.sql +68 -0
  26. package/deploy/schemas/metaschema_modules_public/tables/users_module/table.sql +38 -0
  27. package/deploy/schemas/metaschema_modules_public/tables/uuid_module/table.sql +23 -0
  28. package/deploy/schemas/services_private/schema.sql +2 -0
  29. package/deploy/schemas/services_public/schema.sql +2 -0
  30. package/deploy/schemas/services_public/tables/apis/table.sql +3 -0
  31. package/deploy/schemas/services_public/tables/sites/table.sql +3 -0
  32. package/metaschema-modules.control +7 -0
  33. package/package.json +40 -0
  34. package/pgpm.plan +32 -0
  35. package/revert/schemas/metaschema_modules_public/schema.sql +7 -0
  36. package/revert/schemas/metaschema_modules_public/tables/connected_accounts_module/table.sql +7 -0
  37. package/revert/schemas/metaschema_modules_public/tables/crypto_addresses_module/table.sql +7 -0
  38. package/revert/schemas/metaschema_modules_public/tables/crypto_auth_module/table.sql +7 -0
  39. package/revert/schemas/metaschema_modules_public/tables/default_ids_module/table.sql +7 -0
  40. package/revert/schemas/metaschema_modules_public/tables/denormalized_table_field/table.sql +7 -0
  41. package/revert/schemas/metaschema_modules_public/tables/emails_module/table.sql +7 -0
  42. package/revert/schemas/metaschema_modules_public/tables/encrypted_secrets_module/table.sql +7 -0
  43. package/revert/schemas/metaschema_modules_public/tables/field_module/table.sql +7 -0
  44. package/revert/schemas/metaschema_modules_public/tables/hierarchy_module/table.sql +7 -0
  45. package/revert/schemas/metaschema_modules_public/tables/invites_module/table.sql +7 -0
  46. package/revert/schemas/metaschema_modules_public/tables/levels_module/table.sql +7 -0
  47. package/revert/schemas/metaschema_modules_public/tables/limits_module/table.sql +7 -0
  48. package/revert/schemas/metaschema_modules_public/tables/membership_types_module/table.sql +7 -0
  49. package/revert/schemas/metaschema_modules_public/tables/memberships_module/table.sql +7 -0
  50. package/revert/schemas/metaschema_modules_public/tables/permissions_module/table.sql +7 -0
  51. package/revert/schemas/metaschema_modules_public/tables/phone_numbers_module/table.sql +7 -0
  52. package/revert/schemas/metaschema_modules_public/tables/profiles_module/table.sql +7 -0
  53. package/revert/schemas/metaschema_modules_public/tables/rls_module/table.sql +7 -0
  54. package/revert/schemas/metaschema_modules_public/tables/secrets_module/table.sql +7 -0
  55. package/revert/schemas/metaschema_modules_public/tables/tokens_module/table.sql +7 -0
  56. package/revert/schemas/metaschema_modules_public/tables/user_auth_module/table.sql +7 -0
  57. package/revert/schemas/metaschema_modules_public/tables/users_module/table.sql +7 -0
  58. package/revert/schemas/metaschema_modules_public/tables/uuid_module/table.sql +7 -0
  59. package/revert/schemas/services_private/schema.sql +1 -0
  60. package/revert/schemas/services_public/schema.sql +1 -0
  61. package/revert/schemas/services_public/tables/apis/table.sql +1 -0
  62. package/revert/schemas/services_public/tables/sites/table.sql +1 -0
  63. package/sql/metaschema-modules--0.15.5.sql +1206 -0
  64. package/verify/schemas/metaschema_modules_public/schema.sql +7 -0
  65. package/verify/schemas/metaschema_modules_public/tables/connected_accounts_module/table.sql +7 -0
  66. package/verify/schemas/metaschema_modules_public/tables/crypto_addresses_module/table.sql +7 -0
  67. package/verify/schemas/metaschema_modules_public/tables/crypto_auth_module/table.sql +7 -0
  68. package/verify/schemas/metaschema_modules_public/tables/default_ids_module/table.sql +7 -0
  69. package/verify/schemas/metaschema_modules_public/tables/denormalized_table_field/table.sql +7 -0
  70. package/verify/schemas/metaschema_modules_public/tables/emails_module/table.sql +7 -0
  71. package/verify/schemas/metaschema_modules_public/tables/encrypted_secrets_module/table.sql +7 -0
  72. package/verify/schemas/metaschema_modules_public/tables/field_module/table.sql +7 -0
  73. package/verify/schemas/metaschema_modules_public/tables/hierarchy_module/table.sql +29 -0
  74. package/verify/schemas/metaschema_modules_public/tables/invites_module/table.sql +7 -0
  75. package/verify/schemas/metaschema_modules_public/tables/levels_module/table.sql +7 -0
  76. package/verify/schemas/metaschema_modules_public/tables/limits_module/table.sql +7 -0
  77. package/verify/schemas/metaschema_modules_public/tables/membership_types_module/table.sql +7 -0
  78. package/verify/schemas/metaschema_modules_public/tables/memberships_module/table.sql +7 -0
  79. package/verify/schemas/metaschema_modules_public/tables/permissions_module/table.sql +7 -0
  80. package/verify/schemas/metaschema_modules_public/tables/phone_numbers_module/table.sql +7 -0
  81. package/verify/schemas/metaschema_modules_public/tables/profiles_module/table.sql +14 -0
  82. package/verify/schemas/metaschema_modules_public/tables/rls_module/table.sql +7 -0
  83. package/verify/schemas/metaschema_modules_public/tables/secrets_module/table.sql +7 -0
  84. package/verify/schemas/metaschema_modules_public/tables/tokens_module/table.sql +7 -0
  85. package/verify/schemas/metaschema_modules_public/tables/user_auth_module/table.sql +7 -0
  86. package/verify/schemas/metaschema_modules_public/tables/users_module/table.sql +7 -0
  87. package/verify/schemas/metaschema_modules_public/tables/uuid_module/table.sql +7 -0
  88. package/verify/schemas/services_private/schema.sql +1 -0
  89. package/verify/schemas/services_public/schema.sql +1 -0
  90. package/verify/schemas/services_public/tables/apis/table.sql +1 -0
  91. package/verify/schemas/services_public/tables/sites/table.sql +1 -0
@@ -0,0 +1,68 @@
1
+ -- Deploy schemas/metaschema_modules_public/tables/user_auth_module/table to pg
2
+
3
+ -- requires: schemas/metaschema_modules_public/schema
4
+
5
+ BEGIN;
6
+
7
+ CREATE TABLE metaschema_modules_public.user_auth_module (
8
+ id uuid PRIMARY KEY DEFAULT uuid_generate_v4 (),
9
+ database_id uuid NOT NULL,
10
+
11
+ schema_id uuid NOT NULL DEFAULT uuid_nil(),
12
+ emails_table_id uuid NOT NULL DEFAULT uuid_nil(),
13
+ users_table_id uuid NOT NULL DEFAULT uuid_nil(),
14
+ secrets_table_id uuid NOT NULL DEFAULT uuid_nil(),
15
+ encrypted_table_id uuid NOT NULL DEFAULT uuid_nil(),
16
+ tokens_table_id uuid NOT NULL DEFAULT uuid_nil(),
17
+
18
+ audits_table_id uuid NOT NULL DEFAULT uuid_nil(),
19
+ audits_table_name text NOT NULL DEFAULT 'audit_logs',
20
+
21
+ -- api_id uuid NOT NULL REFERENCES services_public.apis (id),
22
+
23
+ sign_in_function text NOT NULL DEFAULT 'sign_in',
24
+ sign_up_function text NOT NULL DEFAULT 'sign_up',
25
+ sign_out_function text NOT NULL DEFAULT 'sign_out',
26
+ set_password_function text NOT NULL DEFAULT 'set_password',
27
+ reset_password_function text NOT NULL DEFAULT 'reset_password',
28
+ forgot_password_function text NOT NULL DEFAULT 'forgot_password',
29
+ send_verification_email_function text NOT NULL DEFAULT 'send_verification_email',
30
+ verify_email_function text NOT NULL DEFAULT 'verify_email',
31
+
32
+ verify_password_function text NOT NULL DEFAULT 'verify_password',
33
+ check_password_function text NOT NULL DEFAULT 'check_password',
34
+
35
+ send_account_deletion_email_function text NOT NULL DEFAULT 'send_account_deletion_email',
36
+ delete_account_function text NOT NULL DEFAULT 'confirm_delete_account',
37
+
38
+ sign_in_one_time_token_function text NOT NULL DEFAULT 'sign_in_one_time_token',
39
+ one_time_token_function text NOT NULL DEFAULT 'one_time_token',
40
+ extend_token_expires text NOT NULL DEFAULT 'extend_token_expires',
41
+
42
+ -- UNIQUE(api_id),
43
+
44
+ CONSTRAINT db_fkey FOREIGN KEY (database_id) REFERENCES metaschema_public.database (id) ON DELETE CASCADE,
45
+ CONSTRAINT schema_fkey FOREIGN KEY (schema_id) REFERENCES metaschema_public.schema (id) ON DELETE CASCADE,
46
+ CONSTRAINT email_table_fkey FOREIGN KEY (emails_table_id) REFERENCES metaschema_public.table (id) ON DELETE CASCADE,
47
+ CONSTRAINT users_table_fkey FOREIGN KEY (users_table_id) REFERENCES metaschema_public.table (id) ON DELETE CASCADE,
48
+ CONSTRAINT secrets_table_fkey FOREIGN KEY (secrets_table_id) REFERENCES metaschema_public.table (id) ON DELETE CASCADE,
49
+ CONSTRAINT encrypted_table_fkey FOREIGN KEY (encrypted_table_id) REFERENCES metaschema_public.table (id) ON DELETE CASCADE,
50
+ CONSTRAINT tokens_table_fkey FOREIGN KEY (tokens_table_id) REFERENCES metaschema_public.table (id) ON DELETE CASCADE
51
+ );
52
+
53
+ COMMENT ON CONSTRAINT schema_fkey ON metaschema_modules_public.user_auth_module IS E'@omit manyToMany';
54
+ COMMENT ON CONSTRAINT db_fkey ON metaschema_modules_public.user_auth_module IS E'@omit manyToMany';
55
+ CREATE INDEX user_auth_module_database_id_idx ON metaschema_modules_public.user_auth_module ( database_id );
56
+
57
+ COMMENT ON CONSTRAINT email_table_fkey
58
+ ON metaschema_modules_public.user_auth_module IS E'@omit';
59
+ COMMENT ON CONSTRAINT users_table_fkey
60
+ ON metaschema_modules_public.user_auth_module IS E'@omit';
61
+ COMMENT ON CONSTRAINT secrets_table_fkey
62
+ ON metaschema_modules_public.user_auth_module IS E'@omit';
63
+ COMMENT ON CONSTRAINT encrypted_table_fkey
64
+ ON metaschema_modules_public.user_auth_module IS E'@omit';
65
+ COMMENT ON CONSTRAINT tokens_table_fkey
66
+ ON metaschema_modules_public.user_auth_module IS E'@omit';
67
+
68
+ COMMIT;
@@ -0,0 +1,38 @@
1
+ -- Deploy schemas/metaschema_modules_public/tables/users_module/table to pg
2
+
3
+ -- requires: schemas/metaschema_modules_public/schema
4
+
5
+ BEGIN;
6
+
7
+ CREATE TABLE metaschema_modules_public.users_module (
8
+ id uuid PRIMARY KEY DEFAULT uuid_generate_v4 (),
9
+ database_id uuid NOT NULL,
10
+ --
11
+ schema_id uuid NOT NULL DEFAULT uuid_nil(),
12
+ table_id uuid NOT NULL DEFAULT uuid_nil(),
13
+ table_name text NOT NULL DEFAULT 'users',
14
+ --
15
+
16
+ --
17
+ type_table_id uuid NOT NULL DEFAULT uuid_nil(),
18
+ type_table_name text NOT NULL DEFAULT 'role_types',
19
+ --
20
+
21
+ CONSTRAINT db_fkey FOREIGN KEY (database_id) REFERENCES metaschema_public.database (id) ON DELETE CASCADE,
22
+ CONSTRAINT schema_fkey FOREIGN KEY (schema_id) REFERENCES metaschema_public.schema (id) ON DELETE CASCADE,
23
+ CONSTRAINT table_fkey FOREIGN KEY (table_id) REFERENCES metaschema_public.table (id) ON DELETE CASCADE,
24
+ CONSTRAINT type_table_fkey FOREIGN KEY (type_table_id) REFERENCES metaschema_public.table (id) ON DELETE CASCADE
25
+ );
26
+
27
+ COMMENT ON CONSTRAINT schema_fkey ON metaschema_modules_public.users_module IS E'@omit manyToMany';
28
+ COMMENT ON CONSTRAINT db_fkey ON metaschema_modules_public.users_module IS E'@omit manyToMany';
29
+ CREATE INDEX users_module_database_id_idx ON metaschema_modules_public.users_module ( database_id );
30
+
31
+ COMMENT ON CONSTRAINT table_fkey
32
+ ON metaschema_modules_public.users_module IS E'@omit manyToMany';
33
+
34
+ COMMENT ON CONSTRAINT type_table_fkey
35
+ ON metaschema_modules_public.users_module IS E'@omit manyToMany';
36
+
37
+
38
+ COMMIT;
@@ -0,0 +1,23 @@
1
+ -- Deploy schemas/metaschema_modules_public/tables/uuid_module/table to pg
2
+
3
+ -- requires: schemas/metaschema_modules_public/schema
4
+
5
+ BEGIN;
6
+
7
+ CREATE TABLE metaschema_modules_public.uuid_module (
8
+ id uuid PRIMARY KEY DEFAULT uuid_generate_v4 (),
9
+ database_id uuid NOT NULL,
10
+ --
11
+ schema_id uuid NOT NULL DEFAULT uuid_nil(),
12
+ uuid_function text NOT NULL DEFAULT 'uuid_generate_v4',
13
+ uuid_seed text NOT NULL,
14
+ --
15
+ CONSTRAINT schema_fkey FOREIGN KEY (schema_id) REFERENCES metaschema_public.schema (id) ON DELETE CASCADE,
16
+ CONSTRAINT db_fkey FOREIGN KEY (database_id) REFERENCES metaschema_public.database (id) ON DELETE CASCADE
17
+ );
18
+
19
+ COMMENT ON CONSTRAINT db_fkey ON metaschema_modules_public.uuid_module IS E'@omit manyToMany';
20
+ COMMENT ON CONSTRAINT schema_fkey ON metaschema_modules_public.uuid_module IS E'@omit manyToMany';
21
+ CREATE INDEX uuid_module_database_id_idx ON metaschema_modules_public.uuid_module ( database_id );
22
+
23
+ COMMIT;
@@ -0,0 +1,2 @@
1
+ -- Deploy schemas/services_private/schema to pg
2
+
@@ -0,0 +1,2 @@
1
+ -- Deploy schemas/services_public/schema to pg
2
+
@@ -0,0 +1,3 @@
1
+ -- Deploy schemas/services_public/tables/apis/table to pg
2
+
3
+ -- requires: schemas/services_public/schema
@@ -0,0 +1,3 @@
1
+ -- Deploy schemas/services_public/tables/sites/table to pg
2
+
3
+ -- requires: schemas/services_public/schema
@@ -0,0 +1,7 @@
1
+ # metaschema-modules extension
2
+ comment = 'metaschema-modules extension'
3
+ default_version = '0.15.5'
4
+ module_pathname = '$libdir/metaschema-modules'
5
+ requires = 'plpgsql,metaschema-schema,services,pgpm-verify'
6
+ relocatable = false
7
+ superuser = false
package/package.json ADDED
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "@pgpm/metaschema-modules",
3
+ "version": "0.16.0",
4
+ "description": "Module metadata handling and dependency tracking",
5
+ "author": "Dan Lynch <pyramation@gmail.com>",
6
+ "contributors": [
7
+ "Constructive <developers@constructive.io>"
8
+ ],
9
+ "keywords": [
10
+ "postgresql",
11
+ "pgpm",
12
+ "metadata",
13
+ "modules"
14
+ ],
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
18
+ "scripts": {
19
+ "bundle": "pgpm package",
20
+ "test": "jest",
21
+ "test:watch": "jest --watch"
22
+ },
23
+ "dependencies": {
24
+ "@pgpm/metaschema-schema": "0.16.0",
25
+ "@pgpm/services": "0.16.0",
26
+ "@pgpm/verify": "0.16.0"
27
+ },
28
+ "devDependencies": {
29
+ "pgpm": "^1.3.0"
30
+ },
31
+ "repository": {
32
+ "type": "git",
33
+ "url": "https://github.com/constructive-io/pgpm-modules"
34
+ },
35
+ "homepage": "https://github.com/constructive-io/pgpm-modules",
36
+ "bugs": {
37
+ "url": "https://github.com/constructive-io/pgpm-modules/issues"
38
+ },
39
+ "gitHead": "3b2260bf7640d7194f237d556c7e5033bc7a9405"
40
+ }
package/pgpm.plan ADDED
@@ -0,0 +1,32 @@
1
+ %syntax-version=1.0.0
2
+ %project=metaschema-modules
3
+ %uri=metaschema-modules
4
+
5
+ schemas/services_private/schema [services:schemas/services_public/tables/site_themes/table] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/services_private/schema
6
+ schemas/services_public/schema 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/services_public/schema
7
+ schemas/metaschema_modules_public/schema 2026-01-04T08:28:00Z devin <devin@cognition.ai> # add schemas/metaschema_modules_public/schema
8
+ schemas/services_public/tables/apis/table [schemas/services_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/services_public/tables/apis/table
9
+ schemas/metaschema_modules_public/tables/connected_accounts_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/connected_accounts_module/table
10
+ schemas/metaschema_modules_public/tables/crypto_addresses_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/crypto_addresses_module/table
11
+ schemas/metaschema_modules_public/tables/crypto_auth_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/crypto_auth_module/table
12
+ schemas/metaschema_modules_public/tables/default_ids_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/default_ids_module/table
13
+ schemas/metaschema_modules_public/tables/denormalized_table_field/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/denormalized_table_field/table
14
+ schemas/metaschema_modules_public/tables/emails_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/emails_module/table
15
+ schemas/metaschema_modules_public/tables/encrypted_secrets_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/encrypted_secrets_module/table
16
+ schemas/metaschema_modules_public/tables/field_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/field_module/table
17
+ schemas/metaschema_modules_public/tables/invites_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/invites_module/table
18
+ schemas/metaschema_modules_public/tables/levels_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/levels_module/table
19
+ schemas/metaschema_modules_public/tables/limits_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/limits_module/table
20
+ schemas/metaschema_modules_public/tables/membership_types_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/membership_types_module/table
21
+ schemas/metaschema_modules_public/tables/memberships_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/memberships_module/table
22
+ schemas/metaschema_modules_public/tables/permissions_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/permissions_module/table
23
+ schemas/metaschema_modules_public/tables/phone_numbers_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/phone_numbers_module/table
24
+ schemas/metaschema_modules_public/tables/profiles_module/table [schemas/metaschema_modules_public/schema] 2026-01-01T00:00:00Z devin <devin@cognition.ai> # add schemas/metaschema_modules_public/tables/profiles_module/table
25
+ schemas/metaschema_modules_public/tables/rls_module/table [schemas/metaschema_modules_public/schema schemas/services_public/tables/apis/table] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/rls_module/table
26
+ schemas/metaschema_modules_public/tables/secrets_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/secrets_module/table
27
+ schemas/services_public/tables/sites/table [schemas/services_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/services_public/tables/sites/table
28
+ schemas/metaschema_modules_public/tables/tokens_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/tokens_module/table
29
+ schemas/metaschema_modules_public/tables/user_auth_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/user_auth_module/table
30
+ schemas/metaschema_modules_public/tables/users_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/users_module/table
31
+ schemas/metaschema_modules_public/tables/uuid_module/table [schemas/metaschema_modules_public/schema] 2017-08-11T08:11:51Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/uuid_module/table
32
+ schemas/metaschema_modules_public/tables/hierarchy_module/table [schemas/metaschema_modules_public/schema] 2024-12-28T00:00:00Z skitch <skitch@5b0c196eeb62> # add schemas/metaschema_modules_public/tables/hierarchy_module/table
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/schema from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP SCHEMA metaschema_modules_public;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/connected_accounts_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.connected_accounts_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/crypto_addresses_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.crypto_addresses_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/crypto_auth_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.crypto_auth_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/default_ids_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.default_ids_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/denormalized_table_field/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.denormalized_table_field;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/emails_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.emails_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/encrypted_secrets_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.encrypted_secrets_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/field_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.field_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/hierarchy_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE IF EXISTS metaschema_modules_public.hierarchy_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/invites_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.invites_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/levels_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.levels_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/limits_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.limits_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/membership_types_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.membership_types_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/memberships_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.memberships_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/permissions_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.permissions_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/phone_numbers_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.phone_numbers_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/profiles_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE IF EXISTS metaschema_modules_public.profiles_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/rls_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.rls_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/secrets_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.secrets_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/tokens_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.tokens_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/user_auth_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.user_auth_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/users_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.users_module;
6
+
7
+ COMMIT;
@@ -0,0 +1,7 @@
1
+ -- Revert schemas/metaschema_modules_public/tables/uuid_module/table from pg
2
+
3
+ BEGIN;
4
+
5
+ DROP TABLE metaschema_modules_public.uuid_module;
6
+
7
+ COMMIT;
@@ -0,0 +1 @@
1
+ -- Revert schemas/services_private/schema from pg
@@ -0,0 +1 @@
1
+ -- Revert schemas/services_public/schema from pg
@@ -0,0 +1 @@
1
+ -- Revert schemas/services_public/tables/apis/table from pg
@@ -0,0 +1 @@
1
+ -- Revert schemas/services_public/tables/sites/table from pg