diff --git a/hasura-rest/metadata/api_limits.yaml b/hasura-rest/metadata/api_limits.yaml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/hasura-rest/metadata/api_limits.yaml @@ -0,0 +1 @@ +{} diff --git a/hasura-rest/metadata/backend_configs.yaml b/hasura-rest/metadata/backend_configs.yaml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/hasura-rest/metadata/backend_configs.yaml @@ -0,0 +1 @@ +{} diff --git a/hasura-rest/metadata/databases/databases.yaml b/hasura-rest/metadata/databases/databases.yaml index 8360dbb..c18d336 100644 --- a/hasura-rest/metadata/databases/databases.yaml +++ b/hasura-rest/metadata/databases/databases.yaml @@ -4,13 +4,6 @@ connection_info: database_url: from_env: HASURA_GRAPHQL_DATABASE_URL - tables: - - table: - schema: public - name: users - insert_permissions: - - role: anonymous - permission: - check: {} - columns: - - name + isolation_level: read-committed + use_prepared_statements: false + tables: "!include default/tables/tables.yaml" diff --git a/hasura-rest/metadata/databases/default/tables/public_users.yaml b/hasura-rest/metadata/databases/default/tables/public_users.yaml new file mode 100644 index 0000000..282fcb9 --- /dev/null +++ b/hasura-rest/metadata/databases/default/tables/public_users.yaml @@ -0,0 +1,9 @@ +table: + name: users + schema: public +insert_permissions: + - role: anonymous + permission: + check: {} + columns: + - name diff --git a/hasura-rest/metadata/databases/default/tables/tables.yaml b/hasura-rest/metadata/databases/default/tables/tables.yaml new file mode 100644 index 0000000..0f402f4 --- /dev/null +++ b/hasura-rest/metadata/databases/default/tables/tables.yaml @@ -0,0 +1 @@ +- "!include public_users.yaml" diff --git a/hasura-rest/metadata/graphql_schema_introspection.yaml b/hasura-rest/metadata/graphql_schema_introspection.yaml new file mode 100644 index 0000000..61a4dca --- /dev/null +++ b/hasura-rest/metadata/graphql_schema_introspection.yaml @@ -0,0 +1 @@ +disabled_for_roles: [] diff --git a/hasura-rest/metadata/inherited_roles.yaml b/hasura-rest/metadata/inherited_roles.yaml new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/hasura-rest/metadata/inherited_roles.yaml @@ -0,0 +1 @@ +[] diff --git a/hasura-rest/metadata/metrics_config.yaml b/hasura-rest/metadata/metrics_config.yaml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/hasura-rest/metadata/metrics_config.yaml @@ -0,0 +1 @@ +{} diff --git a/hasura-rest/metadata/network.yaml b/hasura-rest/metadata/network.yaml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/hasura-rest/metadata/network.yaml @@ -0,0 +1 @@ +{} diff --git a/hasura-rest/metadata/opentelemetry.yaml b/hasura-rest/metadata/opentelemetry.yaml new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/hasura-rest/metadata/opentelemetry.yaml @@ -0,0 +1 @@ +{} diff --git a/hasura-rest/metadata/rest_endpoints.yaml b/hasura-rest/metadata/rest_endpoints.yaml new file mode 100644 index 0000000..fe51488 --- /dev/null +++ b/hasura-rest/metadata/rest_endpoints.yaml @@ -0,0 +1 @@ +[]