From c0ff2d9defc3126b19aa0d938f0fe90ccd58ddd8 Mon Sep 17 00:00:00 2001 From: giginet Date: Wed, 10 Jan 2024 00:13:11 +0900 Subject: [PATCH 01/11] Add missing move names --- data/v2/csv/move_names.csv | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/data/v2/csv/move_names.csv b/data/v2/csv/move_names.csv index 538b4abf..f2dfc170 100644 --- a/data/v2/csv/move_names.csv +++ b/data/v2/csv/move_names.csv @@ -8499,10 +8499,26 @@ move_id,local_language_id,name 874,8,Corsa all'Oro 874,9,Make It Rain 874,11,ゴールドラッシュ -875,8,Botta +875,1,サイコブレイド +875,3,사이코블레이드 +875,4,精神劍 +875,5,Lame Psychique +875,6,Psychoschneide +875,7,Psicohojas +875,8,Psicolama 875,9,Psyblade -876,8,Botta +875,11,サイコブレイド +875,12,精神剑 +876,1,ハイドロスチーム +876,3,하이드로스팀 +876,4,水蒸氣 +876,5,Hydrovapeur +876,6,Hydrodampf +876,7,Hidrovapor +876,8,Idrovapore 876,9,Hydro Steam +876,11,ハイドロスチーム +876,12,水蒸气 877,1,カタストロフィ 877,4,大灾难 877,8,Catastrofe From 5b77affd4bf892ec77185f021b9806a275812bf8 Mon Sep 17 00:00:00 2001 From: Naramsim Date: Tue, 9 Jan 2024 20:46:53 +0100 Subject: [PATCH 02/11] deps: upgrade images --- docker-compose.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index abb9ffaa..7b53f7c7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,13 +1,13 @@ version: '2.4' services: cache: - image: redis:7.0.7-alpine + image: redis:7.2.3-alpine volumes: - redis_data:/data restart: always db: - image: postgres:15.1 + image: postgres:16.1 environment: POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-pokemon} POSTGRES_USER: ${POSTGRES_USER:-ash} @@ -33,7 +33,7 @@ services: restart: always web: - image: nginx:1.23.3-alpine + image: nginx:1.25.3-alpine ports: - "80:80" - "443:443" @@ -44,7 +44,7 @@ services: - ./Resources/nginx/ssl:/ssl:ro - graphql_cache:/tmp/cache graphql-engine: - image: hasura/graphql-engine:v2.16.1 + image: hasura/graphql-engine:v2.36.1-ce ports: - "8080:8080" depends_on: From 9ad71c707b7257cdf6b5c889cf8e3906da605ebd Mon Sep 17 00:00:00 2001 From: Naramsim Date: Tue, 9 Jan 2024 20:47:47 +0100 Subject: [PATCH 03/11] chore: switch to compose V2 in gql/build image in gql --- Makefile | 18 ++++++++++++------ .../compose/docker-compose-prod-graphql.yml | 4 +++- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 61964bc9..a43194e1 100755 --- a/Makefile +++ b/Makefile @@ -128,17 +128,23 @@ k8s-delete: # (k8s) Delete pokeapi namespace start-graphql-prod: git pull origin master git submodule update --init - docker-compose -f docker-compose.yml -f docker-compose.override.yml -f Resources/compose/docker-compose-prod-graphql.yml up -d + docker compose -f docker-compose.yml -f Resources/compose/docker-compose-prod-graphql.yml up -d + docker compose stop app + +down-graphql-prod: + docker container rm $(docker container ls -aq) -f + docker system prune --all --volumes --force + sync; echo 3 > /proc/sys/vm/drop_caches update-graphql-data-prod: git pull origin master git submodule update --init - docker stop pokeapi_graphql-engine_1 + docker compose stop graphql-engine sync; echo 3 > /proc/sys/vm/drop_caches - docker-compose -f docker-compose.yml -f docker-compose.override.yml -f Resources/compose/docker-compose-prod-graphql.yml up -d app + docker compose -f docker-compose.yml -f Resources/compose/docker-compose-prod-graphql.yml up -d app make docker-migrate make docker-build-db - docker stop pokeapi_app_1 + docker compose stop app sync; echo 3 > /proc/sys/vm/drop_caches - docker exec pokeapi_web_1 sh -c 'rm -rf /tmp/cache/*' - docker start pokeapi_graphql-engine_1 + docker compose exec -T web sh -c 'rm -rf /tmp/cache/*' + docker compose start graphql-engine diff --git a/Resources/compose/docker-compose-prod-graphql.yml b/Resources/compose/docker-compose-prod-graphql.yml index 66b7c498..df28cfb0 100644 --- a/Resources/compose/docker-compose-prod-graphql.yml +++ b/Resources/compose/docker-compose-prod-graphql.yml @@ -9,7 +9,9 @@ services: POSTGRES_USER: "${POSTGRES_USER}" app: - image: pokeapi/pokeapi:master + build: + context: . + dockerfile: ./Resources/docker/app/Dockerfile env_file: .env restart: "no" From b211af4ce98a98c2b466e3575859c9a29eda1675 Mon Sep 17 00:00:00 2001 From: Naramsim Date: Tue, 9 Jan 2024 20:48:28 +0100 Subject: [PATCH 04/11] chore: include cache conf --- Resources/nginx/nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/Resources/nginx/nginx.conf b/Resources/nginx/nginx.conf index f791b7df..19797b04 100644 --- a/Resources/nginx/nginx.conf +++ b/Resources/nginx/nginx.conf @@ -89,6 +89,7 @@ http { } location /graphql/v1beta { + include /ssl/cache.conf*; # proxy_cache small; # proxy_cache_valid 200 10d; # proxy_cache_valid any 0; From c991adfd8200f4b54371fe73067d545a04befb0b Mon Sep 17 00:00:00 2001 From: Naramsim Date: Tue, 9 Jan 2024 21:12:46 +0100 Subject: [PATCH 05/11] chore: use image --- Resources/compose/docker-compose-prod-graphql.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Resources/compose/docker-compose-prod-graphql.yml b/Resources/compose/docker-compose-prod-graphql.yml index df28cfb0..66b7c498 100644 --- a/Resources/compose/docker-compose-prod-graphql.yml +++ b/Resources/compose/docker-compose-prod-graphql.yml @@ -9,9 +9,7 @@ services: POSTGRES_USER: "${POSTGRES_USER}" app: - build: - context: . - dockerfile: ./Resources/docker/app/Dockerfile + image: pokeapi/pokeapi:master env_file: .env restart: "no" From 5643c7e8ab79c2f47d8489c51bf27b2b1f47dd75 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 9 Jan 2024 22:16:33 +0000 Subject: [PATCH 06/11] chore: update gql schema --- graphql/metadata/api_limits.yaml | 1 + graphql/metadata/backend_configs.yaml | 1 + .../tables/public_pokemon_v2_ability.yaml | 102 +-- .../public_pokemon_v2_abilitychange.yaml | 38 +- ...ic_pokemon_v2_abilitychangeeffecttext.yaml | 24 +- .../public_pokemon_v2_abilityeffecttext.yaml | 24 +- .../public_pokemon_v2_abilityflavortext.yaml | 30 +- .../tables/public_pokemon_v2_abilityname.yaml | 24 +- .../tables/public_pokemon_v2_berry.yaml | 44 +- .../public_pokemon_v2_berryfirmness.yaml | 40 +- .../public_pokemon_v2_berryfirmnessname.yaml | 24 +- .../tables/public_pokemon_v2_berryflavor.yaml | 74 +- .../public_pokemon_v2_berryflavormap.yaml | 24 +- .../public_pokemon_v2_berryflavorname.yaml | 24 +- .../public_pokemon_v2_characteristic.yaml | 32 +- ..._pokemon_v2_characteristicdescription.yaml | 24 +- .../public_pokemon_v2_contestcombo.yaml | 24 +- .../public_pokemon_v2_contesteffect.yaml | 54 +- ...ic_pokemon_v2_contesteffecteffecttext.yaml | 24 +- ...ic_pokemon_v2_contesteffectflavortext.yaml | 24 +- .../tables/public_pokemon_v2_contesttype.yaml | 62 +- .../public_pokemon_v2_contesttypename.yaml | 24 +- .../tables/public_pokemon_v2_egggroup.yaml | 40 +- .../public_pokemon_v2_egggroupname.yaml | 24 +- .../tables/public_pokemon_v2_encounter.yaml | 50 +- .../public_pokemon_v2_encountercondition.yaml | 40 +- ...lic_pokemon_v2_encounterconditionname.yaml | 24 +- ...ic_pokemon_v2_encounterconditionvalue.yaml | 46 +- ...pokemon_v2_encounterconditionvaluemap.yaml | 24 +- ...okemon_v2_encounterconditionvaluename.yaml | 24 +- .../public_pokemon_v2_encountermethod.yaml | 54 +- ...public_pokemon_v2_encountermethodname.yaml | 24 +- .../public_pokemon_v2_encounterslot.yaml | 38 +- .../public_pokemon_v2_evolutionchain.yaml | 32 +- .../public_pokemon_v2_evolutiontrigger.yaml | 40 +- ...ublic_pokemon_v2_evolutiontriggername.yaml | 24 +- .../tables/public_pokemon_v2_experience.yaml | 18 +- .../tables/public_pokemon_v2_gender.yaml | 26 +- .../tables/public_pokemon_v2_generation.yaml | 200 ++-- .../public_pokemon_v2_generationname.yaml | 24 +- .../tables/public_pokemon_v2_growthrate.yaml | 68 +- ...blic_pokemon_v2_growthratedescription.yaml | 24 +- .../tables/public_pokemon_v2_item.yaml | 192 ++-- .../public_pokemon_v2_itemattribute.yaml | 54 +- ...c_pokemon_v2_itemattributedescription.yaml | 24 +- .../public_pokemon_v2_itemattributemap.yaml | 24 +- .../public_pokemon_v2_itemattributename.yaml | 24 +- .../public_pokemon_v2_itemcategory.yaml | 46 +- .../public_pokemon_v2_itemcategoryname.yaml | 24 +- .../public_pokemon_v2_itemeffecttext.yaml | 24 +- .../public_pokemon_v2_itemflavortext.yaml | 30 +- .../public_pokemon_v2_itemflingeffect.yaml | 40 +- ..._pokemon_v2_itemflingeffecteffecttext.yaml | 24 +- .../public_pokemon_v2_itemgameindex.yaml | 24 +- .../tables/public_pokemon_v2_itemname.yaml | 24 +- .../tables/public_pokemon_v2_itempocket.yaml | 40 +- .../public_pokemon_v2_itempocketname.yaml | 24 +- .../tables/public_pokemon_v2_itemsprites.yaml | 18 +- .../tables/public_pokemon_v2_language.yaml | 866 +++++++++--------- .../public_pokemon_v2_languagename.yaml | 24 +- .../tables/public_pokemon_v2_location.yaml | 74 +- .../public_pokemon_v2_locationarea.yaml | 60 +- ..._pokemon_v2_locationareaencounterrate.yaml | 30 +- .../public_pokemon_v2_locationareaname.yaml | 24 +- .../public_pokemon_v2_locationgameindex.yaml | 24 +- .../public_pokemon_v2_locationname.yaml | 24 +- .../tables/public_pokemon_v2_machine.yaml | 36 +- .../tables/public_pokemon_v2_move.yaml | 256 +++--- .../public_pokemon_v2_moveattribute.yaml | 54 +- ...c_pokemon_v2_moveattributedescription.yaml | 24 +- .../public_pokemon_v2_moveattributemap.yaml | 24 +- .../public_pokemon_v2_moveattributename.yaml | 24 +- .../public_pokemon_v2_movebattlestyle.yaml | 40 +- ...public_pokemon_v2_movebattlestylename.yaml | 24 +- .../tables/public_pokemon_v2_movechange.yaml | 36 +- .../public_pokemon_v2_movedamageclass.yaml | 82 +- ...pokemon_v2_movedamageclassdescription.yaml | 24 +- ...public_pokemon_v2_movedamageclassname.yaml | 24 +- .../tables/public_pokemon_v2_moveeffect.yaml | 68 +- .../public_pokemon_v2_moveeffectchange.yaml | 38 +- ...pokemon_v2_moveeffectchangeeffecttext.yaml | 24 +- ...ublic_pokemon_v2_moveeffecteffecttext.yaml | 24 +- .../public_pokemon_v2_moveflavortext.yaml | 30 +- .../public_pokemon_v2_movelearnmethod.yaml | 68 +- ...pokemon_v2_movelearnmethoddescription.yaml | 24 +- ...public_pokemon_v2_movelearnmethodname.yaml | 24 +- .../tables/public_pokemon_v2_movemeta.yaml | 30 +- .../public_pokemon_v2_movemetaailment.yaml | 40 +- ...public_pokemon_v2_movemetaailmentname.yaml | 24 +- .../public_pokemon_v2_movemetacategory.yaml | 40 +- ...okemon_v2_movemetacategorydescription.yaml | 24 +- .../public_pokemon_v2_movemetastatchange.yaml | 24 +- .../tables/public_pokemon_v2_movename.yaml | 24 +- .../tables/public_pokemon_v2_movetarget.yaml | 54 +- ...blic_pokemon_v2_movetargetdescription.yaml | 24 +- .../public_pokemon_v2_movetargetname.yaml | 24 +- .../tables/public_pokemon_v2_nature.yaml | 78 +- ...okemon_v2_naturebattlestylepreference.yaml | 24 +- .../tables/public_pokemon_v2_naturename.yaml | 24 +- ...ublic_pokemon_v2_naturepokeathlonstat.yaml | 24 +- .../tables/public_pokemon_v2_palpark.yaml | 24 +- .../tables/public_pokemon_v2_palparkarea.yaml | 40 +- .../public_pokemon_v2_palparkareaname.yaml | 24 +- .../public_pokemon_v2_pokeathlonstat.yaml | 40 +- .../public_pokemon_v2_pokeathlonstatname.yaml | 24 +- .../tables/public_pokemon_v2_pokedex.yaml | 74 +- .../public_pokemon_v2_pokedexdescription.yaml | 24 +- .../tables/public_pokemon_v2_pokedexname.yaml | 24 +- ...public_pokemon_v2_pokedexversiongroup.yaml | 24 +- .../tables/public_pokemon_v2_pokemon.yaml | 172 ++-- .../public_pokemon_v2_pokemonability.yaml | 24 +- .../public_pokemon_v2_pokemonabilitypast.yaml | 18 +- .../public_pokemon_v2_pokemoncolor.yaml | 40 +- .../public_pokemon_v2_pokemoncolorname.yaml | 24 +- .../public_pokemon_v2_pokemondexnumber.yaml | 24 +- .../public_pokemon_v2_pokemonegggroup.yaml | 24 +- .../public_pokemon_v2_pokemonevolution.yaml | 78 +- .../tables/public_pokemon_v2_pokemonform.yaml | 80 +- ...blic_pokemon_v2_pokemonformgeneration.yaml | 24 +- .../public_pokemon_v2_pokemonformname.yaml | 24 +- .../public_pokemon_v2_pokemonformsprites.yaml | 18 +- .../public_pokemon_v2_pokemonformtype.yaml | 24 +- .../public_pokemon_v2_pokemongameindex.yaml | 24 +- .../public_pokemon_v2_pokemonhabitat.yaml | 40 +- .../public_pokemon_v2_pokemonhabitatname.yaml | 24 +- .../tables/public_pokemon_v2_pokemonitem.yaml | 30 +- .../tables/public_pokemon_v2_pokemonmove.yaml | 36 +- .../public_pokemon_v2_pokemonshape.yaml | 40 +- .../public_pokemon_v2_pokemonshapename.yaml | 24 +- .../public_pokemon_v2_pokemonspecies.yaml | 208 ++--- ..._pokemon_v2_pokemonspeciesdescription.yaml | 24 +- ...c_pokemon_v2_pokemonspeciesflavortext.yaml | 30 +- .../public_pokemon_v2_pokemonspeciesname.yaml | 24 +- .../public_pokemon_v2_pokemonsprites.yaml | 18 +- .../tables/public_pokemon_v2_pokemonstat.yaml | 24 +- .../tables/public_pokemon_v2_pokemontype.yaml | 24 +- .../public_pokemon_v2_pokemontypepast.yaml | 30 +- .../tables/public_pokemon_v2_region.yaml | 90 +- .../tables/public_pokemon_v2_regionname.yaml | 24 +- .../tables/public_pokemon_v2_stat.yaml | 102 +-- .../tables/public_pokemon_v2_statname.yaml | 24 +- .../public_pokemon_v2_supercontestcombo.yaml | 24 +- .../public_pokemon_v2_supercontesteffect.yaml | 40 +- ...kemon_v2_supercontesteffectflavortext.yaml | 24 +- .../tables/public_pokemon_v2_type.yaml | 220 ++--- .../public_pokemon_v2_typeefficacy.yaml | 24 +- .../public_pokemon_v2_typeefficacypast.yaml | 18 +- .../public_pokemon_v2_typegameindex.yaml | 24 +- .../tables/public_pokemon_v2_typename.yaml | 24 +- .../tables/public_pokemon_v2_version.yaml | 102 +-- .../public_pokemon_v2_versiongroup.yaml | 214 ++--- ...okemon_v2_versiongroupmovelearnmethod.yaml | 24 +- .../public_pokemon_v2_versiongroupregion.yaml | 24 +- .../tables/public_pokemon_v2_versionname.yaml | 24 +- .../graphql_schema_introspection.yaml | 1 + graphql/metadata/metrics_config.yaml | 1 + graphql/metadata/network.yaml | 1 + graphql/metadata/opentelemetry.yaml | 1 + 158 files changed, 3639 insertions(+), 3617 deletions(-) create mode 100644 graphql/metadata/api_limits.yaml create mode 100644 graphql/metadata/backend_configs.yaml create mode 100644 graphql/metadata/graphql_schema_introspection.yaml create mode 100644 graphql/metadata/metrics_config.yaml create mode 100644 graphql/metadata/network.yaml create mode 100644 graphql/metadata/opentelemetry.yaml diff --git a/graphql/metadata/api_limits.yaml b/graphql/metadata/api_limits.yaml new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/graphql/metadata/api_limits.yaml @@ -0,0 +1 @@ +{} diff --git a/graphql/metadata/backend_configs.yaml b/graphql/metadata/backend_configs.yaml new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/graphql/metadata/backend_configs.yaml @@ -0,0 +1 @@ +{} diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_ability.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_ability.yaml index 4f5e88e2..64434e0f 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_ability.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_ability.yaml @@ -2,56 +2,56 @@ table: name: pokemon_v2_ability schema: public object_relationships: -- name: pokemon_v2_generation - using: - foreign_key_constraint_on: generation_id + - name: pokemon_v2_generation + using: + foreign_key_constraint_on: generation_id array_relationships: -- name: pokemon_v2_abilitychanges - using: - foreign_key_constraint_on: - column: ability_id - table: - name: pokemon_v2_abilitychange - schema: public -- name: pokemon_v2_abilityeffecttexts - using: - foreign_key_constraint_on: - column: ability_id - table: - name: pokemon_v2_abilityeffecttext - schema: public -- name: pokemon_v2_abilityflavortexts - using: - foreign_key_constraint_on: - column: ability_id - table: - name: pokemon_v2_abilityflavortext - schema: public -- name: pokemon_v2_abilitynames - using: - foreign_key_constraint_on: - column: ability_id - table: - name: pokemon_v2_abilityname - schema: public -- name: pokemon_v2_pokemonabilities - using: - foreign_key_constraint_on: - column: ability_id - table: - name: pokemon_v2_pokemonability - schema: public -- name: pokemon_v2_pokemonabilitypasts - using: - foreign_key_constraint_on: - column: ability_id - table: - name: pokemon_v2_pokemonabilitypast - schema: public + - name: pokemon_v2_abilitychanges + using: + foreign_key_constraint_on: + column: ability_id + table: + name: pokemon_v2_abilitychange + schema: public + - name: pokemon_v2_abilityeffecttexts + using: + foreign_key_constraint_on: + column: ability_id + table: + name: pokemon_v2_abilityeffecttext + schema: public + - name: pokemon_v2_abilityflavortexts + using: + foreign_key_constraint_on: + column: ability_id + table: + name: pokemon_v2_abilityflavortext + schema: public + - name: pokemon_v2_abilitynames + using: + foreign_key_constraint_on: + column: ability_id + table: + name: pokemon_v2_abilityname + schema: public + - name: pokemon_v2_pokemonabilities + using: + foreign_key_constraint_on: + column: ability_id + table: + name: pokemon_v2_pokemonability + schema: public + - name: pokemon_v2_pokemonabilitypasts + using: + foreign_key_constraint_on: + column: ability_id + table: + name: pokemon_v2_pokemonabilitypast + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_abilitychange.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_abilitychange.yaml index 0e5bd4ca..61675612 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_abilitychange.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_abilitychange.yaml @@ -2,24 +2,24 @@ table: name: pokemon_v2_abilitychange schema: public object_relationships: -- name: pokemon_v2_ability - using: - foreign_key_constraint_on: ability_id -- name: pokemon_v2_versiongroup - using: - foreign_key_constraint_on: version_group_id + - name: pokemon_v2_ability + using: + foreign_key_constraint_on: ability_id + - name: pokemon_v2_versiongroup + using: + foreign_key_constraint_on: version_group_id array_relationships: -- name: pokemon_v2_abilitychangeeffecttexts - using: - foreign_key_constraint_on: - column: ability_change_id - table: - name: pokemon_v2_abilitychangeeffecttext - schema: public + - name: pokemon_v2_abilitychangeeffecttexts + using: + foreign_key_constraint_on: + column: ability_change_id + table: + name: pokemon_v2_abilitychangeeffecttext + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_abilitychangeeffecttext.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_abilitychangeeffecttext.yaml index cff12f9c..7469bb25 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_abilitychangeeffecttext.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_abilitychangeeffecttext.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_abilitychangeeffecttext schema: public object_relationships: -- name: pokemon_v2_abilitychange - using: - foreign_key_constraint_on: ability_change_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_abilitychange + using: + foreign_key_constraint_on: ability_change_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_abilityeffecttext.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_abilityeffecttext.yaml index 69b16225..af406ea6 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_abilityeffecttext.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_abilityeffecttext.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_abilityeffecttext schema: public object_relationships: -- name: pokemon_v2_ability - using: - foreign_key_constraint_on: ability_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_ability + using: + foreign_key_constraint_on: ability_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_abilityflavortext.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_abilityflavortext.yaml index ddf75a46..c287a9e1 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_abilityflavortext.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_abilityflavortext.yaml @@ -2,19 +2,19 @@ table: name: pokemon_v2_abilityflavortext schema: public object_relationships: -- name: pokemon_v2_ability - using: - foreign_key_constraint_on: ability_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_versiongroup - using: - foreign_key_constraint_on: version_group_id + - name: pokemon_v2_ability + using: + foreign_key_constraint_on: ability_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_versiongroup + using: + foreign_key_constraint_on: version_group_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_abilityname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_abilityname.yaml index 12ff4e7e..af059f05 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_abilityname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_abilityname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_abilityname schema: public object_relationships: -- name: pokemon_v2_ability - using: - foreign_key_constraint_on: ability_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_ability + using: + foreign_key_constraint_on: ability_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_berry.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_berry.yaml index 639c80f7..895d659f 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_berry.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_berry.yaml @@ -2,27 +2,27 @@ table: name: pokemon_v2_berry schema: public object_relationships: -- name: pokemon_v2_berryfirmness - using: - foreign_key_constraint_on: berry_firmness_id -- name: pokemon_v2_item - using: - foreign_key_constraint_on: item_id -- name: pokemon_v2_type - using: - foreign_key_constraint_on: natural_gift_type_id + - name: pokemon_v2_berryfirmness + using: + foreign_key_constraint_on: berry_firmness_id + - name: pokemon_v2_item + using: + foreign_key_constraint_on: item_id + - name: pokemon_v2_type + using: + foreign_key_constraint_on: natural_gift_type_id array_relationships: -- name: pokemon_v2_berryflavormaps - using: - foreign_key_constraint_on: - column: berry_id - table: - name: pokemon_v2_berryflavormap - schema: public + - name: pokemon_v2_berryflavormaps + using: + foreign_key_constraint_on: + column: berry_id + table: + name: pokemon_v2_berryflavormap + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_berryfirmness.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_berryfirmness.yaml index bcfcc9b6..7d2c2908 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_berryfirmness.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_berryfirmness.yaml @@ -2,24 +2,24 @@ table: name: pokemon_v2_berryfirmness schema: public array_relationships: -- name: pokemon_v2_berries - using: - foreign_key_constraint_on: - column: berry_firmness_id - table: - name: pokemon_v2_berry - schema: public -- name: pokemon_v2_berryfirmnessnames - using: - foreign_key_constraint_on: - column: berry_firmness_id - table: - name: pokemon_v2_berryfirmnessname - schema: public + - name: pokemon_v2_berries + using: + foreign_key_constraint_on: + column: berry_firmness_id + table: + name: pokemon_v2_berry + schema: public + - name: pokemon_v2_berryfirmnessnames + using: + foreign_key_constraint_on: + column: berry_firmness_id + table: + name: pokemon_v2_berryfirmnessname + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_berryfirmnessname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_berryfirmnessname.yaml index 9ca8dede..35be8443 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_berryfirmnessname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_berryfirmnessname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_berryfirmnessname schema: public object_relationships: -- name: pokemon_v2_berryfirmness - using: - foreign_key_constraint_on: berry_firmness_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_berryfirmness + using: + foreign_key_constraint_on: berry_firmness_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_berryflavor.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_berryflavor.yaml index 452a2270..c21d639e 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_berryflavor.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_berryflavor.yaml @@ -2,42 +2,42 @@ table: name: pokemon_v2_berryflavor schema: public object_relationships: -- name: pokemon_v2_contesttype - using: - foreign_key_constraint_on: contest_type_id + - name: pokemon_v2_contesttype + using: + foreign_key_constraint_on: contest_type_id array_relationships: -- name: pokemonV2NaturesByLikesFlavorId - using: - foreign_key_constraint_on: - column: likes_flavor_id - table: - name: pokemon_v2_nature - schema: public -- name: pokemon_v2_berryflavormaps - using: - foreign_key_constraint_on: - column: berry_flavor_id - table: - name: pokemon_v2_berryflavormap - schema: public -- name: pokemon_v2_berryflavornames - using: - foreign_key_constraint_on: - column: berry_flavor_id - table: - name: pokemon_v2_berryflavorname - schema: public -- name: pokemon_v2_natures - using: - foreign_key_constraint_on: - column: hates_flavor_id - table: - name: pokemon_v2_nature - schema: public + - name: pokemonV2NaturesByLikesFlavorId + using: + foreign_key_constraint_on: + column: likes_flavor_id + table: + name: pokemon_v2_nature + schema: public + - name: pokemon_v2_berryflavormaps + using: + foreign_key_constraint_on: + column: berry_flavor_id + table: + name: pokemon_v2_berryflavormap + schema: public + - name: pokemon_v2_berryflavornames + using: + foreign_key_constraint_on: + column: berry_flavor_id + table: + name: pokemon_v2_berryflavorname + schema: public + - name: pokemon_v2_natures + using: + foreign_key_constraint_on: + column: hates_flavor_id + table: + name: pokemon_v2_nature + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_berryflavormap.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_berryflavormap.yaml index 291d1fdb..4aea4c93 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_berryflavormap.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_berryflavormap.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_berryflavormap schema: public object_relationships: -- name: pokemon_v2_berry - using: - foreign_key_constraint_on: berry_id -- name: pokemon_v2_berryflavor - using: - foreign_key_constraint_on: berry_flavor_id + - name: pokemon_v2_berry + using: + foreign_key_constraint_on: berry_id + - name: pokemon_v2_berryflavor + using: + foreign_key_constraint_on: berry_flavor_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_berryflavorname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_berryflavorname.yaml index 415319d5..825ff9e6 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_berryflavorname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_berryflavorname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_berryflavorname schema: public object_relationships: -- name: pokemon_v2_berryflavor - using: - foreign_key_constraint_on: berry_flavor_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_berryflavor + using: + foreign_key_constraint_on: berry_flavor_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_characteristic.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_characteristic.yaml index 56a68dc6..811aad1e 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_characteristic.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_characteristic.yaml @@ -2,21 +2,21 @@ table: name: pokemon_v2_characteristic schema: public object_relationships: -- name: pokemon_v2_stat - using: - foreign_key_constraint_on: stat_id + - name: pokemon_v2_stat + using: + foreign_key_constraint_on: stat_id array_relationships: -- name: pokemon_v2_characteristicdescriptions - using: - foreign_key_constraint_on: - column: characteristic_id - table: - name: pokemon_v2_characteristicdescription - schema: public + - name: pokemon_v2_characteristicdescriptions + using: + foreign_key_constraint_on: + column: characteristic_id + table: + name: pokemon_v2_characteristicdescription + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_characteristicdescription.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_characteristicdescription.yaml index 7dd743a2..627f29f2 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_characteristicdescription.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_characteristicdescription.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_characteristicdescription schema: public object_relationships: -- name: pokemon_v2_characteristic - using: - foreign_key_constraint_on: characteristic_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_characteristic + using: + foreign_key_constraint_on: characteristic_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_contestcombo.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_contestcombo.yaml index 8ceb33c4..91d5aa33 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_contestcombo.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_contestcombo.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_contestcombo schema: public object_relationships: -- name: pokemonV2MoveBySecondMoveId - using: - foreign_key_constraint_on: second_move_id -- name: pokemon_v2_move - using: - foreign_key_constraint_on: first_move_id + - name: pokemonV2MoveBySecondMoveId + using: + foreign_key_constraint_on: second_move_id + - name: pokemon_v2_move + using: + foreign_key_constraint_on: first_move_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_contesteffect.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_contesteffect.yaml index 3fd66f63..8b646454 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_contesteffect.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_contesteffect.yaml @@ -2,31 +2,31 @@ table: name: pokemon_v2_contesteffect schema: public array_relationships: -- name: pokemon_v2_contesteffecteffecttexts - using: - foreign_key_constraint_on: - column: contest_effect_id - table: - name: pokemon_v2_contesteffecteffecttext - schema: public -- name: pokemon_v2_contesteffectflavortexts - using: - foreign_key_constraint_on: - column: contest_effect_id - table: - name: pokemon_v2_contesteffectflavortext - schema: public -- name: pokemon_v2_moves - using: - foreign_key_constraint_on: - column: contest_effect_id - table: - name: pokemon_v2_move - schema: public + - name: pokemon_v2_contesteffecteffecttexts + using: + foreign_key_constraint_on: + column: contest_effect_id + table: + name: pokemon_v2_contesteffecteffecttext + schema: public + - name: pokemon_v2_contesteffectflavortexts + using: + foreign_key_constraint_on: + column: contest_effect_id + table: + name: pokemon_v2_contesteffectflavortext + schema: public + - name: pokemon_v2_moves + using: + foreign_key_constraint_on: + column: contest_effect_id + table: + name: pokemon_v2_move + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_contesteffecteffecttext.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_contesteffecteffecttext.yaml index 89329228..558d3199 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_contesteffecteffecttext.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_contesteffecteffecttext.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_contesteffecteffecttext schema: public object_relationships: -- name: pokemon_v2_contesteffect - using: - foreign_key_constraint_on: contest_effect_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_contesteffect + using: + foreign_key_constraint_on: contest_effect_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_contesteffectflavortext.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_contesteffectflavortext.yaml index 39676767..f4a22ce4 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_contesteffectflavortext.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_contesteffectflavortext.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_contesteffectflavortext schema: public object_relationships: -- name: pokemon_v2_contesteffect - using: - foreign_key_constraint_on: contest_effect_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_contesteffect + using: + foreign_key_constraint_on: contest_effect_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_contesttype.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_contesttype.yaml index 502aaee0..25d0f671 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_contesttype.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_contesttype.yaml @@ -1,32 +1,40 @@ table: name: pokemon_v2_contesttype schema: public +object_relationships: + - name: pokemon_v2_berryflavor + using: + foreign_key_constraint_on: + column: contest_type_id + table: + name: pokemon_v2_berryflavor + schema: public array_relationships: -- name: pokemon_v2_berryflavors - using: - foreign_key_constraint_on: - column: contest_type_id - table: - name: pokemon_v2_berryflavor - schema: public -- name: pokemon_v2_contesttypenames - using: - foreign_key_constraint_on: - column: contest_type_id - table: - name: pokemon_v2_contesttypename - schema: public -- name: pokemon_v2_moves - using: - foreign_key_constraint_on: - column: contest_type_id - table: - name: pokemon_v2_move - schema: public + - name: pokemon_v2_berryflavors + using: + foreign_key_constraint_on: + column: contest_type_id + table: + name: pokemon_v2_berryflavor + schema: public + - name: pokemon_v2_contesttypenames + using: + foreign_key_constraint_on: + column: contest_type_id + table: + name: pokemon_v2_contesttypename + schema: public + - name: pokemon_v2_moves + using: + foreign_key_constraint_on: + column: contest_type_id + table: + name: pokemon_v2_move + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_contesttypename.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_contesttypename.yaml index e9917b84..4edcf5d8 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_contesttypename.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_contesttypename.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_contesttypename schema: public object_relationships: -- name: pokemon_v2_contesttype - using: - foreign_key_constraint_on: contest_type_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_contesttype + using: + foreign_key_constraint_on: contest_type_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_egggroup.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_egggroup.yaml index 3b2a184a..93dfc68e 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_egggroup.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_egggroup.yaml @@ -2,24 +2,24 @@ table: name: pokemon_v2_egggroup schema: public array_relationships: -- name: pokemon_v2_egggroupnames - using: - foreign_key_constraint_on: - column: egg_group_id - table: - name: pokemon_v2_egggroupname - schema: public -- name: pokemon_v2_pokemonegggroups - using: - foreign_key_constraint_on: - column: egg_group_id - table: - name: pokemon_v2_pokemonegggroup - schema: public + - name: pokemon_v2_egggroupnames + using: + foreign_key_constraint_on: + column: egg_group_id + table: + name: pokemon_v2_egggroupname + schema: public + - name: pokemon_v2_pokemonegggroups + using: + foreign_key_constraint_on: + column: egg_group_id + table: + name: pokemon_v2_pokemonegggroup + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_egggroupname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_egggroupname.yaml index ac74eb48..146c67f0 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_egggroupname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_egggroupname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_egggroupname schema: public object_relationships: -- name: pokemon_v2_egggroup - using: - foreign_key_constraint_on: egg_group_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_egggroup + using: + foreign_key_constraint_on: egg_group_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_encounter.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_encounter.yaml index 96250273..061ab298 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_encounter.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_encounter.yaml @@ -2,30 +2,30 @@ table: name: pokemon_v2_encounter schema: public object_relationships: -- name: pokemon_v2_encounterslot - using: - foreign_key_constraint_on: encounter_slot_id -- name: pokemon_v2_locationarea - using: - foreign_key_constraint_on: location_area_id -- name: pokemon_v2_pokemon - using: - foreign_key_constraint_on: pokemon_id -- name: pokemon_v2_version - using: - foreign_key_constraint_on: version_id + - name: pokemon_v2_encounterslot + using: + foreign_key_constraint_on: encounter_slot_id + - name: pokemon_v2_locationarea + using: + foreign_key_constraint_on: location_area_id + - name: pokemon_v2_pokemon + using: + foreign_key_constraint_on: pokemon_id + - name: pokemon_v2_version + using: + foreign_key_constraint_on: version_id array_relationships: -- name: pokemon_v2_encounterconditionvaluemaps - using: - foreign_key_constraint_on: - column: encounter_id - table: - name: pokemon_v2_encounterconditionvaluemap - schema: public + - name: pokemon_v2_encounterconditionvaluemaps + using: + foreign_key_constraint_on: + column: encounter_id + table: + name: pokemon_v2_encounterconditionvaluemap + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_encountercondition.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_encountercondition.yaml index b014efe2..d85a40ba 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_encountercondition.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_encountercondition.yaml @@ -2,24 +2,24 @@ table: name: pokemon_v2_encountercondition schema: public array_relationships: -- name: pokemon_v2_encounterconditionnames - using: - foreign_key_constraint_on: - column: encounter_condition_id - table: - name: pokemon_v2_encounterconditionname - schema: public -- name: pokemon_v2_encounterconditionvalues - using: - foreign_key_constraint_on: - column: encounter_condition_id - table: - name: pokemon_v2_encounterconditionvalue - schema: public + - name: pokemon_v2_encounterconditionnames + using: + foreign_key_constraint_on: + column: encounter_condition_id + table: + name: pokemon_v2_encounterconditionname + schema: public + - name: pokemon_v2_encounterconditionvalues + using: + foreign_key_constraint_on: + column: encounter_condition_id + table: + name: pokemon_v2_encounterconditionvalue + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_encounterconditionname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_encounterconditionname.yaml index 8a14a856..2b0abab7 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_encounterconditionname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_encounterconditionname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_encounterconditionname schema: public object_relationships: -- name: pokemon_v2_encountercondition - using: - foreign_key_constraint_on: encounter_condition_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_encountercondition + using: + foreign_key_constraint_on: encounter_condition_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_encounterconditionvalue.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_encounterconditionvalue.yaml index d41185a4..102dd777 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_encounterconditionvalue.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_encounterconditionvalue.yaml @@ -2,28 +2,28 @@ table: name: pokemon_v2_encounterconditionvalue schema: public object_relationships: -- name: pokemon_v2_encountercondition - using: - foreign_key_constraint_on: encounter_condition_id + - name: pokemon_v2_encountercondition + using: + foreign_key_constraint_on: encounter_condition_id array_relationships: -- name: pokemon_v2_encounterconditionvaluemaps - using: - foreign_key_constraint_on: - column: encounter_condition_value_id - table: - name: pokemon_v2_encounterconditionvaluemap - schema: public -- name: pokemon_v2_encounterconditionvaluenames - using: - foreign_key_constraint_on: - column: encounter_condition_value_id - table: - name: pokemon_v2_encounterconditionvaluename - schema: public + - name: pokemon_v2_encounterconditionvaluemaps + using: + foreign_key_constraint_on: + column: encounter_condition_value_id + table: + name: pokemon_v2_encounterconditionvaluemap + schema: public + - name: pokemon_v2_encounterconditionvaluenames + using: + foreign_key_constraint_on: + column: encounter_condition_value_id + table: + name: pokemon_v2_encounterconditionvaluename + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_encounterconditionvaluemap.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_encounterconditionvaluemap.yaml index 5bb6e52e..9748738c 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_encounterconditionvaluemap.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_encounterconditionvaluemap.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_encounterconditionvaluemap schema: public object_relationships: -- name: pokemon_v2_encounter - using: - foreign_key_constraint_on: encounter_id -- name: pokemon_v2_encounterconditionvalue - using: - foreign_key_constraint_on: encounter_condition_value_id + - name: pokemon_v2_encounter + using: + foreign_key_constraint_on: encounter_id + - name: pokemon_v2_encounterconditionvalue + using: + foreign_key_constraint_on: encounter_condition_value_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_encounterconditionvaluename.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_encounterconditionvaluename.yaml index 39d313ad..985e2786 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_encounterconditionvaluename.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_encounterconditionvaluename.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_encounterconditionvaluename schema: public object_relationships: -- name: pokemon_v2_encounterconditionvalue - using: - foreign_key_constraint_on: encounter_condition_value_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_encounterconditionvalue + using: + foreign_key_constraint_on: encounter_condition_value_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_encountermethod.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_encountermethod.yaml index 748be414..5a977353 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_encountermethod.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_encountermethod.yaml @@ -2,31 +2,31 @@ table: name: pokemon_v2_encountermethod schema: public array_relationships: -- name: pokemon_v2_encountermethodnames - using: - foreign_key_constraint_on: - column: encounter_method_id - table: - name: pokemon_v2_encountermethodname - schema: public -- name: pokemon_v2_encounterslots - using: - foreign_key_constraint_on: - column: encounter_method_id - table: - name: pokemon_v2_encounterslot - schema: public -- name: pokemon_v2_locationareaencounterrates - using: - foreign_key_constraint_on: - column: encounter_method_id - table: - name: pokemon_v2_locationareaencounterrate - schema: public + - name: pokemon_v2_encountermethodnames + using: + foreign_key_constraint_on: + column: encounter_method_id + table: + name: pokemon_v2_encountermethodname + schema: public + - name: pokemon_v2_encounterslots + using: + foreign_key_constraint_on: + column: encounter_method_id + table: + name: pokemon_v2_encounterslot + schema: public + - name: pokemon_v2_locationareaencounterrates + using: + foreign_key_constraint_on: + column: encounter_method_id + table: + name: pokemon_v2_locationareaencounterrate + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_encountermethodname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_encountermethodname.yaml index 13ab6d74..568d634a 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_encountermethodname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_encountermethodname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_encountermethodname schema: public object_relationships: -- name: pokemon_v2_encountermethod - using: - foreign_key_constraint_on: encounter_method_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_encountermethod + using: + foreign_key_constraint_on: encounter_method_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_encounterslot.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_encounterslot.yaml index 8a6235c3..bae69d83 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_encounterslot.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_encounterslot.yaml @@ -2,24 +2,24 @@ table: name: pokemon_v2_encounterslot schema: public object_relationships: -- name: pokemon_v2_encountermethod - using: - foreign_key_constraint_on: encounter_method_id -- name: pokemon_v2_versiongroup - using: - foreign_key_constraint_on: version_group_id + - name: pokemon_v2_encountermethod + using: + foreign_key_constraint_on: encounter_method_id + - name: pokemon_v2_versiongroup + using: + foreign_key_constraint_on: version_group_id array_relationships: -- name: pokemon_v2_encounters - using: - foreign_key_constraint_on: - column: encounter_slot_id - table: - name: pokemon_v2_encounter - schema: public + - name: pokemon_v2_encounters + using: + foreign_key_constraint_on: + column: encounter_slot_id + table: + name: pokemon_v2_encounter + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_evolutionchain.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_evolutionchain.yaml index 1cee9f17..7af9650b 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_evolutionchain.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_evolutionchain.yaml @@ -2,21 +2,21 @@ table: name: pokemon_v2_evolutionchain schema: public object_relationships: -- name: pokemon_v2_item - using: - foreign_key_constraint_on: baby_trigger_item_id + - name: pokemon_v2_item + using: + foreign_key_constraint_on: baby_trigger_item_id array_relationships: -- name: pokemon_v2_pokemonspecies - using: - foreign_key_constraint_on: - column: evolution_chain_id - table: - name: pokemon_v2_pokemonspecies - schema: public + - name: pokemon_v2_pokemonspecies + using: + foreign_key_constraint_on: + column: evolution_chain_id + table: + name: pokemon_v2_pokemonspecies + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_evolutiontrigger.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_evolutiontrigger.yaml index db694c1b..2ad08f9f 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_evolutiontrigger.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_evolutiontrigger.yaml @@ -2,24 +2,24 @@ table: name: pokemon_v2_evolutiontrigger schema: public array_relationships: -- name: pokemon_v2_evolutiontriggernames - using: - foreign_key_constraint_on: - column: evolution_trigger_id - table: - name: pokemon_v2_evolutiontriggername - schema: public -- name: pokemon_v2_pokemonevolutions - using: - foreign_key_constraint_on: - column: evolution_trigger_id - table: - name: pokemon_v2_pokemonevolution - schema: public + - name: pokemon_v2_evolutiontriggernames + using: + foreign_key_constraint_on: + column: evolution_trigger_id + table: + name: pokemon_v2_evolutiontriggername + schema: public + - name: pokemon_v2_pokemonevolutions + using: + foreign_key_constraint_on: + column: evolution_trigger_id + table: + name: pokemon_v2_pokemonevolution + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_evolutiontriggername.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_evolutiontriggername.yaml index 20b415d3..6e960c5c 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_evolutiontriggername.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_evolutiontriggername.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_evolutiontriggername schema: public object_relationships: -- name: pokemon_v2_evolutiontrigger - using: - foreign_key_constraint_on: evolution_trigger_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_evolutiontrigger + using: + foreign_key_constraint_on: evolution_trigger_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_experience.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_experience.yaml index b36f1041..1e032da4 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_experience.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_experience.yaml @@ -2,13 +2,13 @@ table: name: pokemon_v2_experience schema: public object_relationships: -- name: pokemon_v2_growthrate - using: - foreign_key_constraint_on: growth_rate_id + - name: pokemon_v2_growthrate + using: + foreign_key_constraint_on: growth_rate_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_gender.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_gender.yaml index 9cddfaf1..1f70a56c 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_gender.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_gender.yaml @@ -2,17 +2,17 @@ table: name: pokemon_v2_gender schema: public array_relationships: -- name: pokemon_v2_pokemonevolutions - using: - foreign_key_constraint_on: - column: gender_id - table: - name: pokemon_v2_pokemonevolution - schema: public + - name: pokemon_v2_pokemonevolutions + using: + foreign_key_constraint_on: + column: gender_id + table: + name: pokemon_v2_pokemonevolution + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_generation.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_generation.yaml index 5e89c249..3827315c 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_generation.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_generation.yaml @@ -2,105 +2,105 @@ table: name: pokemon_v2_generation schema: public object_relationships: -- name: pokemon_v2_region - using: - foreign_key_constraint_on: region_id + - name: pokemon_v2_region + using: + foreign_key_constraint_on: region_id array_relationships: -- name: pokemon_v2_abilities - using: - foreign_key_constraint_on: - column: generation_id - table: - name: pokemon_v2_ability - schema: public -- name: pokemon_v2_generationnames - using: - foreign_key_constraint_on: - column: generation_id - table: - name: pokemon_v2_generationname - schema: public -- name: pokemon_v2_itemgameindices - using: - foreign_key_constraint_on: - column: generation_id - table: - name: pokemon_v2_itemgameindex - schema: public -- name: pokemon_v2_locationgameindices - using: - foreign_key_constraint_on: - column: generation_id - table: - name: pokemon_v2_locationgameindex - schema: public -- name: pokemon_v2_moves - using: - foreign_key_constraint_on: - column: generation_id - table: - name: pokemon_v2_move - schema: public -- name: pokemon_v2_pokemonabilitypasts - using: - foreign_key_constraint_on: - column: generation_id - table: - name: pokemon_v2_pokemonabilitypast - schema: public -- name: pokemon_v2_pokemonformgenerations - using: - foreign_key_constraint_on: - column: generation_id - table: - name: pokemon_v2_pokemonformgeneration - schema: public -- name: pokemon_v2_pokemonspecies - using: - foreign_key_constraint_on: - column: generation_id - table: - name: pokemon_v2_pokemonspecies - schema: public -- name: pokemon_v2_pokemontypepasts - using: - foreign_key_constraint_on: - column: generation_id - table: - name: pokemon_v2_pokemontypepast - schema: public -- name: pokemon_v2_typeefficacypasts - using: - foreign_key_constraint_on: - column: generation_id - table: - name: pokemon_v2_typeefficacypast - schema: public -- name: pokemon_v2_typegameindices - using: - foreign_key_constraint_on: - column: generation_id - table: - name: pokemon_v2_typegameindex - schema: public -- name: pokemon_v2_types - using: - foreign_key_constraint_on: - column: generation_id - table: - name: pokemon_v2_type - schema: public -- name: pokemon_v2_versiongroups - using: - foreign_key_constraint_on: - column: generation_id - table: - name: pokemon_v2_versiongroup - schema: public + - name: pokemon_v2_abilities + using: + foreign_key_constraint_on: + column: generation_id + table: + name: pokemon_v2_ability + schema: public + - name: pokemon_v2_generationnames + using: + foreign_key_constraint_on: + column: generation_id + table: + name: pokemon_v2_generationname + schema: public + - name: pokemon_v2_itemgameindices + using: + foreign_key_constraint_on: + column: generation_id + table: + name: pokemon_v2_itemgameindex + schema: public + - name: pokemon_v2_locationgameindices + using: + foreign_key_constraint_on: + column: generation_id + table: + name: pokemon_v2_locationgameindex + schema: public + - name: pokemon_v2_moves + using: + foreign_key_constraint_on: + column: generation_id + table: + name: pokemon_v2_move + schema: public + - name: pokemon_v2_pokemonabilitypasts + using: + foreign_key_constraint_on: + column: generation_id + table: + name: pokemon_v2_pokemonabilitypast + schema: public + - name: pokemon_v2_pokemonformgenerations + using: + foreign_key_constraint_on: + column: generation_id + table: + name: pokemon_v2_pokemonformgeneration + schema: public + - name: pokemon_v2_pokemonspecies + using: + foreign_key_constraint_on: + column: generation_id + table: + name: pokemon_v2_pokemonspecies + schema: public + - name: pokemon_v2_pokemontypepasts + using: + foreign_key_constraint_on: + column: generation_id + table: + name: pokemon_v2_pokemontypepast + schema: public + - name: pokemon_v2_typeefficacypasts + using: + foreign_key_constraint_on: + column: generation_id + table: + name: pokemon_v2_typeefficacypast + schema: public + - name: pokemon_v2_typegameindices + using: + foreign_key_constraint_on: + column: generation_id + table: + name: pokemon_v2_typegameindex + schema: public + - name: pokemon_v2_types + using: + foreign_key_constraint_on: + column: generation_id + table: + name: pokemon_v2_type + schema: public + - name: pokemon_v2_versiongroups + using: + foreign_key_constraint_on: + column: generation_id + table: + name: pokemon_v2_versiongroup + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_generationname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_generationname.yaml index 71008f3f..a13049ba 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_generationname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_generationname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_generationname schema: public object_relationships: -- name: pokemon_v2_generation - using: - foreign_key_constraint_on: generation_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_generation + using: + foreign_key_constraint_on: generation_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_growthrate.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_growthrate.yaml index 3bf37592..a5906e4b 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_growthrate.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_growthrate.yaml @@ -2,38 +2,38 @@ table: name: pokemon_v2_growthrate schema: public array_relationships: -- name: pokemon_v2_experiences - using: - foreign_key_constraint_on: - column: growth_rate_id - table: - name: pokemon_v2_experience - schema: public -- name: pokemon_v2_growthratedescriptions - using: - foreign_key_constraint_on: - column: growth_rate_id - table: - name: pokemon_v2_growthratedescription - schema: public -- name: pokemon_v2_machines - using: - foreign_key_constraint_on: - column: growth_rate_id - table: - name: pokemon_v2_machine - schema: public -- name: pokemon_v2_pokemonspecies - using: - foreign_key_constraint_on: - column: growth_rate_id - table: - name: pokemon_v2_pokemonspecies - schema: public + - name: pokemon_v2_experiences + using: + foreign_key_constraint_on: + column: growth_rate_id + table: + name: pokemon_v2_experience + schema: public + - name: pokemon_v2_growthratedescriptions + using: + foreign_key_constraint_on: + column: growth_rate_id + table: + name: pokemon_v2_growthratedescription + schema: public + - name: pokemon_v2_machines + using: + foreign_key_constraint_on: + column: growth_rate_id + table: + name: pokemon_v2_machine + schema: public + - name: pokemon_v2_pokemonspecies + using: + foreign_key_constraint_on: + column: growth_rate_id + table: + name: pokemon_v2_pokemonspecies + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_growthratedescription.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_growthratedescription.yaml index 5342665e..5a39f7a1 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_growthratedescription.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_growthratedescription.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_growthratedescription schema: public object_relationships: -- name: pokemon_v2_growthrate - using: - foreign_key_constraint_on: growth_rate_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_growthrate + using: + foreign_key_constraint_on: growth_rate_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_item.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_item.yaml index 7db69a2b..7e9fbc70 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_item.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_item.yaml @@ -2,101 +2,101 @@ table: name: pokemon_v2_item schema: public object_relationships: -- name: pokemon_v2_itemcategory - using: - foreign_key_constraint_on: item_category_id -- name: pokemon_v2_itemflingeffect - using: - foreign_key_constraint_on: item_fling_effect_id + - name: pokemon_v2_itemcategory + using: + foreign_key_constraint_on: item_category_id + - name: pokemon_v2_itemflingeffect + using: + foreign_key_constraint_on: item_fling_effect_id array_relationships: -- name: pokemonV2PokemonevolutionsByHeldItemId - using: - foreign_key_constraint_on: - column: held_item_id - table: - name: pokemon_v2_pokemonevolution - schema: public -- name: pokemon_v2_berries - using: - foreign_key_constraint_on: - column: item_id - table: - name: pokemon_v2_berry - schema: public -- name: pokemon_v2_evolutionchains - using: - foreign_key_constraint_on: - column: baby_trigger_item_id - table: - name: pokemon_v2_evolutionchain - schema: public -- name: pokemon_v2_itemattributemaps - using: - foreign_key_constraint_on: - column: item_id - table: - name: pokemon_v2_itemattributemap - schema: public -- name: pokemon_v2_itemeffecttexts - using: - foreign_key_constraint_on: - column: item_id - table: - name: pokemon_v2_itemeffecttext - schema: public -- name: pokemon_v2_itemflavortexts - using: - foreign_key_constraint_on: - column: item_id - table: - name: pokemon_v2_itemflavortext - schema: public -- name: pokemon_v2_itemgameindices - using: - foreign_key_constraint_on: - column: item_id - table: - name: pokemon_v2_itemgameindex - schema: public -- name: pokemon_v2_itemnames - using: - foreign_key_constraint_on: - column: item_id - table: - name: pokemon_v2_itemname - schema: public -- name: pokemon_v2_itemsprites - using: - foreign_key_constraint_on: - column: item_id - table: - name: pokemon_v2_itemsprites - schema: public -- name: pokemon_v2_machines - using: - foreign_key_constraint_on: - column: item_id - table: - name: pokemon_v2_machine - schema: public -- name: pokemon_v2_pokemonevolutions - using: - foreign_key_constraint_on: - column: evolution_item_id - table: - name: pokemon_v2_pokemonevolution - schema: public -- name: pokemon_v2_pokemonitems - using: - foreign_key_constraint_on: - column: item_id - table: - name: pokemon_v2_pokemonitem - schema: public + - name: pokemonV2PokemonevolutionsByHeldItemId + using: + foreign_key_constraint_on: + column: held_item_id + table: + name: pokemon_v2_pokemonevolution + schema: public + - name: pokemon_v2_berries + using: + foreign_key_constraint_on: + column: item_id + table: + name: pokemon_v2_berry + schema: public + - name: pokemon_v2_evolutionchains + using: + foreign_key_constraint_on: + column: baby_trigger_item_id + table: + name: pokemon_v2_evolutionchain + schema: public + - name: pokemon_v2_itemattributemaps + using: + foreign_key_constraint_on: + column: item_id + table: + name: pokemon_v2_itemattributemap + schema: public + - name: pokemon_v2_itemeffecttexts + using: + foreign_key_constraint_on: + column: item_id + table: + name: pokemon_v2_itemeffecttext + schema: public + - name: pokemon_v2_itemflavortexts + using: + foreign_key_constraint_on: + column: item_id + table: + name: pokemon_v2_itemflavortext + schema: public + - name: pokemon_v2_itemgameindices + using: + foreign_key_constraint_on: + column: item_id + table: + name: pokemon_v2_itemgameindex + schema: public + - name: pokemon_v2_itemnames + using: + foreign_key_constraint_on: + column: item_id + table: + name: pokemon_v2_itemname + schema: public + - name: pokemon_v2_itemsprites + using: + foreign_key_constraint_on: + column: item_id + table: + name: pokemon_v2_itemsprites + schema: public + - name: pokemon_v2_machines + using: + foreign_key_constraint_on: + column: item_id + table: + name: pokemon_v2_machine + schema: public + - name: pokemon_v2_pokemonevolutions + using: + foreign_key_constraint_on: + column: evolution_item_id + table: + name: pokemon_v2_pokemonevolution + schema: public + - name: pokemon_v2_pokemonitems + using: + foreign_key_constraint_on: + column: item_id + table: + name: pokemon_v2_pokemonitem + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemattribute.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemattribute.yaml index ef2a3f04..d37cda49 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemattribute.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemattribute.yaml @@ -2,31 +2,31 @@ table: name: pokemon_v2_itemattribute schema: public array_relationships: -- name: pokemon_v2_itemattributedescriptions - using: - foreign_key_constraint_on: - column: item_attribute_id - table: - name: pokemon_v2_itemattributedescription - schema: public -- name: pokemon_v2_itemattributemaps - using: - foreign_key_constraint_on: - column: item_attribute_id - table: - name: pokemon_v2_itemattributemap - schema: public -- name: pokemon_v2_itemattributenames - using: - foreign_key_constraint_on: - column: item_attribute_id - table: - name: pokemon_v2_itemattributename - schema: public + - name: pokemon_v2_itemattributedescriptions + using: + foreign_key_constraint_on: + column: item_attribute_id + table: + name: pokemon_v2_itemattributedescription + schema: public + - name: pokemon_v2_itemattributemaps + using: + foreign_key_constraint_on: + column: item_attribute_id + table: + name: pokemon_v2_itemattributemap + schema: public + - name: pokemon_v2_itemattributenames + using: + foreign_key_constraint_on: + column: item_attribute_id + table: + name: pokemon_v2_itemattributename + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemattributedescription.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemattributedescription.yaml index df86c8fa..4ee7ce47 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemattributedescription.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemattributedescription.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_itemattributedescription schema: public object_relationships: -- name: pokemon_v2_itemattribute - using: - foreign_key_constraint_on: item_attribute_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_itemattribute + using: + foreign_key_constraint_on: item_attribute_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemattributemap.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemattributemap.yaml index 824d7e8d..afda4167 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemattributemap.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemattributemap.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_itemattributemap schema: public object_relationships: -- name: pokemon_v2_item - using: - foreign_key_constraint_on: item_id -- name: pokemon_v2_itemattribute - using: - foreign_key_constraint_on: item_attribute_id + - name: pokemon_v2_item + using: + foreign_key_constraint_on: item_id + - name: pokemon_v2_itemattribute + using: + foreign_key_constraint_on: item_attribute_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemattributename.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemattributename.yaml index 4b296130..70d532d8 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemattributename.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemattributename.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_itemattributename schema: public object_relationships: -- name: pokemon_v2_itemattribute - using: - foreign_key_constraint_on: item_attribute_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_itemattribute + using: + foreign_key_constraint_on: item_attribute_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemcategory.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemcategory.yaml index 083753b0..701b1541 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemcategory.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemcategory.yaml @@ -2,28 +2,28 @@ table: name: pokemon_v2_itemcategory schema: public object_relationships: -- name: pokemon_v2_itempocket - using: - foreign_key_constraint_on: item_pocket_id + - name: pokemon_v2_itempocket + using: + foreign_key_constraint_on: item_pocket_id array_relationships: -- name: pokemon_v2_itemcategorynames - using: - foreign_key_constraint_on: - column: item_category_id - table: - name: pokemon_v2_itemcategoryname - schema: public -- name: pokemon_v2_items - using: - foreign_key_constraint_on: - column: item_category_id - table: - name: pokemon_v2_item - schema: public + - name: pokemon_v2_itemcategorynames + using: + foreign_key_constraint_on: + column: item_category_id + table: + name: pokemon_v2_itemcategoryname + schema: public + - name: pokemon_v2_items + using: + foreign_key_constraint_on: + column: item_category_id + table: + name: pokemon_v2_item + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemcategoryname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemcategoryname.yaml index 42aa9fd8..5e5e4831 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemcategoryname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemcategoryname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_itemcategoryname schema: public object_relationships: -- name: pokemon_v2_itemcategory - using: - foreign_key_constraint_on: item_category_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_itemcategory + using: + foreign_key_constraint_on: item_category_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemeffecttext.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemeffecttext.yaml index 2a4029c5..741bc1c6 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemeffecttext.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemeffecttext.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_itemeffecttext schema: public object_relationships: -- name: pokemon_v2_item - using: - foreign_key_constraint_on: item_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_item + using: + foreign_key_constraint_on: item_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemflavortext.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemflavortext.yaml index 820ef75e..cf16d895 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemflavortext.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemflavortext.yaml @@ -2,19 +2,19 @@ table: name: pokemon_v2_itemflavortext schema: public object_relationships: -- name: pokemon_v2_item - using: - foreign_key_constraint_on: item_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_versiongroup - using: - foreign_key_constraint_on: version_group_id + - name: pokemon_v2_item + using: + foreign_key_constraint_on: item_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_versiongroup + using: + foreign_key_constraint_on: version_group_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemflingeffect.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemflingeffect.yaml index 2a0c6a03..39a6fe01 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemflingeffect.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemflingeffect.yaml @@ -2,24 +2,24 @@ table: name: pokemon_v2_itemflingeffect schema: public array_relationships: -- name: pokemon_v2_itemflingeffecteffecttexts - using: - foreign_key_constraint_on: - column: item_fling_effect_id - table: - name: pokemon_v2_itemflingeffecteffecttext - schema: public -- name: pokemon_v2_items - using: - foreign_key_constraint_on: - column: item_fling_effect_id - table: - name: pokemon_v2_item - schema: public + - name: pokemon_v2_itemflingeffecteffecttexts + using: + foreign_key_constraint_on: + column: item_fling_effect_id + table: + name: pokemon_v2_itemflingeffecteffecttext + schema: public + - name: pokemon_v2_items + using: + foreign_key_constraint_on: + column: item_fling_effect_id + table: + name: pokemon_v2_item + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemflingeffecteffecttext.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemflingeffecteffecttext.yaml index e157ea7d..c41a8787 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemflingeffecteffecttext.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemflingeffecteffecttext.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_itemflingeffecteffecttext schema: public object_relationships: -- name: pokemon_v2_itemflingeffect - using: - foreign_key_constraint_on: item_fling_effect_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_itemflingeffect + using: + foreign_key_constraint_on: item_fling_effect_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemgameindex.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemgameindex.yaml index 3fa472dd..910e123b 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemgameindex.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemgameindex.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_itemgameindex schema: public object_relationships: -- name: pokemon_v2_generation - using: - foreign_key_constraint_on: generation_id -- name: pokemon_v2_item - using: - foreign_key_constraint_on: item_id + - name: pokemon_v2_generation + using: + foreign_key_constraint_on: generation_id + - name: pokemon_v2_item + using: + foreign_key_constraint_on: item_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemname.yaml index cd10bb8b..bddc54c9 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_itemname schema: public object_relationships: -- name: pokemon_v2_item - using: - foreign_key_constraint_on: item_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_item + using: + foreign_key_constraint_on: item_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_itempocket.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_itempocket.yaml index fa06d6bc..3b9b8f85 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_itempocket.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_itempocket.yaml @@ -2,24 +2,24 @@ table: name: pokemon_v2_itempocket schema: public array_relationships: -- name: pokemon_v2_itemcategories - using: - foreign_key_constraint_on: - column: item_pocket_id - table: - name: pokemon_v2_itemcategory - schema: public -- name: pokemon_v2_itempocketnames - using: - foreign_key_constraint_on: - column: item_pocket_id - table: - name: pokemon_v2_itempocketname - schema: public + - name: pokemon_v2_itemcategories + using: + foreign_key_constraint_on: + column: item_pocket_id + table: + name: pokemon_v2_itemcategory + schema: public + - name: pokemon_v2_itempocketnames + using: + foreign_key_constraint_on: + column: item_pocket_id + table: + name: pokemon_v2_itempocketname + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_itempocketname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_itempocketname.yaml index 754d60fc..233e19ee 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_itempocketname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_itempocketname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_itempocketname schema: public object_relationships: -- name: pokemon_v2_itempocket - using: - foreign_key_constraint_on: item_pocket_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemon_v2_itempocket + using: + foreign_key_constraint_on: item_pocket_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemsprites.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemsprites.yaml index 39d66133..85af279b 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_itemsprites.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_itemsprites.yaml @@ -2,13 +2,13 @@ table: name: pokemon_v2_itemsprites schema: public object_relationships: -- name: pokemon_v2_item - using: - foreign_key_constraint_on: item_id + - name: pokemon_v2_item + using: + foreign_key_constraint_on: item_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_language.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_language.yaml index a69663ae..1811c445 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_language.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_language.yaml @@ -2,437 +2,437 @@ table: name: pokemon_v2_language schema: public array_relationships: -- name: pokemonV2LanguagenamesByLocalLanguageId - using: - foreign_key_constraint_on: - column: local_language_id - table: - name: pokemon_v2_languagename - schema: public -- name: pokemon_v2_abilitychangeeffecttexts - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_abilitychangeeffecttext - schema: public -- name: pokemon_v2_abilityeffecttexts - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_abilityeffecttext - schema: public -- name: pokemon_v2_abilityflavortexts - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_abilityflavortext - schema: public -- name: pokemon_v2_abilitynames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_abilityname - schema: public -- name: pokemon_v2_berryfirmnessnames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_berryfirmnessname - schema: public -- name: pokemon_v2_berryflavornames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_berryflavorname - schema: public -- name: pokemon_v2_characteristicdescriptions - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_characteristicdescription - schema: public -- name: pokemon_v2_contesteffecteffecttexts - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_contesteffecteffecttext - schema: public -- name: pokemon_v2_contesteffectflavortexts - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_contesteffectflavortext - schema: public -- name: pokemon_v2_contesttypenames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_contesttypename - schema: public -- name: pokemon_v2_egggroupnames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_egggroupname - schema: public -- name: pokemon_v2_encounterconditionnames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_encounterconditionname - schema: public -- name: pokemon_v2_encounterconditionvaluenames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_encounterconditionvaluename - schema: public -- name: pokemon_v2_encountermethodnames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_encountermethodname - schema: public -- name: pokemon_v2_evolutiontriggernames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_evolutiontriggername - schema: public -- name: pokemon_v2_generationnames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_generationname - schema: public -- name: pokemon_v2_growthratedescriptions - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_growthratedescription - schema: public -- name: pokemon_v2_itemattributedescriptions - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_itemattributedescription - schema: public -- name: pokemon_v2_itemattributenames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_itemattributename - schema: public -- name: pokemon_v2_itemcategorynames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_itemcategoryname - schema: public -- name: pokemon_v2_itemeffecttexts - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_itemeffecttext - schema: public -- name: pokemon_v2_itemflavortexts - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_itemflavortext - schema: public -- name: pokemon_v2_itemflingeffecteffecttexts - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_itemflingeffecteffecttext - schema: public -- name: pokemon_v2_itemnames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_itemname - schema: public -- name: pokemon_v2_itempocketnames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_itempocketname - schema: public -- name: pokemon_v2_languagenames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_languagename - schema: public -- name: pokemon_v2_locationareanames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_locationareaname - schema: public -- name: pokemon_v2_locationnames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_locationname - schema: public -- name: pokemon_v2_moveattributedescriptions - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_moveattributedescription - schema: public -- name: pokemon_v2_moveattributenames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_moveattributename - schema: public -- name: pokemon_v2_movebattlestylenames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_movebattlestylename - schema: public -- name: pokemon_v2_movedamageclassdescriptions - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_movedamageclassdescription - schema: public -- name: pokemon_v2_movedamageclassnames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_movedamageclassname - schema: public -- name: pokemon_v2_moveeffectchangeeffecttexts - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_moveeffectchangeeffecttext - schema: public -- name: pokemon_v2_moveeffecteffecttexts - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_moveeffecteffecttext - schema: public -- name: pokemon_v2_moveflavortexts - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_moveflavortext - schema: public -- name: pokemon_v2_movelearnmethoddescriptions - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_movelearnmethoddescription - schema: public -- name: pokemon_v2_movelearnmethodnames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_movelearnmethodname - schema: public -- name: pokemon_v2_movemetaailmentnames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_movemetaailmentname - schema: public -- name: pokemon_v2_movemetacategorydescriptions - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_movemetacategorydescription - schema: public -- name: pokemon_v2_movenames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_movename - schema: public -- name: pokemon_v2_movetargetdescriptions - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_movetargetdescription - schema: public -- name: pokemon_v2_movetargetnames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_movetargetname - schema: public -- name: pokemon_v2_naturenames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_naturename - schema: public -- name: pokemon_v2_palparkareanames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_palparkareaname - schema: public -- name: pokemon_v2_pokeathlonstatnames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_pokeathlonstatname - schema: public -- name: pokemon_v2_pokedexdescriptions - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_pokedexdescription - schema: public -- name: pokemon_v2_pokedexnames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_pokedexname - schema: public -- name: pokemon_v2_pokemoncolornames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_pokemoncolorname - schema: public -- name: pokemon_v2_pokemonformnames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_pokemonformname - schema: public -- name: pokemon_v2_pokemonhabitatnames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_pokemonhabitatname - schema: public -- name: pokemon_v2_pokemonshapenames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_pokemonshapename - schema: public -- name: pokemon_v2_pokemonspeciesdescriptions - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_pokemonspeciesdescription - schema: public -- name: pokemon_v2_pokemonspeciesflavortexts - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_pokemonspeciesflavortext - schema: public -- name: pokemon_v2_pokemonspeciesnames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_pokemonspeciesname - schema: public -- name: pokemon_v2_regionnames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_regionname - schema: public -- name: pokemon_v2_statnames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_statname - schema: public -- name: pokemon_v2_supercontesteffectflavortexts - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_supercontesteffectflavortext - schema: public -- name: pokemon_v2_typenames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_typename - schema: public -- name: pokemon_v2_versionnames - using: - foreign_key_constraint_on: - column: language_id - table: - name: pokemon_v2_versionname - schema: public + - name: pokemonV2LanguagenamesByLocalLanguageId + using: + foreign_key_constraint_on: + column: local_language_id + table: + name: pokemon_v2_languagename + schema: public + - name: pokemon_v2_abilitychangeeffecttexts + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_abilitychangeeffecttext + schema: public + - name: pokemon_v2_abilityeffecttexts + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_abilityeffecttext + schema: public + - name: pokemon_v2_abilityflavortexts + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_abilityflavortext + schema: public + - name: pokemon_v2_abilitynames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_abilityname + schema: public + - name: pokemon_v2_berryfirmnessnames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_berryfirmnessname + schema: public + - name: pokemon_v2_berryflavornames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_berryflavorname + schema: public + - name: pokemon_v2_characteristicdescriptions + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_characteristicdescription + schema: public + - name: pokemon_v2_contesteffecteffecttexts + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_contesteffecteffecttext + schema: public + - name: pokemon_v2_contesteffectflavortexts + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_contesteffectflavortext + schema: public + - name: pokemon_v2_contesttypenames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_contesttypename + schema: public + - name: pokemon_v2_egggroupnames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_egggroupname + schema: public + - name: pokemon_v2_encounterconditionnames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_encounterconditionname + schema: public + - name: pokemon_v2_encounterconditionvaluenames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_encounterconditionvaluename + schema: public + - name: pokemon_v2_encountermethodnames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_encountermethodname + schema: public + - name: pokemon_v2_evolutiontriggernames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_evolutiontriggername + schema: public + - name: pokemon_v2_generationnames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_generationname + schema: public + - name: pokemon_v2_growthratedescriptions + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_growthratedescription + schema: public + - name: pokemon_v2_itemattributedescriptions + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_itemattributedescription + schema: public + - name: pokemon_v2_itemattributenames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_itemattributename + schema: public + - name: pokemon_v2_itemcategorynames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_itemcategoryname + schema: public + - name: pokemon_v2_itemeffecttexts + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_itemeffecttext + schema: public + - name: pokemon_v2_itemflavortexts + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_itemflavortext + schema: public + - name: pokemon_v2_itemflingeffecteffecttexts + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_itemflingeffecteffecttext + schema: public + - name: pokemon_v2_itemnames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_itemname + schema: public + - name: pokemon_v2_itempocketnames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_itempocketname + schema: public + - name: pokemon_v2_languagenames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_languagename + schema: public + - name: pokemon_v2_locationareanames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_locationareaname + schema: public + - name: pokemon_v2_locationnames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_locationname + schema: public + - name: pokemon_v2_moveattributedescriptions + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_moveattributedescription + schema: public + - name: pokemon_v2_moveattributenames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_moveattributename + schema: public + - name: pokemon_v2_movebattlestylenames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_movebattlestylename + schema: public + - name: pokemon_v2_movedamageclassdescriptions + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_movedamageclassdescription + schema: public + - name: pokemon_v2_movedamageclassnames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_movedamageclassname + schema: public + - name: pokemon_v2_moveeffectchangeeffecttexts + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_moveeffectchangeeffecttext + schema: public + - name: pokemon_v2_moveeffecteffecttexts + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_moveeffecteffecttext + schema: public + - name: pokemon_v2_moveflavortexts + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_moveflavortext + schema: public + - name: pokemon_v2_movelearnmethoddescriptions + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_movelearnmethoddescription + schema: public + - name: pokemon_v2_movelearnmethodnames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_movelearnmethodname + schema: public + - name: pokemon_v2_movemetaailmentnames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_movemetaailmentname + schema: public + - name: pokemon_v2_movemetacategorydescriptions + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_movemetacategorydescription + schema: public + - name: pokemon_v2_movenames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_movename + schema: public + - name: pokemon_v2_movetargetdescriptions + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_movetargetdescription + schema: public + - name: pokemon_v2_movetargetnames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_movetargetname + schema: public + - name: pokemon_v2_naturenames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_naturename + schema: public + - name: pokemon_v2_palparkareanames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_palparkareaname + schema: public + - name: pokemon_v2_pokeathlonstatnames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_pokeathlonstatname + schema: public + - name: pokemon_v2_pokedexdescriptions + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_pokedexdescription + schema: public + - name: pokemon_v2_pokedexnames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_pokedexname + schema: public + - name: pokemon_v2_pokemoncolornames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_pokemoncolorname + schema: public + - name: pokemon_v2_pokemonformnames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_pokemonformname + schema: public + - name: pokemon_v2_pokemonhabitatnames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_pokemonhabitatname + schema: public + - name: pokemon_v2_pokemonshapenames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_pokemonshapename + schema: public + - name: pokemon_v2_pokemonspeciesdescriptions + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_pokemonspeciesdescription + schema: public + - name: pokemon_v2_pokemonspeciesflavortexts + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_pokemonspeciesflavortext + schema: public + - name: pokemon_v2_pokemonspeciesnames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_pokemonspeciesname + schema: public + - name: pokemon_v2_regionnames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_regionname + schema: public + - name: pokemon_v2_statnames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_statname + schema: public + - name: pokemon_v2_supercontesteffectflavortexts + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_supercontesteffectflavortext + schema: public + - name: pokemon_v2_typenames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_typename + schema: public + - name: pokemon_v2_versionnames + using: + foreign_key_constraint_on: + column: language_id + table: + name: pokemon_v2_versionname + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_languagename.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_languagename.yaml index f11bfdf7..75724e79 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_languagename.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_languagename.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_languagename schema: public object_relationships: -- name: pokemonV2LanguageByLocalLanguageId - using: - foreign_key_constraint_on: local_language_id -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id + - name: pokemonV2LanguageByLocalLanguageId + using: + foreign_key_constraint_on: local_language_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_location.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_location.yaml index 57a24c63..c83be81a 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_location.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_location.yaml @@ -2,42 +2,42 @@ table: name: pokemon_v2_location schema: public object_relationships: -- name: pokemon_v2_region - using: - foreign_key_constraint_on: region_id + - name: pokemon_v2_region + using: + foreign_key_constraint_on: region_id array_relationships: -- name: pokemon_v2_locationareas - using: - foreign_key_constraint_on: - column: location_id - table: - name: pokemon_v2_locationarea - schema: public -- name: pokemon_v2_locationgameindices - using: - foreign_key_constraint_on: - column: location_id - table: - name: pokemon_v2_locationgameindex - schema: public -- name: pokemon_v2_locationnames - using: - foreign_key_constraint_on: - column: location_id - table: - name: pokemon_v2_locationname - schema: public -- name: pokemon_v2_pokemonevolutions - using: - foreign_key_constraint_on: - column: location_id - table: - name: pokemon_v2_pokemonevolution - schema: public + - name: pokemon_v2_locationareas + using: + foreign_key_constraint_on: + column: location_id + table: + name: pokemon_v2_locationarea + schema: public + - name: pokemon_v2_locationgameindices + using: + foreign_key_constraint_on: + column: location_id + table: + name: pokemon_v2_locationgameindex + schema: public + - name: pokemon_v2_locationnames + using: + foreign_key_constraint_on: + column: location_id + table: + name: pokemon_v2_locationname + schema: public + - name: pokemon_v2_pokemonevolutions + using: + foreign_key_constraint_on: + column: location_id + table: + name: pokemon_v2_pokemonevolution + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_locationarea.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_locationarea.yaml index 47c19e86..6429e424 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_locationarea.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_locationarea.yaml @@ -2,35 +2,35 @@ table: name: pokemon_v2_locationarea schema: public object_relationships: -- name: pokemon_v2_location - using: - foreign_key_constraint_on: location_id + - name: pokemon_v2_location + using: + foreign_key_constraint_on: location_id array_relationships: -- name: pokemon_v2_encounters - using: - foreign_key_constraint_on: - column: location_area_id - table: - name: pokemon_v2_encounter - schema: public -- name: pokemon_v2_locationareaencounterrates - using: - foreign_key_constraint_on: - column: location_area_id - table: - name: pokemon_v2_locationareaencounterrate - schema: public -- name: pokemon_v2_locationareanames - using: - foreign_key_constraint_on: - column: location_area_id - table: - name: pokemon_v2_locationareaname - schema: public + - name: pokemon_v2_encounters + using: + foreign_key_constraint_on: + column: location_area_id + table: + name: pokemon_v2_encounter + schema: public + - name: pokemon_v2_locationareaencounterrates + using: + foreign_key_constraint_on: + column: location_area_id + table: + name: pokemon_v2_locationareaencounterrate + schema: public + - name: pokemon_v2_locationareanames + using: + foreign_key_constraint_on: + column: location_area_id + table: + name: pokemon_v2_locationareaname + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_locationareaencounterrate.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_locationareaencounterrate.yaml index abb91d11..d85770d8 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_locationareaencounterrate.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_locationareaencounterrate.yaml @@ -2,19 +2,19 @@ table: name: pokemon_v2_locationareaencounterrate schema: public object_relationships: -- name: pokemon_v2_encountermethod - using: - foreign_key_constraint_on: encounter_method_id -- name: pokemon_v2_locationarea - using: - foreign_key_constraint_on: location_area_id -- name: pokemon_v2_version - using: - foreign_key_constraint_on: version_id + - name: pokemon_v2_encountermethod + using: + foreign_key_constraint_on: encounter_method_id + - name: pokemon_v2_locationarea + using: + foreign_key_constraint_on: location_area_id + - name: pokemon_v2_version + using: + foreign_key_constraint_on: version_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_locationareaname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_locationareaname.yaml index e977e372..becccf36 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_locationareaname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_locationareaname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_locationareaname schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_locationarea - using: - foreign_key_constraint_on: location_area_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_locationarea + using: + foreign_key_constraint_on: location_area_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_locationgameindex.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_locationgameindex.yaml index 1fcc91c4..064309e2 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_locationgameindex.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_locationgameindex.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_locationgameindex schema: public object_relationships: -- name: pokemon_v2_generation - using: - foreign_key_constraint_on: generation_id -- name: pokemon_v2_location - using: - foreign_key_constraint_on: location_id + - name: pokemon_v2_generation + using: + foreign_key_constraint_on: generation_id + - name: pokemon_v2_location + using: + foreign_key_constraint_on: location_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_locationname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_locationname.yaml index 5fb92377..d3924349 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_locationname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_locationname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_locationname schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_location - using: - foreign_key_constraint_on: location_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_location + using: + foreign_key_constraint_on: location_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_machine.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_machine.yaml index 3b50fe95..73d2abdb 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_machine.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_machine.yaml @@ -2,22 +2,22 @@ table: name: pokemon_v2_machine schema: public object_relationships: -- name: pokemon_v2_growthrate - using: - foreign_key_constraint_on: growth_rate_id -- name: pokemon_v2_item - using: - foreign_key_constraint_on: item_id -- name: pokemon_v2_move - using: - foreign_key_constraint_on: move_id -- name: pokemon_v2_versiongroup - using: - foreign_key_constraint_on: version_group_id + - name: pokemon_v2_growthrate + using: + foreign_key_constraint_on: growth_rate_id + - name: pokemon_v2_item + using: + foreign_key_constraint_on: item_id + - name: pokemon_v2_move + using: + foreign_key_constraint_on: move_id + - name: pokemon_v2_versiongroup + using: + foreign_key_constraint_on: version_group_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_move.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_move.yaml index 5c8cb8e8..ddea5a64 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_move.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_move.yaml @@ -2,133 +2,133 @@ table: name: pokemon_v2_move schema: public object_relationships: -- name: pokemon_v2_contesteffect - using: - foreign_key_constraint_on: contest_effect_id -- name: pokemon_v2_contesttype - using: - foreign_key_constraint_on: contest_type_id -- name: pokemon_v2_generation - using: - foreign_key_constraint_on: generation_id -- name: pokemon_v2_movedamageclass - using: - foreign_key_constraint_on: move_damage_class_id -- name: pokemon_v2_moveeffect - using: - foreign_key_constraint_on: move_effect_id -- name: pokemon_v2_movemetum - using: - foreign_key_constraint_on: - column: move_id - table: - name: pokemon_v2_movemeta - schema: public -- name: pokemon_v2_movetarget - using: - foreign_key_constraint_on: move_target_id -- name: pokemon_v2_supercontesteffect - using: - foreign_key_constraint_on: super_contest_effect_id -- name: pokemon_v2_type - using: - foreign_key_constraint_on: type_id + - name: pokemon_v2_contesteffect + using: + foreign_key_constraint_on: contest_effect_id + - name: pokemon_v2_contesttype + using: + foreign_key_constraint_on: contest_type_id + - name: pokemon_v2_generation + using: + foreign_key_constraint_on: generation_id + - name: pokemon_v2_movedamageclass + using: + foreign_key_constraint_on: move_damage_class_id + - name: pokemon_v2_moveeffect + using: + foreign_key_constraint_on: move_effect_id + - name: pokemon_v2_movemetum + using: + foreign_key_constraint_on: + column: move_id + table: + name: pokemon_v2_movemeta + schema: public + - name: pokemon_v2_movetarget + using: + foreign_key_constraint_on: move_target_id + - name: pokemon_v2_supercontesteffect + using: + foreign_key_constraint_on: super_contest_effect_id + - name: pokemon_v2_type + using: + foreign_key_constraint_on: type_id array_relationships: -- name: pokemonV2ContestcombosBySecondMoveId - using: - foreign_key_constraint_on: - column: second_move_id - table: - name: pokemon_v2_contestcombo - schema: public -- name: pokemonV2SupercontestcombosBySecondMoveId - using: - foreign_key_constraint_on: - column: second_move_id - table: - name: pokemon_v2_supercontestcombo - schema: public -- name: pokemon_v2_contestcombos - using: - foreign_key_constraint_on: - column: first_move_id - table: - name: pokemon_v2_contestcombo - schema: public -- name: pokemon_v2_machines - using: - foreign_key_constraint_on: - column: move_id - table: - name: pokemon_v2_machine - schema: public -- name: pokemon_v2_moveattributemaps - using: - foreign_key_constraint_on: - column: move_id - table: - name: pokemon_v2_moveattributemap - schema: public -- name: pokemon_v2_movechanges - using: - foreign_key_constraint_on: - column: move_id - table: - name: pokemon_v2_movechange - schema: public -- name: pokemon_v2_moveflavortexts - using: - foreign_key_constraint_on: - column: move_id - table: - name: pokemon_v2_moveflavortext - schema: public -- name: pokemon_v2_movemeta - using: - foreign_key_constraint_on: - column: move_id - table: - name: pokemon_v2_movemeta - schema: public -- name: pokemon_v2_movemetastatchanges - using: - foreign_key_constraint_on: - column: move_id - table: - name: pokemon_v2_movemetastatchange - schema: public -- name: pokemon_v2_movenames - using: - foreign_key_constraint_on: - column: move_id - table: - name: pokemon_v2_movename - schema: public -- name: pokemon_v2_pokemonevolutions - using: - foreign_key_constraint_on: - column: known_move_id - table: - name: pokemon_v2_pokemonevolution - schema: public -- name: pokemon_v2_pokemonmoves - using: - foreign_key_constraint_on: - column: move_id - table: - name: pokemon_v2_pokemonmove - schema: public -- name: pokemon_v2_supercontestcombos - using: - foreign_key_constraint_on: - column: first_move_id - table: - name: pokemon_v2_supercontestcombo - schema: public + - name: pokemonV2ContestcombosBySecondMoveId + using: + foreign_key_constraint_on: + column: second_move_id + table: + name: pokemon_v2_contestcombo + schema: public + - name: pokemonV2SupercontestcombosBySecondMoveId + using: + foreign_key_constraint_on: + column: second_move_id + table: + name: pokemon_v2_supercontestcombo + schema: public + - name: pokemon_v2_contestcombos + using: + foreign_key_constraint_on: + column: first_move_id + table: + name: pokemon_v2_contestcombo + schema: public + - name: pokemon_v2_machines + using: + foreign_key_constraint_on: + column: move_id + table: + name: pokemon_v2_machine + schema: public + - name: pokemon_v2_moveattributemaps + using: + foreign_key_constraint_on: + column: move_id + table: + name: pokemon_v2_moveattributemap + schema: public + - name: pokemon_v2_movechanges + using: + foreign_key_constraint_on: + column: move_id + table: + name: pokemon_v2_movechange + schema: public + - name: pokemon_v2_moveflavortexts + using: + foreign_key_constraint_on: + column: move_id + table: + name: pokemon_v2_moveflavortext + schema: public + - name: pokemon_v2_movemeta + using: + foreign_key_constraint_on: + column: move_id + table: + name: pokemon_v2_movemeta + schema: public + - name: pokemon_v2_movemetastatchanges + using: + foreign_key_constraint_on: + column: move_id + table: + name: pokemon_v2_movemetastatchange + schema: public + - name: pokemon_v2_movenames + using: + foreign_key_constraint_on: + column: move_id + table: + name: pokemon_v2_movename + schema: public + - name: pokemon_v2_pokemonevolutions + using: + foreign_key_constraint_on: + column: known_move_id + table: + name: pokemon_v2_pokemonevolution + schema: public + - name: pokemon_v2_pokemonmoves + using: + foreign_key_constraint_on: + column: move_id + table: + name: pokemon_v2_pokemonmove + schema: public + - name: pokemon_v2_supercontestcombos + using: + foreign_key_constraint_on: + column: first_move_id + table: + name: pokemon_v2_supercontestcombo + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_moveattribute.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_moveattribute.yaml index 7e4bb22b..5300cd49 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_moveattribute.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_moveattribute.yaml @@ -2,31 +2,31 @@ table: name: pokemon_v2_moveattribute schema: public array_relationships: -- name: pokemon_v2_moveattributedescriptions - using: - foreign_key_constraint_on: - column: move_attribute_id - table: - name: pokemon_v2_moveattributedescription - schema: public -- name: pokemon_v2_moveattributemaps - using: - foreign_key_constraint_on: - column: move_attribute_id - table: - name: pokemon_v2_moveattributemap - schema: public -- name: pokemon_v2_moveattributenames - using: - foreign_key_constraint_on: - column: move_attribute_id - table: - name: pokemon_v2_moveattributename - schema: public + - name: pokemon_v2_moveattributedescriptions + using: + foreign_key_constraint_on: + column: move_attribute_id + table: + name: pokemon_v2_moveattributedescription + schema: public + - name: pokemon_v2_moveattributemaps + using: + foreign_key_constraint_on: + column: move_attribute_id + table: + name: pokemon_v2_moveattributemap + schema: public + - name: pokemon_v2_moveattributenames + using: + foreign_key_constraint_on: + column: move_attribute_id + table: + name: pokemon_v2_moveattributename + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_moveattributedescription.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_moveattributedescription.yaml index 9e27aff2..5e2476f9 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_moveattributedescription.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_moveattributedescription.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_moveattributedescription schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_moveattribute - using: - foreign_key_constraint_on: move_attribute_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_moveattribute + using: + foreign_key_constraint_on: move_attribute_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_moveattributemap.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_moveattributemap.yaml index 7610993c..20784d9a 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_moveattributemap.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_moveattributemap.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_moveattributemap schema: public object_relationships: -- name: pokemon_v2_move - using: - foreign_key_constraint_on: move_id -- name: pokemon_v2_moveattribute - using: - foreign_key_constraint_on: move_attribute_id + - name: pokemon_v2_move + using: + foreign_key_constraint_on: move_id + - name: pokemon_v2_moveattribute + using: + foreign_key_constraint_on: move_attribute_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_moveattributename.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_moveattributename.yaml index 7a41dc3e..14ab0f7a 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_moveattributename.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_moveattributename.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_moveattributename schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_moveattribute - using: - foreign_key_constraint_on: move_attribute_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_moveattribute + using: + foreign_key_constraint_on: move_attribute_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_movebattlestyle.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_movebattlestyle.yaml index 196faafa..f0d04c14 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_movebattlestyle.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_movebattlestyle.yaml @@ -2,24 +2,24 @@ table: name: pokemon_v2_movebattlestyle schema: public array_relationships: -- name: pokemon_v2_movebattlestylenames - using: - foreign_key_constraint_on: - column: move_battle_style_id - table: - name: pokemon_v2_movebattlestylename - schema: public -- name: pokemon_v2_naturebattlestylepreferences - using: - foreign_key_constraint_on: - column: move_battle_style_id - table: - name: pokemon_v2_naturebattlestylepreference - schema: public + - name: pokemon_v2_movebattlestylenames + using: + foreign_key_constraint_on: + column: move_battle_style_id + table: + name: pokemon_v2_movebattlestylename + schema: public + - name: pokemon_v2_naturebattlestylepreferences + using: + foreign_key_constraint_on: + column: move_battle_style_id + table: + name: pokemon_v2_naturebattlestylepreference + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_movebattlestylename.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_movebattlestylename.yaml index ae9e5a80..0b7de9dd 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_movebattlestylename.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_movebattlestylename.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_movebattlestylename schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_movebattlestyle - using: - foreign_key_constraint_on: move_battle_style_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_movebattlestyle + using: + foreign_key_constraint_on: move_battle_style_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_movechange.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_movechange.yaml index c96505e6..b495b64c 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_movechange.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_movechange.yaml @@ -2,22 +2,22 @@ table: name: pokemon_v2_movechange schema: public object_relationships: -- name: pokemon_v2_move - using: - foreign_key_constraint_on: move_id -- name: pokemon_v2_moveeffect - using: - foreign_key_constraint_on: move_effect_id -- name: pokemon_v2_type - using: - foreign_key_constraint_on: type_id -- name: pokemon_v2_versiongroup - using: - foreign_key_constraint_on: version_group_id + - name: pokemon_v2_move + using: + foreign_key_constraint_on: move_id + - name: pokemon_v2_moveeffect + using: + foreign_key_constraint_on: move_effect_id + - name: pokemon_v2_type + using: + foreign_key_constraint_on: type_id + - name: pokemon_v2_versiongroup + using: + foreign_key_constraint_on: version_group_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_movedamageclass.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_movedamageclass.yaml index 1ae6790a..528d8d1e 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_movedamageclass.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_movedamageclass.yaml @@ -2,45 +2,45 @@ table: name: pokemon_v2_movedamageclass schema: public array_relationships: -- name: pokemon_v2_movedamageclassdescriptions - using: - foreign_key_constraint_on: - column: move_damage_class_id - table: - name: pokemon_v2_movedamageclassdescription - schema: public -- name: pokemon_v2_movedamageclassnames - using: - foreign_key_constraint_on: - column: move_damage_class_id - table: - name: pokemon_v2_movedamageclassname - schema: public -- name: pokemon_v2_moves - using: - foreign_key_constraint_on: - column: move_damage_class_id - table: - name: pokemon_v2_move - schema: public -- name: pokemon_v2_stats - using: - foreign_key_constraint_on: - column: move_damage_class_id - table: - name: pokemon_v2_stat - schema: public -- name: pokemon_v2_types - using: - foreign_key_constraint_on: - column: move_damage_class_id - table: - name: pokemon_v2_type - schema: public + - name: pokemon_v2_movedamageclassdescriptions + using: + foreign_key_constraint_on: + column: move_damage_class_id + table: + name: pokemon_v2_movedamageclassdescription + schema: public + - name: pokemon_v2_movedamageclassnames + using: + foreign_key_constraint_on: + column: move_damage_class_id + table: + name: pokemon_v2_movedamageclassname + schema: public + - name: pokemon_v2_moves + using: + foreign_key_constraint_on: + column: move_damage_class_id + table: + name: pokemon_v2_move + schema: public + - name: pokemon_v2_stats + using: + foreign_key_constraint_on: + column: move_damage_class_id + table: + name: pokemon_v2_stat + schema: public + - name: pokemon_v2_types + using: + foreign_key_constraint_on: + column: move_damage_class_id + table: + name: pokemon_v2_type + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_movedamageclassdescription.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_movedamageclassdescription.yaml index 400e0b89..8ba49d17 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_movedamageclassdescription.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_movedamageclassdescription.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_movedamageclassdescription schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_movedamageclass - using: - foreign_key_constraint_on: move_damage_class_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_movedamageclass + using: + foreign_key_constraint_on: move_damage_class_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_movedamageclassname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_movedamageclassname.yaml index f43baeaa..135ca05d 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_movedamageclassname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_movedamageclassname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_movedamageclassname schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_movedamageclass - using: - foreign_key_constraint_on: move_damage_class_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_movedamageclass + using: + foreign_key_constraint_on: move_damage_class_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_moveeffect.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_moveeffect.yaml index 4170321f..32465d1e 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_moveeffect.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_moveeffect.yaml @@ -2,38 +2,38 @@ table: name: pokemon_v2_moveeffect schema: public array_relationships: -- name: pokemon_v2_movechanges - using: - foreign_key_constraint_on: - column: move_effect_id - table: - name: pokemon_v2_movechange - schema: public -- name: pokemon_v2_moveeffectchanges - using: - foreign_key_constraint_on: - column: move_effect_id - table: - name: pokemon_v2_moveeffectchange - schema: public -- name: pokemon_v2_moveeffecteffecttexts - using: - foreign_key_constraint_on: - column: move_effect_id - table: - name: pokemon_v2_moveeffecteffecttext - schema: public -- name: pokemon_v2_moves - using: - foreign_key_constraint_on: - column: move_effect_id - table: - name: pokemon_v2_move - schema: public + - name: pokemon_v2_movechanges + using: + foreign_key_constraint_on: + column: move_effect_id + table: + name: pokemon_v2_movechange + schema: public + - name: pokemon_v2_moveeffectchanges + using: + foreign_key_constraint_on: + column: move_effect_id + table: + name: pokemon_v2_moveeffectchange + schema: public + - name: pokemon_v2_moveeffecteffecttexts + using: + foreign_key_constraint_on: + column: move_effect_id + table: + name: pokemon_v2_moveeffecteffecttext + schema: public + - name: pokemon_v2_moves + using: + foreign_key_constraint_on: + column: move_effect_id + table: + name: pokemon_v2_move + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_moveeffectchange.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_moveeffectchange.yaml index 94b2a60e..264c9a4c 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_moveeffectchange.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_moveeffectchange.yaml @@ -2,24 +2,24 @@ table: name: pokemon_v2_moveeffectchange schema: public object_relationships: -- name: pokemon_v2_moveeffect - using: - foreign_key_constraint_on: move_effect_id -- name: pokemon_v2_versiongroup - using: - foreign_key_constraint_on: version_group_id + - name: pokemon_v2_moveeffect + using: + foreign_key_constraint_on: move_effect_id + - name: pokemon_v2_versiongroup + using: + foreign_key_constraint_on: version_group_id array_relationships: -- name: pokemon_v2_moveeffectchangeeffecttexts - using: - foreign_key_constraint_on: - column: move_effect_change_id - table: - name: pokemon_v2_moveeffectchangeeffecttext - schema: public + - name: pokemon_v2_moveeffectchangeeffecttexts + using: + foreign_key_constraint_on: + column: move_effect_change_id + table: + name: pokemon_v2_moveeffectchangeeffecttext + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_moveeffectchangeeffecttext.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_moveeffectchangeeffecttext.yaml index 05b63a8f..4739d3cb 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_moveeffectchangeeffecttext.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_moveeffectchangeeffecttext.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_moveeffectchangeeffecttext schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_moveeffectchange - using: - foreign_key_constraint_on: move_effect_change_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_moveeffectchange + using: + foreign_key_constraint_on: move_effect_change_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_moveeffecteffecttext.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_moveeffecteffecttext.yaml index 4b6ca1bb..ecda96cd 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_moveeffecteffecttext.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_moveeffecteffecttext.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_moveeffecteffecttext schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_moveeffect - using: - foreign_key_constraint_on: move_effect_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_moveeffect + using: + foreign_key_constraint_on: move_effect_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_moveflavortext.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_moveflavortext.yaml index 26691728..65041d82 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_moveflavortext.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_moveflavortext.yaml @@ -2,19 +2,19 @@ table: name: pokemon_v2_moveflavortext schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_move - using: - foreign_key_constraint_on: move_id -- name: pokemon_v2_versiongroup - using: - foreign_key_constraint_on: version_group_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_move + using: + foreign_key_constraint_on: move_id + - name: pokemon_v2_versiongroup + using: + foreign_key_constraint_on: version_group_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_movelearnmethod.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_movelearnmethod.yaml index 78aeccdd..e81f584e 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_movelearnmethod.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_movelearnmethod.yaml @@ -2,38 +2,38 @@ table: name: pokemon_v2_movelearnmethod schema: public array_relationships: -- name: pokemon_v2_movelearnmethoddescriptions - using: - foreign_key_constraint_on: - column: move_learn_method_id - table: - name: pokemon_v2_movelearnmethoddescription - schema: public -- name: pokemon_v2_movelearnmethodnames - using: - foreign_key_constraint_on: - column: move_learn_method_id - table: - name: pokemon_v2_movelearnmethodname - schema: public -- name: pokemon_v2_pokemonmoves - using: - foreign_key_constraint_on: - column: move_learn_method_id - table: - name: pokemon_v2_pokemonmove - schema: public -- name: pokemon_v2_versiongroupmovelearnmethods - using: - foreign_key_constraint_on: - column: move_learn_method_id - table: - name: pokemon_v2_versiongroupmovelearnmethod - schema: public + - name: pokemon_v2_movelearnmethoddescriptions + using: + foreign_key_constraint_on: + column: move_learn_method_id + table: + name: pokemon_v2_movelearnmethoddescription + schema: public + - name: pokemon_v2_movelearnmethodnames + using: + foreign_key_constraint_on: + column: move_learn_method_id + table: + name: pokemon_v2_movelearnmethodname + schema: public + - name: pokemon_v2_pokemonmoves + using: + foreign_key_constraint_on: + column: move_learn_method_id + table: + name: pokemon_v2_pokemonmove + schema: public + - name: pokemon_v2_versiongroupmovelearnmethods + using: + foreign_key_constraint_on: + column: move_learn_method_id + table: + name: pokemon_v2_versiongroupmovelearnmethod + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_movelearnmethoddescription.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_movelearnmethoddescription.yaml index ea1f29e6..b42b181f 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_movelearnmethoddescription.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_movelearnmethoddescription.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_movelearnmethoddescription schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_movelearnmethod - using: - foreign_key_constraint_on: move_learn_method_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_movelearnmethod + using: + foreign_key_constraint_on: move_learn_method_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_movelearnmethodname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_movelearnmethodname.yaml index eeafdef2..4e35626e 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_movelearnmethodname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_movelearnmethodname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_movelearnmethodname schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_movelearnmethod - using: - foreign_key_constraint_on: move_learn_method_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_movelearnmethod + using: + foreign_key_constraint_on: move_learn_method_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_movemeta.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_movemeta.yaml index 335d71b2..d702432b 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_movemeta.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_movemeta.yaml @@ -2,19 +2,19 @@ table: name: pokemon_v2_movemeta schema: public object_relationships: -- name: pokemon_v2_move - using: - foreign_key_constraint_on: move_id -- name: pokemon_v2_movemetaailment - using: - foreign_key_constraint_on: move_meta_ailment_id -- name: pokemon_v2_movemetacategory - using: - foreign_key_constraint_on: move_meta_category_id + - name: pokemon_v2_move + using: + foreign_key_constraint_on: move_id + - name: pokemon_v2_movemetaailment + using: + foreign_key_constraint_on: move_meta_ailment_id + - name: pokemon_v2_movemetacategory + using: + foreign_key_constraint_on: move_meta_category_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_movemetaailment.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_movemetaailment.yaml index 810a4112..dfab65fc 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_movemetaailment.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_movemetaailment.yaml @@ -2,24 +2,24 @@ table: name: pokemon_v2_movemetaailment schema: public array_relationships: -- name: pokemon_v2_movemeta - using: - foreign_key_constraint_on: - column: move_meta_ailment_id - table: - name: pokemon_v2_movemeta - schema: public -- name: pokemon_v2_movemetaailmentnames - using: - foreign_key_constraint_on: - column: move_meta_ailment_id - table: - name: pokemon_v2_movemetaailmentname - schema: public + - name: pokemon_v2_movemeta + using: + foreign_key_constraint_on: + column: move_meta_ailment_id + table: + name: pokemon_v2_movemeta + schema: public + - name: pokemon_v2_movemetaailmentnames + using: + foreign_key_constraint_on: + column: move_meta_ailment_id + table: + name: pokemon_v2_movemetaailmentname + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_movemetaailmentname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_movemetaailmentname.yaml index 3fe7ee53..63ad4cc1 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_movemetaailmentname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_movemetaailmentname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_movemetaailmentname schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_movemetaailment - using: - foreign_key_constraint_on: move_meta_ailment_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_movemetaailment + using: + foreign_key_constraint_on: move_meta_ailment_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_movemetacategory.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_movemetacategory.yaml index 62a54f3b..a9d9ddc1 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_movemetacategory.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_movemetacategory.yaml @@ -2,24 +2,24 @@ table: name: pokemon_v2_movemetacategory schema: public array_relationships: -- name: pokemon_v2_movemeta - using: - foreign_key_constraint_on: - column: move_meta_category_id - table: - name: pokemon_v2_movemeta - schema: public -- name: pokemon_v2_movemetacategorydescriptions - using: - foreign_key_constraint_on: - column: move_meta_category_id - table: - name: pokemon_v2_movemetacategorydescription - schema: public + - name: pokemon_v2_movemeta + using: + foreign_key_constraint_on: + column: move_meta_category_id + table: + name: pokemon_v2_movemeta + schema: public + - name: pokemon_v2_movemetacategorydescriptions + using: + foreign_key_constraint_on: + column: move_meta_category_id + table: + name: pokemon_v2_movemetacategorydescription + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_movemetacategorydescription.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_movemetacategorydescription.yaml index ef5ac3c0..917e1d88 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_movemetacategorydescription.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_movemetacategorydescription.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_movemetacategorydescription schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_movemetacategory - using: - foreign_key_constraint_on: move_meta_category_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_movemetacategory + using: + foreign_key_constraint_on: move_meta_category_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_movemetastatchange.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_movemetastatchange.yaml index f69d5312..98c74f0c 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_movemetastatchange.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_movemetastatchange.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_movemetastatchange schema: public object_relationships: -- name: pokemon_v2_move - using: - foreign_key_constraint_on: move_id -- name: pokemon_v2_stat - using: - foreign_key_constraint_on: stat_id + - name: pokemon_v2_move + using: + foreign_key_constraint_on: move_id + - name: pokemon_v2_stat + using: + foreign_key_constraint_on: stat_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_movename.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_movename.yaml index ff92c936..39b13edb 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_movename.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_movename.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_movename schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_move - using: - foreign_key_constraint_on: move_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_move + using: + foreign_key_constraint_on: move_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_movetarget.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_movetarget.yaml index 85844152..e0100e82 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_movetarget.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_movetarget.yaml @@ -2,31 +2,31 @@ table: name: pokemon_v2_movetarget schema: public array_relationships: -- name: pokemon_v2_moves - using: - foreign_key_constraint_on: - column: move_target_id - table: - name: pokemon_v2_move - schema: public -- name: pokemon_v2_movetargetdescriptions - using: - foreign_key_constraint_on: - column: move_target_id - table: - name: pokemon_v2_movetargetdescription - schema: public -- name: pokemon_v2_movetargetnames - using: - foreign_key_constraint_on: - column: move_target_id - table: - name: pokemon_v2_movetargetname - schema: public + - name: pokemon_v2_moves + using: + foreign_key_constraint_on: + column: move_target_id + table: + name: pokemon_v2_move + schema: public + - name: pokemon_v2_movetargetdescriptions + using: + foreign_key_constraint_on: + column: move_target_id + table: + name: pokemon_v2_movetargetdescription + schema: public + - name: pokemon_v2_movetargetnames + using: + foreign_key_constraint_on: + column: move_target_id + table: + name: pokemon_v2_movetargetname + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_movetargetdescription.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_movetargetdescription.yaml index 7b435898..1b936c41 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_movetargetdescription.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_movetargetdescription.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_movetargetdescription schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_movetarget - using: - foreign_key_constraint_on: move_target_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_movetarget + using: + foreign_key_constraint_on: move_target_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_movetargetname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_movetargetname.yaml index ac0df2d5..8ebfca17 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_movetargetname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_movetargetname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_movetargetname schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_movetarget - using: - foreign_key_constraint_on: move_target_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_movetarget + using: + foreign_key_constraint_on: move_target_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_nature.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_nature.yaml index f6e4c8ba..c4748f29 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_nature.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_nature.yaml @@ -2,44 +2,44 @@ table: name: pokemon_v2_nature schema: public object_relationships: -- name: pokemonV2BerryflavorByLikesFlavorId - using: - foreign_key_constraint_on: likes_flavor_id -- name: pokemonV2StatByIncreasedStatId - using: - foreign_key_constraint_on: increased_stat_id -- name: pokemon_v2_berryflavor - using: - foreign_key_constraint_on: hates_flavor_id -- name: pokemon_v2_stat - using: - foreign_key_constraint_on: decreased_stat_id + - name: pokemonV2BerryflavorByLikesFlavorId + using: + foreign_key_constraint_on: likes_flavor_id + - name: pokemonV2StatByIncreasedStatId + using: + foreign_key_constraint_on: increased_stat_id + - name: pokemon_v2_berryflavor + using: + foreign_key_constraint_on: hates_flavor_id + - name: pokemon_v2_stat + using: + foreign_key_constraint_on: decreased_stat_id array_relationships: -- name: pokemon_v2_naturebattlestylepreferences - using: - foreign_key_constraint_on: - column: nature_id - table: - name: pokemon_v2_naturebattlestylepreference - schema: public -- name: pokemon_v2_naturenames - using: - foreign_key_constraint_on: - column: nature_id - table: - name: pokemon_v2_naturename - schema: public -- name: pokemon_v2_naturepokeathlonstats - using: - foreign_key_constraint_on: - column: nature_id - table: - name: pokemon_v2_naturepokeathlonstat - schema: public + - name: pokemon_v2_naturebattlestylepreferences + using: + foreign_key_constraint_on: + column: nature_id + table: + name: pokemon_v2_naturebattlestylepreference + schema: public + - name: pokemon_v2_naturenames + using: + foreign_key_constraint_on: + column: nature_id + table: + name: pokemon_v2_naturename + schema: public + - name: pokemon_v2_naturepokeathlonstats + using: + foreign_key_constraint_on: + column: nature_id + table: + name: pokemon_v2_naturepokeathlonstat + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_naturebattlestylepreference.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_naturebattlestylepreference.yaml index cafe30ac..20cdcb57 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_naturebattlestylepreference.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_naturebattlestylepreference.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_naturebattlestylepreference schema: public object_relationships: -- name: pokemon_v2_movebattlestyle - using: - foreign_key_constraint_on: move_battle_style_id -- name: pokemon_v2_nature - using: - foreign_key_constraint_on: nature_id + - name: pokemon_v2_movebattlestyle + using: + foreign_key_constraint_on: move_battle_style_id + - name: pokemon_v2_nature + using: + foreign_key_constraint_on: nature_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_naturename.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_naturename.yaml index 21c906e4..31e00f7e 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_naturename.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_naturename.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_naturename schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_nature - using: - foreign_key_constraint_on: nature_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_nature + using: + foreign_key_constraint_on: nature_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_naturepokeathlonstat.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_naturepokeathlonstat.yaml index d2ae2ee1..a5eb2092 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_naturepokeathlonstat.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_naturepokeathlonstat.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_naturepokeathlonstat schema: public object_relationships: -- name: pokemon_v2_nature - using: - foreign_key_constraint_on: nature_id -- name: pokemon_v2_pokeathlonstat - using: - foreign_key_constraint_on: pokeathlon_stat_id + - name: pokemon_v2_nature + using: + foreign_key_constraint_on: nature_id + - name: pokemon_v2_pokeathlonstat + using: + foreign_key_constraint_on: pokeathlon_stat_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_palpark.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_palpark.yaml index 5c8da912..8e16fbed 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_palpark.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_palpark.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_palpark schema: public object_relationships: -- name: pokemon_v2_palparkarea - using: - foreign_key_constraint_on: pal_park_area_id -- name: pokemon_v2_pokemonspecy - using: - foreign_key_constraint_on: pokemon_species_id + - name: pokemon_v2_palparkarea + using: + foreign_key_constraint_on: pal_park_area_id + - name: pokemon_v2_pokemonspecy + using: + foreign_key_constraint_on: pokemon_species_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_palparkarea.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_palparkarea.yaml index 01cefaf8..af3c4878 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_palparkarea.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_palparkarea.yaml @@ -2,24 +2,24 @@ table: name: pokemon_v2_palparkarea schema: public array_relationships: -- name: pokemon_v2_palparkareanames - using: - foreign_key_constraint_on: - column: pal_park_area_id - table: - name: pokemon_v2_palparkareaname - schema: public -- name: pokemon_v2_palparks - using: - foreign_key_constraint_on: - column: pal_park_area_id - table: - name: pokemon_v2_palpark - schema: public + - name: pokemon_v2_palparkareanames + using: + foreign_key_constraint_on: + column: pal_park_area_id + table: + name: pokemon_v2_palparkareaname + schema: public + - name: pokemon_v2_palparks + using: + foreign_key_constraint_on: + column: pal_park_area_id + table: + name: pokemon_v2_palpark + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_palparkareaname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_palparkareaname.yaml index 28d39c76..53e0761d 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_palparkareaname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_palparkareaname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_palparkareaname schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_palparkarea - using: - foreign_key_constraint_on: pal_park_area_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_palparkarea + using: + foreign_key_constraint_on: pal_park_area_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokeathlonstat.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokeathlonstat.yaml index 171e4d2d..d1fdb26b 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokeathlonstat.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokeathlonstat.yaml @@ -2,24 +2,24 @@ table: name: pokemon_v2_pokeathlonstat schema: public array_relationships: -- name: pokemon_v2_naturepokeathlonstats - using: - foreign_key_constraint_on: - column: pokeathlon_stat_id - table: - name: pokemon_v2_naturepokeathlonstat - schema: public -- name: pokemon_v2_pokeathlonstatnames - using: - foreign_key_constraint_on: - column: pokeathlon_stat_id - table: - name: pokemon_v2_pokeathlonstatname - schema: public + - name: pokemon_v2_naturepokeathlonstats + using: + foreign_key_constraint_on: + column: pokeathlon_stat_id + table: + name: pokemon_v2_naturepokeathlonstat + schema: public + - name: pokemon_v2_pokeathlonstatnames + using: + foreign_key_constraint_on: + column: pokeathlon_stat_id + table: + name: pokemon_v2_pokeathlonstatname + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokeathlonstatname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokeathlonstatname.yaml index 4525170b..49cdc999 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokeathlonstatname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokeathlonstatname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_pokeathlonstatname schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_pokeathlonstat - using: - foreign_key_constraint_on: pokeathlon_stat_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_pokeathlonstat + using: + foreign_key_constraint_on: pokeathlon_stat_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokedex.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokedex.yaml index e1acc3fe..1c899ea5 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokedex.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokedex.yaml @@ -2,42 +2,42 @@ table: name: pokemon_v2_pokedex schema: public object_relationships: -- name: pokemon_v2_region - using: - foreign_key_constraint_on: region_id + - name: pokemon_v2_region + using: + foreign_key_constraint_on: region_id array_relationships: -- name: pokemon_v2_pokedexdescriptions - using: - foreign_key_constraint_on: - column: pokedex_id - table: - name: pokemon_v2_pokedexdescription - schema: public -- name: pokemon_v2_pokedexnames - using: - foreign_key_constraint_on: - column: pokedex_id - table: - name: pokemon_v2_pokedexname - schema: public -- name: pokemon_v2_pokedexversiongroups - using: - foreign_key_constraint_on: - column: pokedex_id - table: - name: pokemon_v2_pokedexversiongroup - schema: public -- name: pokemon_v2_pokemondexnumbers - using: - foreign_key_constraint_on: - column: pokedex_id - table: - name: pokemon_v2_pokemondexnumber - schema: public + - name: pokemon_v2_pokedexdescriptions + using: + foreign_key_constraint_on: + column: pokedex_id + table: + name: pokemon_v2_pokedexdescription + schema: public + - name: pokemon_v2_pokedexnames + using: + foreign_key_constraint_on: + column: pokedex_id + table: + name: pokemon_v2_pokedexname + schema: public + - name: pokemon_v2_pokedexversiongroups + using: + foreign_key_constraint_on: + column: pokedex_id + table: + name: pokemon_v2_pokedexversiongroup + schema: public + - name: pokemon_v2_pokemondexnumbers + using: + foreign_key_constraint_on: + column: pokedex_id + table: + name: pokemon_v2_pokemondexnumber + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokedexdescription.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokedexdescription.yaml index d81bc94b..45615f43 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokedexdescription.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokedexdescription.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_pokedexdescription schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_pokedex - using: - foreign_key_constraint_on: pokedex_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_pokedex + using: + foreign_key_constraint_on: pokedex_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokedexname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokedexname.yaml index 55c52cd7..de6fb3fe 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokedexname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokedexname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_pokedexname schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_pokedex - using: - foreign_key_constraint_on: pokedex_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_pokedex + using: + foreign_key_constraint_on: pokedex_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokedexversiongroup.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokedexversiongroup.yaml index c2099e0a..eba8be82 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokedexversiongroup.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokedexversiongroup.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_pokedexversiongroup schema: public object_relationships: -- name: pokemon_v2_pokedex - using: - foreign_key_constraint_on: pokedex_id -- name: pokemon_v2_versiongroup - using: - foreign_key_constraint_on: version_group_id + - name: pokemon_v2_pokedex + using: + foreign_key_constraint_on: pokedex_id + - name: pokemon_v2_versiongroup + using: + foreign_key_constraint_on: version_group_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemon.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemon.yaml index 98567850..27851bc1 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemon.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemon.yaml @@ -2,91 +2,91 @@ table: name: pokemon_v2_pokemon schema: public object_relationships: -- name: pokemon_v2_pokemonspecy - using: - foreign_key_constraint_on: pokemon_species_id + - name: pokemon_v2_pokemonspecy + using: + foreign_key_constraint_on: pokemon_species_id array_relationships: -- name: pokemon_v2_encounters - using: - foreign_key_constraint_on: - column: pokemon_id - table: - name: pokemon_v2_encounter - schema: public -- name: pokemon_v2_pokemonabilities - using: - foreign_key_constraint_on: - column: pokemon_id - table: - name: pokemon_v2_pokemonability - schema: public -- name: pokemon_v2_pokemonabilitypasts - using: - foreign_key_constraint_on: - column: pokemon_id - table: - name: pokemon_v2_pokemonabilitypast - schema: public -- name: pokemon_v2_pokemonforms - using: - foreign_key_constraint_on: - column: pokemon_id - table: - name: pokemon_v2_pokemonform - schema: public -- name: pokemon_v2_pokemongameindices - using: - foreign_key_constraint_on: - column: pokemon_id - table: - name: pokemon_v2_pokemongameindex - schema: public -- name: pokemon_v2_pokemonitems - using: - foreign_key_constraint_on: - column: pokemon_id - table: - name: pokemon_v2_pokemonitem - schema: public -- name: pokemon_v2_pokemonmoves - using: - foreign_key_constraint_on: - column: pokemon_id - table: - name: pokemon_v2_pokemonmove - schema: public -- name: pokemon_v2_pokemonsprites - using: - foreign_key_constraint_on: - column: pokemon_id - table: - name: pokemon_v2_pokemonsprites - schema: public -- name: pokemon_v2_pokemonstats - using: - foreign_key_constraint_on: - column: pokemon_id - table: - name: pokemon_v2_pokemonstat - schema: public -- name: pokemon_v2_pokemontypepasts - using: - foreign_key_constraint_on: - column: pokemon_id - table: - name: pokemon_v2_pokemontypepast - schema: public -- name: pokemon_v2_pokemontypes - using: - foreign_key_constraint_on: - column: pokemon_id - table: - name: pokemon_v2_pokemontype - schema: public + - name: pokemon_v2_encounters + using: + foreign_key_constraint_on: + column: pokemon_id + table: + name: pokemon_v2_encounter + schema: public + - name: pokemon_v2_pokemonabilities + using: + foreign_key_constraint_on: + column: pokemon_id + table: + name: pokemon_v2_pokemonability + schema: public + - name: pokemon_v2_pokemonabilitypasts + using: + foreign_key_constraint_on: + column: pokemon_id + table: + name: pokemon_v2_pokemonabilitypast + schema: public + - name: pokemon_v2_pokemonforms + using: + foreign_key_constraint_on: + column: pokemon_id + table: + name: pokemon_v2_pokemonform + schema: public + - name: pokemon_v2_pokemongameindices + using: + foreign_key_constraint_on: + column: pokemon_id + table: + name: pokemon_v2_pokemongameindex + schema: public + - name: pokemon_v2_pokemonitems + using: + foreign_key_constraint_on: + column: pokemon_id + table: + name: pokemon_v2_pokemonitem + schema: public + - name: pokemon_v2_pokemonmoves + using: + foreign_key_constraint_on: + column: pokemon_id + table: + name: pokemon_v2_pokemonmove + schema: public + - name: pokemon_v2_pokemonsprites + using: + foreign_key_constraint_on: + column: pokemon_id + table: + name: pokemon_v2_pokemonsprites + schema: public + - name: pokemon_v2_pokemonstats + using: + foreign_key_constraint_on: + column: pokemon_id + table: + name: pokemon_v2_pokemonstat + schema: public + - name: pokemon_v2_pokemontypepasts + using: + foreign_key_constraint_on: + column: pokemon_id + table: + name: pokemon_v2_pokemontypepast + schema: public + - name: pokemon_v2_pokemontypes + using: + foreign_key_constraint_on: + column: pokemon_id + table: + name: pokemon_v2_pokemontype + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonability.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonability.yaml index 7c756379..fb9c0172 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonability.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonability.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_pokemonability schema: public object_relationships: -- name: pokemon_v2_ability - using: - foreign_key_constraint_on: ability_id -- name: pokemon_v2_pokemon - using: - foreign_key_constraint_on: pokemon_id + - name: pokemon_v2_ability + using: + foreign_key_constraint_on: ability_id + - name: pokemon_v2_pokemon + using: + foreign_key_constraint_on: pokemon_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonabilitypast.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonabilitypast.yaml index 1f1f28c1..9e349111 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonabilitypast.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonabilitypast.yaml @@ -2,12 +2,12 @@ table: name: pokemon_v2_pokemonabilitypast schema: public object_relationships: -- name: pokemon_v2_ability - using: - foreign_key_constraint_on: ability_id -- name: pokemon_v2_generation - using: - foreign_key_constraint_on: generation_id -- name: pokemon_v2_pokemon - using: - foreign_key_constraint_on: pokemon_id + - name: pokemon_v2_ability + using: + foreign_key_constraint_on: ability_id + - name: pokemon_v2_generation + using: + foreign_key_constraint_on: generation_id + - name: pokemon_v2_pokemon + using: + foreign_key_constraint_on: pokemon_id diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemoncolor.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemoncolor.yaml index 5dc59afe..b67d4525 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemoncolor.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemoncolor.yaml @@ -2,24 +2,24 @@ table: name: pokemon_v2_pokemoncolor schema: public array_relationships: -- name: pokemon_v2_pokemoncolornames - using: - foreign_key_constraint_on: - column: pokemon_color_id - table: - name: pokemon_v2_pokemoncolorname - schema: public -- name: pokemon_v2_pokemonspecies - using: - foreign_key_constraint_on: - column: pokemon_color_id - table: - name: pokemon_v2_pokemonspecies - schema: public + - name: pokemon_v2_pokemoncolornames + using: + foreign_key_constraint_on: + column: pokemon_color_id + table: + name: pokemon_v2_pokemoncolorname + schema: public + - name: pokemon_v2_pokemonspecies + using: + foreign_key_constraint_on: + column: pokemon_color_id + table: + name: pokemon_v2_pokemonspecies + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemoncolorname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemoncolorname.yaml index 5ac6399d..535bc83c 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemoncolorname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemoncolorname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_pokemoncolorname schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_pokemoncolor - using: - foreign_key_constraint_on: pokemon_color_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_pokemoncolor + using: + foreign_key_constraint_on: pokemon_color_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemondexnumber.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemondexnumber.yaml index 4da390c3..042aa26a 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemondexnumber.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemondexnumber.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_pokemondexnumber schema: public object_relationships: -- name: pokemon_v2_pokedex - using: - foreign_key_constraint_on: pokedex_id -- name: pokemon_v2_pokemonspecy - using: - foreign_key_constraint_on: pokemon_species_id + - name: pokemon_v2_pokedex + using: + foreign_key_constraint_on: pokedex_id + - name: pokemon_v2_pokemonspecy + using: + foreign_key_constraint_on: pokemon_species_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonegggroup.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonegggroup.yaml index c1cb71d7..df71ed6a 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonegggroup.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonegggroup.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_pokemonegggroup schema: public object_relationships: -- name: pokemon_v2_egggroup - using: - foreign_key_constraint_on: egg_group_id -- name: pokemon_v2_pokemonspecy - using: - foreign_key_constraint_on: pokemon_species_id + - name: pokemon_v2_egggroup + using: + foreign_key_constraint_on: egg_group_id + - name: pokemon_v2_pokemonspecy + using: + foreign_key_constraint_on: pokemon_species_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonevolution.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonevolution.yaml index 2b1f0bc1..ea45f4a8 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonevolution.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonevolution.yaml @@ -2,43 +2,43 @@ table: name: pokemon_v2_pokemonevolution schema: public object_relationships: -- name: pokemonV2ItemByHeldItemId - using: - foreign_key_constraint_on: held_item_id -- name: pokemonV2PokemonspecyByPartySpeciesId - using: - foreign_key_constraint_on: party_species_id -- name: pokemonV2PokemonspecyByTradeSpeciesId - using: - foreign_key_constraint_on: trade_species_id -- name: pokemonV2TypeByPartyTypeId - using: - foreign_key_constraint_on: party_type_id -- name: pokemon_v2_evolutiontrigger - using: - foreign_key_constraint_on: evolution_trigger_id -- name: pokemon_v2_gender - using: - foreign_key_constraint_on: gender_id -- name: pokemon_v2_item - using: - foreign_key_constraint_on: evolution_item_id -- name: pokemon_v2_location - using: - foreign_key_constraint_on: location_id -- name: pokemon_v2_move - using: - foreign_key_constraint_on: known_move_id -- name: pokemon_v2_pokemonspecy - using: - foreign_key_constraint_on: evolved_species_id -- name: pokemon_v2_type - using: - foreign_key_constraint_on: known_move_type_id + - name: pokemonV2ItemByHeldItemId + using: + foreign_key_constraint_on: held_item_id + - name: pokemonV2PokemonspecyByPartySpeciesId + using: + foreign_key_constraint_on: party_species_id + - name: pokemonV2PokemonspecyByTradeSpeciesId + using: + foreign_key_constraint_on: trade_species_id + - name: pokemonV2TypeByPartyTypeId + using: + foreign_key_constraint_on: party_type_id + - name: pokemon_v2_evolutiontrigger + using: + foreign_key_constraint_on: evolution_trigger_id + - name: pokemon_v2_gender + using: + foreign_key_constraint_on: gender_id + - name: pokemon_v2_item + using: + foreign_key_constraint_on: evolution_item_id + - name: pokemon_v2_location + using: + foreign_key_constraint_on: location_id + - name: pokemon_v2_move + using: + foreign_key_constraint_on: known_move_id + - name: pokemon_v2_pokemonspecy + using: + foreign_key_constraint_on: evolved_species_id + - name: pokemon_v2_type + using: + foreign_key_constraint_on: known_move_type_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonform.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonform.yaml index fe5592e3..4f7cbab4 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonform.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonform.yaml @@ -2,45 +2,45 @@ table: name: pokemon_v2_pokemonform schema: public object_relationships: -- name: pokemon_v2_pokemon - using: - foreign_key_constraint_on: pokemon_id -- name: pokemon_v2_versiongroup - using: - foreign_key_constraint_on: version_group_id + - name: pokemon_v2_pokemon + using: + foreign_key_constraint_on: pokemon_id + - name: pokemon_v2_versiongroup + using: + foreign_key_constraint_on: version_group_id array_relationships: -- name: pokemon_v2_pokemonformgenerations - using: - foreign_key_constraint_on: - column: pokemon_form_id - table: - name: pokemon_v2_pokemonformgeneration - schema: public -- name: pokemon_v2_pokemonformnames - using: - foreign_key_constraint_on: - column: pokemon_form_id - table: - name: pokemon_v2_pokemonformname - schema: public -- name: pokemon_v2_pokemonformsprites - using: - foreign_key_constraint_on: - column: pokemon_form_id - table: - name: pokemon_v2_pokemonformsprites - schema: public -- name: pokemon_v2_pokemonformtypes - using: - foreign_key_constraint_on: - column: pokemon_form_id - table: - name: pokemon_v2_pokemonformtype - schema: public + - name: pokemon_v2_pokemonformgenerations + using: + foreign_key_constraint_on: + column: pokemon_form_id + table: + name: pokemon_v2_pokemonformgeneration + schema: public + - name: pokemon_v2_pokemonformnames + using: + foreign_key_constraint_on: + column: pokemon_form_id + table: + name: pokemon_v2_pokemonformname + schema: public + - name: pokemon_v2_pokemonformsprites + using: + foreign_key_constraint_on: + column: pokemon_form_id + table: + name: pokemon_v2_pokemonformsprites + schema: public + - name: pokemon_v2_pokemonformtypes + using: + foreign_key_constraint_on: + column: pokemon_form_id + table: + name: pokemon_v2_pokemonformtype + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonformgeneration.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonformgeneration.yaml index 766c5ce6..a217ea36 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonformgeneration.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonformgeneration.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_pokemonformgeneration schema: public object_relationships: -- name: pokemon_v2_generation - using: - foreign_key_constraint_on: generation_id -- name: pokemon_v2_pokemonform - using: - foreign_key_constraint_on: pokemon_form_id + - name: pokemon_v2_generation + using: + foreign_key_constraint_on: generation_id + - name: pokemon_v2_pokemonform + using: + foreign_key_constraint_on: pokemon_form_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonformname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonformname.yaml index 1766cc60..d69e658a 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonformname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonformname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_pokemonformname schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_pokemonform - using: - foreign_key_constraint_on: pokemon_form_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_pokemonform + using: + foreign_key_constraint_on: pokemon_form_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonformsprites.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonformsprites.yaml index f7bd8148..b80b4a6c 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonformsprites.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonformsprites.yaml @@ -2,13 +2,13 @@ table: name: pokemon_v2_pokemonformsprites schema: public object_relationships: -- name: pokemon_v2_pokemonform - using: - foreign_key_constraint_on: pokemon_form_id + - name: pokemon_v2_pokemonform + using: + foreign_key_constraint_on: pokemon_form_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonformtype.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonformtype.yaml index 22ccdd24..c74623c6 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonformtype.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonformtype.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_pokemonformtype schema: public object_relationships: -- name: pokemon_v2_pokemonform - using: - foreign_key_constraint_on: pokemon_form_id -- name: pokemon_v2_type - using: - foreign_key_constraint_on: type_id + - name: pokemon_v2_pokemonform + using: + foreign_key_constraint_on: pokemon_form_id + - name: pokemon_v2_type + using: + foreign_key_constraint_on: type_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemongameindex.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemongameindex.yaml index fbd0d322..b618a9d3 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemongameindex.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemongameindex.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_pokemongameindex schema: public object_relationships: -- name: pokemon_v2_pokemon - using: - foreign_key_constraint_on: pokemon_id -- name: pokemon_v2_version - using: - foreign_key_constraint_on: version_id + - name: pokemon_v2_pokemon + using: + foreign_key_constraint_on: pokemon_id + - name: pokemon_v2_version + using: + foreign_key_constraint_on: version_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonhabitat.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonhabitat.yaml index f9711310..ffee167d 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonhabitat.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonhabitat.yaml @@ -2,24 +2,24 @@ table: name: pokemon_v2_pokemonhabitat schema: public array_relationships: -- name: pokemon_v2_pokemonhabitatnames - using: - foreign_key_constraint_on: - column: pokemon_habitat_id - table: - name: pokemon_v2_pokemonhabitatname - schema: public -- name: pokemon_v2_pokemonspecies - using: - foreign_key_constraint_on: - column: pokemon_habitat_id - table: - name: pokemon_v2_pokemonspecies - schema: public + - name: pokemon_v2_pokemonhabitatnames + using: + foreign_key_constraint_on: + column: pokemon_habitat_id + table: + name: pokemon_v2_pokemonhabitatname + schema: public + - name: pokemon_v2_pokemonspecies + using: + foreign_key_constraint_on: + column: pokemon_habitat_id + table: + name: pokemon_v2_pokemonspecies + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonhabitatname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonhabitatname.yaml index 6ab1fed2..b4fa448d 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonhabitatname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonhabitatname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_pokemonhabitatname schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_pokemonhabitat - using: - foreign_key_constraint_on: pokemon_habitat_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_pokemonhabitat + using: + foreign_key_constraint_on: pokemon_habitat_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonitem.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonitem.yaml index cec5ef7b..15915dcd 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonitem.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonitem.yaml @@ -2,19 +2,19 @@ table: name: pokemon_v2_pokemonitem schema: public object_relationships: -- name: pokemon_v2_item - using: - foreign_key_constraint_on: item_id -- name: pokemon_v2_pokemon - using: - foreign_key_constraint_on: pokemon_id -- name: pokemon_v2_version - using: - foreign_key_constraint_on: version_id + - name: pokemon_v2_item + using: + foreign_key_constraint_on: item_id + - name: pokemon_v2_pokemon + using: + foreign_key_constraint_on: pokemon_id + - name: pokemon_v2_version + using: + foreign_key_constraint_on: version_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonmove.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonmove.yaml index 905aaa5e..4edec36a 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonmove.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonmove.yaml @@ -2,22 +2,22 @@ table: name: pokemon_v2_pokemonmove schema: public object_relationships: -- name: pokemon_v2_move - using: - foreign_key_constraint_on: move_id -- name: pokemon_v2_movelearnmethod - using: - foreign_key_constraint_on: move_learn_method_id -- name: pokemon_v2_pokemon - using: - foreign_key_constraint_on: pokemon_id -- name: pokemon_v2_versiongroup - using: - foreign_key_constraint_on: version_group_id + - name: pokemon_v2_move + using: + foreign_key_constraint_on: move_id + - name: pokemon_v2_movelearnmethod + using: + foreign_key_constraint_on: move_learn_method_id + - name: pokemon_v2_pokemon + using: + foreign_key_constraint_on: pokemon_id + - name: pokemon_v2_versiongroup + using: + foreign_key_constraint_on: version_group_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonshape.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonshape.yaml index 6be5343a..83bdfba1 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonshape.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonshape.yaml @@ -2,24 +2,24 @@ table: name: pokemon_v2_pokemonshape schema: public array_relationships: -- name: pokemon_v2_pokemonshapenames - using: - foreign_key_constraint_on: - column: pokemon_shape_id - table: - name: pokemon_v2_pokemonshapename - schema: public -- name: pokemon_v2_pokemonspecies - using: - foreign_key_constraint_on: - column: pokemon_shape_id - table: - name: pokemon_v2_pokemonspecies - schema: public + - name: pokemon_v2_pokemonshapenames + using: + foreign_key_constraint_on: + column: pokemon_shape_id + table: + name: pokemon_v2_pokemonshapename + schema: public + - name: pokemon_v2_pokemonspecies + using: + foreign_key_constraint_on: + column: pokemon_shape_id + table: + name: pokemon_v2_pokemonspecies + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonshapename.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonshapename.yaml index a5d13dfb..9d3e221b 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonshapename.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonshapename.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_pokemonshapename schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_pokemonshape - using: - foreign_key_constraint_on: pokemon_shape_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_pokemonshape + using: + foreign_key_constraint_on: pokemon_shape_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonspecies.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonspecies.yaml index e8f404ed..4130dc10 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonspecies.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonspecies.yaml @@ -2,109 +2,109 @@ table: name: pokemon_v2_pokemonspecies schema: public object_relationships: -- name: pokemon_v2_evolutionchain - using: - foreign_key_constraint_on: evolution_chain_id -- name: pokemon_v2_generation - using: - foreign_key_constraint_on: generation_id -- name: pokemon_v2_growthrate - using: - foreign_key_constraint_on: growth_rate_id -- name: pokemon_v2_pokemoncolor - using: - foreign_key_constraint_on: pokemon_color_id -- name: pokemon_v2_pokemonhabitat - using: - foreign_key_constraint_on: pokemon_habitat_id -- name: pokemon_v2_pokemonshape - using: - foreign_key_constraint_on: pokemon_shape_id -- name: pokemon_v2_pokemonspecy - using: - foreign_key_constraint_on: evolves_from_species_id + - name: pokemon_v2_evolutionchain + using: + foreign_key_constraint_on: evolution_chain_id + - name: pokemon_v2_generation + using: + foreign_key_constraint_on: generation_id + - name: pokemon_v2_growthrate + using: + foreign_key_constraint_on: growth_rate_id + - name: pokemon_v2_pokemoncolor + using: + foreign_key_constraint_on: pokemon_color_id + - name: pokemon_v2_pokemonhabitat + using: + foreign_key_constraint_on: pokemon_habitat_id + - name: pokemon_v2_pokemonshape + using: + foreign_key_constraint_on: pokemon_shape_id + - name: pokemon_v2_pokemonspecy + using: + foreign_key_constraint_on: evolves_from_species_id array_relationships: -- name: pokemonV2PokemonevolutionsByPartySpeciesId - using: - foreign_key_constraint_on: - column: party_species_id - table: - name: pokemon_v2_pokemonevolution - schema: public -- name: pokemonV2PokemonevolutionsByTradeSpeciesId - using: - foreign_key_constraint_on: - column: trade_species_id - table: - name: pokemon_v2_pokemonevolution - schema: public -- name: pokemon_v2_palparks - using: - foreign_key_constraint_on: - column: pokemon_species_id - table: - name: pokemon_v2_palpark - schema: public -- name: pokemon_v2_pokemondexnumbers - using: - foreign_key_constraint_on: - column: pokemon_species_id - table: - name: pokemon_v2_pokemondexnumber - schema: public -- name: pokemon_v2_pokemonegggroups - using: - foreign_key_constraint_on: - column: pokemon_species_id - table: - name: pokemon_v2_pokemonegggroup - schema: public -- name: pokemon_v2_pokemonevolutions - using: - foreign_key_constraint_on: - column: evolved_species_id - table: - name: pokemon_v2_pokemonevolution - schema: public -- name: pokemon_v2_pokemons - using: - foreign_key_constraint_on: - column: pokemon_species_id - table: - name: pokemon_v2_pokemon - schema: public -- name: pokemon_v2_pokemonspecies - using: - foreign_key_constraint_on: - column: evolves_from_species_id - table: - name: pokemon_v2_pokemonspecies - schema: public -- name: pokemon_v2_pokemonspeciesdescriptions - using: - foreign_key_constraint_on: - column: pokemon_species_id - table: - name: pokemon_v2_pokemonspeciesdescription - schema: public -- name: pokemon_v2_pokemonspeciesflavortexts - using: - foreign_key_constraint_on: - column: pokemon_species_id - table: - name: pokemon_v2_pokemonspeciesflavortext - schema: public -- name: pokemon_v2_pokemonspeciesnames - using: - foreign_key_constraint_on: - column: pokemon_species_id - table: - name: pokemon_v2_pokemonspeciesname - schema: public + - name: pokemonV2PokemonevolutionsByPartySpeciesId + using: + foreign_key_constraint_on: + column: party_species_id + table: + name: pokemon_v2_pokemonevolution + schema: public + - name: pokemonV2PokemonevolutionsByTradeSpeciesId + using: + foreign_key_constraint_on: + column: trade_species_id + table: + name: pokemon_v2_pokemonevolution + schema: public + - name: pokemon_v2_palparks + using: + foreign_key_constraint_on: + column: pokemon_species_id + table: + name: pokemon_v2_palpark + schema: public + - name: pokemon_v2_pokemondexnumbers + using: + foreign_key_constraint_on: + column: pokemon_species_id + table: + name: pokemon_v2_pokemondexnumber + schema: public + - name: pokemon_v2_pokemonegggroups + using: + foreign_key_constraint_on: + column: pokemon_species_id + table: + name: pokemon_v2_pokemonegggroup + schema: public + - name: pokemon_v2_pokemonevolutions + using: + foreign_key_constraint_on: + column: evolved_species_id + table: + name: pokemon_v2_pokemonevolution + schema: public + - name: pokemon_v2_pokemons + using: + foreign_key_constraint_on: + column: pokemon_species_id + table: + name: pokemon_v2_pokemon + schema: public + - name: pokemon_v2_pokemonspecies + using: + foreign_key_constraint_on: + column: evolves_from_species_id + table: + name: pokemon_v2_pokemonspecies + schema: public + - name: pokemon_v2_pokemonspeciesdescriptions + using: + foreign_key_constraint_on: + column: pokemon_species_id + table: + name: pokemon_v2_pokemonspeciesdescription + schema: public + - name: pokemon_v2_pokemonspeciesflavortexts + using: + foreign_key_constraint_on: + column: pokemon_species_id + table: + name: pokemon_v2_pokemonspeciesflavortext + schema: public + - name: pokemon_v2_pokemonspeciesnames + using: + foreign_key_constraint_on: + column: pokemon_species_id + table: + name: pokemon_v2_pokemonspeciesname + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonspeciesdescription.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonspeciesdescription.yaml index 00425b89..9d18bc35 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonspeciesdescription.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonspeciesdescription.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_pokemonspeciesdescription schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_pokemonspecy - using: - foreign_key_constraint_on: pokemon_species_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_pokemonspecy + using: + foreign_key_constraint_on: pokemon_species_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonspeciesflavortext.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonspeciesflavortext.yaml index 6bdeb5f2..2937431a 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonspeciesflavortext.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonspeciesflavortext.yaml @@ -2,19 +2,19 @@ table: name: pokemon_v2_pokemonspeciesflavortext schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_pokemonspecy - using: - foreign_key_constraint_on: pokemon_species_id -- name: pokemon_v2_version - using: - foreign_key_constraint_on: version_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_pokemonspecy + using: + foreign_key_constraint_on: pokemon_species_id + - name: pokemon_v2_version + using: + foreign_key_constraint_on: version_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonspeciesname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonspeciesname.yaml index c7449195..8f0fe7ac 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonspeciesname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonspeciesname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_pokemonspeciesname schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_pokemonspecy - using: - foreign_key_constraint_on: pokemon_species_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_pokemonspecy + using: + foreign_key_constraint_on: pokemon_species_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonsprites.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonsprites.yaml index 13b5ebc7..6e38a9a5 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonsprites.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonsprites.yaml @@ -2,13 +2,13 @@ table: name: pokemon_v2_pokemonsprites schema: public object_relationships: -- name: pokemon_v2_pokemon - using: - foreign_key_constraint_on: pokemon_id + - name: pokemon_v2_pokemon + using: + foreign_key_constraint_on: pokemon_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonstat.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonstat.yaml index 57fb58e9..cd2f090c 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonstat.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemonstat.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_pokemonstat schema: public object_relationships: -- name: pokemon_v2_pokemon - using: - foreign_key_constraint_on: pokemon_id -- name: pokemon_v2_stat - using: - foreign_key_constraint_on: stat_id + - name: pokemon_v2_pokemon + using: + foreign_key_constraint_on: pokemon_id + - name: pokemon_v2_stat + using: + foreign_key_constraint_on: stat_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemontype.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemontype.yaml index da919053..6b834e87 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemontype.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemontype.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_pokemontype schema: public object_relationships: -- name: pokemon_v2_pokemon - using: - foreign_key_constraint_on: pokemon_id -- name: pokemon_v2_type - using: - foreign_key_constraint_on: type_id + - name: pokemon_v2_pokemon + using: + foreign_key_constraint_on: pokemon_id + - name: pokemon_v2_type + using: + foreign_key_constraint_on: type_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemontypepast.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemontypepast.yaml index a15dad13..85a1b14d 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemontypepast.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_pokemontypepast.yaml @@ -2,19 +2,19 @@ table: name: pokemon_v2_pokemontypepast schema: public object_relationships: -- name: pokemon_v2_generation - using: - foreign_key_constraint_on: generation_id -- name: pokemon_v2_pokemon - using: - foreign_key_constraint_on: pokemon_id -- name: pokemon_v2_type - using: - foreign_key_constraint_on: type_id + - name: pokemon_v2_generation + using: + foreign_key_constraint_on: generation_id + - name: pokemon_v2_pokemon + using: + foreign_key_constraint_on: pokemon_id + - name: pokemon_v2_type + using: + foreign_key_constraint_on: type_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_region.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_region.yaml index 0cf30da9..5a427a0a 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_region.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_region.yaml @@ -1,46 +1,54 @@ table: name: pokemon_v2_region schema: public +object_relationships: + - name: pokemon_v2_generation + using: + foreign_key_constraint_on: + column: region_id + table: + name: pokemon_v2_generation + schema: public array_relationships: -- name: pokemon_v2_generations - using: - foreign_key_constraint_on: - column: region_id - table: - name: pokemon_v2_generation - schema: public -- name: pokemon_v2_locations - using: - foreign_key_constraint_on: - column: region_id - table: - name: pokemon_v2_location - schema: public -- name: pokemon_v2_pokedexes - using: - foreign_key_constraint_on: - column: region_id - table: - name: pokemon_v2_pokedex - schema: public -- name: pokemon_v2_regionnames - using: - foreign_key_constraint_on: - column: region_id - table: - name: pokemon_v2_regionname - schema: public -- name: pokemon_v2_versiongroupregions - using: - foreign_key_constraint_on: - column: region_id - table: - name: pokemon_v2_versiongroupregion - schema: public + - name: pokemon_v2_generations + using: + foreign_key_constraint_on: + column: region_id + table: + name: pokemon_v2_generation + schema: public + - name: pokemon_v2_locations + using: + foreign_key_constraint_on: + column: region_id + table: + name: pokemon_v2_location + schema: public + - name: pokemon_v2_pokedexes + using: + foreign_key_constraint_on: + column: region_id + table: + name: pokemon_v2_pokedex + schema: public + - name: pokemon_v2_regionnames + using: + foreign_key_constraint_on: + column: region_id + table: + name: pokemon_v2_regionname + schema: public + - name: pokemon_v2_versiongroupregions + using: + foreign_key_constraint_on: + column: region_id + table: + name: pokemon_v2_versiongroupregion + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_regionname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_regionname.yaml index d081f3b9..97a2a8ac 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_regionname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_regionname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_regionname schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_region - using: - foreign_key_constraint_on: region_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_region + using: + foreign_key_constraint_on: region_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_stat.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_stat.yaml index 255c2f24..59494c0c 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_stat.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_stat.yaml @@ -2,56 +2,56 @@ table: name: pokemon_v2_stat schema: public object_relationships: -- name: pokemon_v2_movedamageclass - using: - foreign_key_constraint_on: move_damage_class_id + - name: pokemon_v2_movedamageclass + using: + foreign_key_constraint_on: move_damage_class_id array_relationships: -- name: pokemonV2NaturesByIncreasedStatId - using: - foreign_key_constraint_on: - column: increased_stat_id - table: - name: pokemon_v2_nature - schema: public -- name: pokemon_v2_characteristics - using: - foreign_key_constraint_on: - column: stat_id - table: - name: pokemon_v2_characteristic - schema: public -- name: pokemon_v2_movemetastatchanges - using: - foreign_key_constraint_on: - column: stat_id - table: - name: pokemon_v2_movemetastatchange - schema: public -- name: pokemon_v2_natures - using: - foreign_key_constraint_on: - column: decreased_stat_id - table: - name: pokemon_v2_nature - schema: public -- name: pokemon_v2_pokemonstats - using: - foreign_key_constraint_on: - column: stat_id - table: - name: pokemon_v2_pokemonstat - schema: public -- name: pokemon_v2_statnames - using: - foreign_key_constraint_on: - column: stat_id - table: - name: pokemon_v2_statname - schema: public + - name: pokemonV2NaturesByIncreasedStatId + using: + foreign_key_constraint_on: + column: increased_stat_id + table: + name: pokemon_v2_nature + schema: public + - name: pokemon_v2_characteristics + using: + foreign_key_constraint_on: + column: stat_id + table: + name: pokemon_v2_characteristic + schema: public + - name: pokemon_v2_movemetastatchanges + using: + foreign_key_constraint_on: + column: stat_id + table: + name: pokemon_v2_movemetastatchange + schema: public + - name: pokemon_v2_natures + using: + foreign_key_constraint_on: + column: decreased_stat_id + table: + name: pokemon_v2_nature + schema: public + - name: pokemon_v2_pokemonstats + using: + foreign_key_constraint_on: + column: stat_id + table: + name: pokemon_v2_pokemonstat + schema: public + - name: pokemon_v2_statnames + using: + foreign_key_constraint_on: + column: stat_id + table: + name: pokemon_v2_statname + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_statname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_statname.yaml index 8e6e100b..5b6af5af 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_statname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_statname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_statname schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_stat - using: - foreign_key_constraint_on: stat_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_stat + using: + foreign_key_constraint_on: stat_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_supercontestcombo.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_supercontestcombo.yaml index 5c8befb2..e4373cb5 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_supercontestcombo.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_supercontestcombo.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_supercontestcombo schema: public object_relationships: -- name: pokemonV2MoveBySecondMoveId - using: - foreign_key_constraint_on: second_move_id -- name: pokemon_v2_move - using: - foreign_key_constraint_on: first_move_id + - name: pokemonV2MoveBySecondMoveId + using: + foreign_key_constraint_on: second_move_id + - name: pokemon_v2_move + using: + foreign_key_constraint_on: first_move_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_supercontesteffect.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_supercontesteffect.yaml index b087eeac..753bf0b5 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_supercontesteffect.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_supercontesteffect.yaml @@ -2,24 +2,24 @@ table: name: pokemon_v2_supercontesteffect schema: public array_relationships: -- name: pokemon_v2_moves - using: - foreign_key_constraint_on: - column: super_contest_effect_id - table: - name: pokemon_v2_move - schema: public -- name: pokemon_v2_supercontesteffectflavortexts - using: - foreign_key_constraint_on: - column: super_contest_effect_id - table: - name: pokemon_v2_supercontesteffectflavortext - schema: public + - name: pokemon_v2_moves + using: + foreign_key_constraint_on: + column: super_contest_effect_id + table: + name: pokemon_v2_move + schema: public + - name: pokemon_v2_supercontesteffectflavortexts + using: + foreign_key_constraint_on: + column: super_contest_effect_id + table: + name: pokemon_v2_supercontesteffectflavortext + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_supercontesteffectflavortext.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_supercontesteffectflavortext.yaml index 57c627ac..a5128fc4 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_supercontesteffectflavortext.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_supercontesteffectflavortext.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_supercontesteffectflavortext schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_supercontesteffect - using: - foreign_key_constraint_on: super_contest_effect_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_supercontesteffect + using: + foreign_key_constraint_on: super_contest_effect_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_type.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_type.yaml index 9d89ca12..65e91aef 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_type.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_type.yaml @@ -2,115 +2,115 @@ table: name: pokemon_v2_type schema: public object_relationships: -- name: pokemon_v2_generation - using: - foreign_key_constraint_on: generation_id -- name: pokemon_v2_movedamageclass - using: - foreign_key_constraint_on: move_damage_class_id + - name: pokemon_v2_generation + using: + foreign_key_constraint_on: generation_id + - name: pokemon_v2_movedamageclass + using: + foreign_key_constraint_on: move_damage_class_id array_relationships: -- name: pokemonV2PokemonevolutionsByPartyTypeId - using: - foreign_key_constraint_on: - column: party_type_id - table: - name: pokemon_v2_pokemonevolution - schema: public -- name: pokemonV2TypeefficaciesByTargetTypeId - using: - foreign_key_constraint_on: - column: target_type_id - table: - name: pokemon_v2_typeefficacy - schema: public -- name: pokemonV2TypeefficacypastsByTargetTypeId - using: - foreign_key_constraint_on: - column: target_type_id - table: - name: pokemon_v2_typeefficacypast - schema: public -- name: pokemon_v2_berries - using: - foreign_key_constraint_on: - column: natural_gift_type_id - table: - name: pokemon_v2_berry - schema: public -- name: pokemon_v2_movechanges - using: - foreign_key_constraint_on: - column: type_id - table: - name: pokemon_v2_movechange - schema: public -- name: pokemon_v2_moves - using: - foreign_key_constraint_on: - column: type_id - table: - name: pokemon_v2_move - schema: public -- name: pokemon_v2_pokemonevolutions - using: - foreign_key_constraint_on: - column: known_move_type_id - table: - name: pokemon_v2_pokemonevolution - schema: public -- name: pokemon_v2_pokemonformtypes - using: - foreign_key_constraint_on: - column: type_id - table: - name: pokemon_v2_pokemonformtype - schema: public -- name: pokemon_v2_pokemontypepasts - using: - foreign_key_constraint_on: - column: type_id - table: - name: pokemon_v2_pokemontypepast - schema: public -- name: pokemon_v2_pokemontypes - using: - foreign_key_constraint_on: - column: type_id - table: - name: pokemon_v2_pokemontype - schema: public -- name: pokemon_v2_typeefficacies - using: - foreign_key_constraint_on: - column: damage_type_id - table: - name: pokemon_v2_typeefficacy - schema: public -- name: pokemon_v2_typeefficacypasts - using: - foreign_key_constraint_on: - column: damage_type_id - table: - name: pokemon_v2_typeefficacypast - schema: public -- name: pokemon_v2_typegameindices - using: - foreign_key_constraint_on: - column: type_id - table: - name: pokemon_v2_typegameindex - schema: public -- name: pokemon_v2_typenames - using: - foreign_key_constraint_on: - column: type_id - table: - name: pokemon_v2_typename - schema: public + - name: pokemonV2PokemonevolutionsByPartyTypeId + using: + foreign_key_constraint_on: + column: party_type_id + table: + name: pokemon_v2_pokemonevolution + schema: public + - name: pokemonV2TypeefficaciesByTargetTypeId + using: + foreign_key_constraint_on: + column: target_type_id + table: + name: pokemon_v2_typeefficacy + schema: public + - name: pokemonV2TypeefficacypastsByTargetTypeId + using: + foreign_key_constraint_on: + column: target_type_id + table: + name: pokemon_v2_typeefficacypast + schema: public + - name: pokemon_v2_berries + using: + foreign_key_constraint_on: + column: natural_gift_type_id + table: + name: pokemon_v2_berry + schema: public + - name: pokemon_v2_movechanges + using: + foreign_key_constraint_on: + column: type_id + table: + name: pokemon_v2_movechange + schema: public + - name: pokemon_v2_moves + using: + foreign_key_constraint_on: + column: type_id + table: + name: pokemon_v2_move + schema: public + - name: pokemon_v2_pokemonevolutions + using: + foreign_key_constraint_on: + column: known_move_type_id + table: + name: pokemon_v2_pokemonevolution + schema: public + - name: pokemon_v2_pokemonformtypes + using: + foreign_key_constraint_on: + column: type_id + table: + name: pokemon_v2_pokemonformtype + schema: public + - name: pokemon_v2_pokemontypepasts + using: + foreign_key_constraint_on: + column: type_id + table: + name: pokemon_v2_pokemontypepast + schema: public + - name: pokemon_v2_pokemontypes + using: + foreign_key_constraint_on: + column: type_id + table: + name: pokemon_v2_pokemontype + schema: public + - name: pokemon_v2_typeefficacies + using: + foreign_key_constraint_on: + column: damage_type_id + table: + name: pokemon_v2_typeefficacy + schema: public + - name: pokemon_v2_typeefficacypasts + using: + foreign_key_constraint_on: + column: damage_type_id + table: + name: pokemon_v2_typeefficacypast + schema: public + - name: pokemon_v2_typegameindices + using: + foreign_key_constraint_on: + column: type_id + table: + name: pokemon_v2_typegameindex + schema: public + - name: pokemon_v2_typenames + using: + foreign_key_constraint_on: + column: type_id + table: + name: pokemon_v2_typename + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_typeefficacy.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_typeefficacy.yaml index 6bf1dd10..d1ba9560 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_typeefficacy.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_typeefficacy.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_typeefficacy schema: public object_relationships: -- name: pokemonV2TypeByTargetTypeId - using: - foreign_key_constraint_on: target_type_id -- name: pokemon_v2_type - using: - foreign_key_constraint_on: damage_type_id + - name: pokemonV2TypeByTargetTypeId + using: + foreign_key_constraint_on: target_type_id + - name: pokemon_v2_type + using: + foreign_key_constraint_on: damage_type_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_typeefficacypast.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_typeefficacypast.yaml index 614be810..4c71b2b0 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_typeefficacypast.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_typeefficacypast.yaml @@ -2,12 +2,12 @@ table: name: pokemon_v2_typeefficacypast schema: public object_relationships: -- name: pokemonV2TypeByTargetTypeId - using: - foreign_key_constraint_on: target_type_id -- name: pokemon_v2_generation - using: - foreign_key_constraint_on: generation_id -- name: pokemon_v2_type - using: - foreign_key_constraint_on: damage_type_id + - name: pokemonV2TypeByTargetTypeId + using: + foreign_key_constraint_on: target_type_id + - name: pokemon_v2_generation + using: + foreign_key_constraint_on: generation_id + - name: pokemon_v2_type + using: + foreign_key_constraint_on: damage_type_id diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_typegameindex.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_typegameindex.yaml index 6e19a878..af14cf75 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_typegameindex.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_typegameindex.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_typegameindex schema: public object_relationships: -- name: pokemon_v2_generation - using: - foreign_key_constraint_on: generation_id -- name: pokemon_v2_type - using: - foreign_key_constraint_on: type_id + - name: pokemon_v2_generation + using: + foreign_key_constraint_on: generation_id + - name: pokemon_v2_type + using: + foreign_key_constraint_on: type_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_typename.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_typename.yaml index 33c83db4..c35fd2a0 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_typename.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_typename.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_typename schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_type - using: - foreign_key_constraint_on: type_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_type + using: + foreign_key_constraint_on: type_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_version.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_version.yaml index 8a508c8f..bf1ba618 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_version.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_version.yaml @@ -2,56 +2,56 @@ table: name: pokemon_v2_version schema: public object_relationships: -- name: pokemon_v2_versiongroup - using: - foreign_key_constraint_on: version_group_id + - name: pokemon_v2_versiongroup + using: + foreign_key_constraint_on: version_group_id array_relationships: -- name: pokemon_v2_encounters - using: - foreign_key_constraint_on: - column: version_id - table: - name: pokemon_v2_encounter - schema: public -- name: pokemon_v2_locationareaencounterrates - using: - foreign_key_constraint_on: - column: version_id - table: - name: pokemon_v2_locationareaencounterrate - schema: public -- name: pokemon_v2_pokemongameindices - using: - foreign_key_constraint_on: - column: version_id - table: - name: pokemon_v2_pokemongameindex - schema: public -- name: pokemon_v2_pokemonitems - using: - foreign_key_constraint_on: - column: version_id - table: - name: pokemon_v2_pokemonitem - schema: public -- name: pokemon_v2_pokemonspeciesflavortexts - using: - foreign_key_constraint_on: - column: version_id - table: - name: pokemon_v2_pokemonspeciesflavortext - schema: public -- name: pokemon_v2_versionnames - using: - foreign_key_constraint_on: - column: version_id - table: - name: pokemon_v2_versionname - schema: public + - name: pokemon_v2_encounters + using: + foreign_key_constraint_on: + column: version_id + table: + name: pokemon_v2_encounter + schema: public + - name: pokemon_v2_locationareaencounterrates + using: + foreign_key_constraint_on: + column: version_id + table: + name: pokemon_v2_locationareaencounterrate + schema: public + - name: pokemon_v2_pokemongameindices + using: + foreign_key_constraint_on: + column: version_id + table: + name: pokemon_v2_pokemongameindex + schema: public + - name: pokemon_v2_pokemonitems + using: + foreign_key_constraint_on: + column: version_id + table: + name: pokemon_v2_pokemonitem + schema: public + - name: pokemon_v2_pokemonspeciesflavortexts + using: + foreign_key_constraint_on: + column: version_id + table: + name: pokemon_v2_pokemonspeciesflavortext + schema: public + - name: pokemon_v2_versionnames + using: + foreign_key_constraint_on: + column: version_id + table: + name: pokemon_v2_versionname + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_versiongroup.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_versiongroup.yaml index 13890b02..bead609f 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_versiongroup.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_versiongroup.yaml @@ -2,112 +2,112 @@ table: name: pokemon_v2_versiongroup schema: public object_relationships: -- name: pokemon_v2_generation - using: - foreign_key_constraint_on: generation_id + - name: pokemon_v2_generation + using: + foreign_key_constraint_on: generation_id array_relationships: -- name: pokemon_v2_abilitychanges - using: - foreign_key_constraint_on: - column: version_group_id - table: - name: pokemon_v2_abilitychange - schema: public -- name: pokemon_v2_abilityflavortexts - using: - foreign_key_constraint_on: - column: version_group_id - table: - name: pokemon_v2_abilityflavortext - schema: public -- name: pokemon_v2_encounterslots - using: - foreign_key_constraint_on: - column: version_group_id - table: - name: pokemon_v2_encounterslot - schema: public -- name: pokemon_v2_itemflavortexts - using: - foreign_key_constraint_on: - column: version_group_id - table: - name: pokemon_v2_itemflavortext - schema: public -- name: pokemon_v2_machines - using: - foreign_key_constraint_on: - column: version_group_id - table: - name: pokemon_v2_machine - schema: public -- name: pokemon_v2_movechanges - using: - foreign_key_constraint_on: - column: version_group_id - table: - name: pokemon_v2_movechange - schema: public -- name: pokemon_v2_moveeffectchanges - using: - foreign_key_constraint_on: - column: version_group_id - table: - name: pokemon_v2_moveeffectchange - schema: public -- name: pokemon_v2_moveflavortexts - using: - foreign_key_constraint_on: - column: version_group_id - table: - name: pokemon_v2_moveflavortext - schema: public -- name: pokemon_v2_pokedexversiongroups - using: - foreign_key_constraint_on: - column: version_group_id - table: - name: pokemon_v2_pokedexversiongroup - schema: public -- name: pokemon_v2_pokemonforms - using: - foreign_key_constraint_on: - column: version_group_id - table: - name: pokemon_v2_pokemonform - schema: public -- name: pokemon_v2_pokemonmoves - using: - foreign_key_constraint_on: - column: version_group_id - table: - name: pokemon_v2_pokemonmove - schema: public -- name: pokemon_v2_versiongroupmovelearnmethods - using: - foreign_key_constraint_on: - column: version_group_id - table: - name: pokemon_v2_versiongroupmovelearnmethod - schema: public -- name: pokemon_v2_versiongroupregions - using: - foreign_key_constraint_on: - column: version_group_id - table: - name: pokemon_v2_versiongroupregion - schema: public -- name: pokemon_v2_versions - using: - foreign_key_constraint_on: - column: version_group_id - table: - name: pokemon_v2_version - schema: public + - name: pokemon_v2_abilitychanges + using: + foreign_key_constraint_on: + column: version_group_id + table: + name: pokemon_v2_abilitychange + schema: public + - name: pokemon_v2_abilityflavortexts + using: + foreign_key_constraint_on: + column: version_group_id + table: + name: pokemon_v2_abilityflavortext + schema: public + - name: pokemon_v2_encounterslots + using: + foreign_key_constraint_on: + column: version_group_id + table: + name: pokemon_v2_encounterslot + schema: public + - name: pokemon_v2_itemflavortexts + using: + foreign_key_constraint_on: + column: version_group_id + table: + name: pokemon_v2_itemflavortext + schema: public + - name: pokemon_v2_machines + using: + foreign_key_constraint_on: + column: version_group_id + table: + name: pokemon_v2_machine + schema: public + - name: pokemon_v2_movechanges + using: + foreign_key_constraint_on: + column: version_group_id + table: + name: pokemon_v2_movechange + schema: public + - name: pokemon_v2_moveeffectchanges + using: + foreign_key_constraint_on: + column: version_group_id + table: + name: pokemon_v2_moveeffectchange + schema: public + - name: pokemon_v2_moveflavortexts + using: + foreign_key_constraint_on: + column: version_group_id + table: + name: pokemon_v2_moveflavortext + schema: public + - name: pokemon_v2_pokedexversiongroups + using: + foreign_key_constraint_on: + column: version_group_id + table: + name: pokemon_v2_pokedexversiongroup + schema: public + - name: pokemon_v2_pokemonforms + using: + foreign_key_constraint_on: + column: version_group_id + table: + name: pokemon_v2_pokemonform + schema: public + - name: pokemon_v2_pokemonmoves + using: + foreign_key_constraint_on: + column: version_group_id + table: + name: pokemon_v2_pokemonmove + schema: public + - name: pokemon_v2_versiongroupmovelearnmethods + using: + foreign_key_constraint_on: + column: version_group_id + table: + name: pokemon_v2_versiongroupmovelearnmethod + schema: public + - name: pokemon_v2_versiongroupregions + using: + foreign_key_constraint_on: + column: version_group_id + table: + name: pokemon_v2_versiongroupregion + schema: public + - name: pokemon_v2_versions + using: + foreign_key_constraint_on: + column: version_group_id + table: + name: pokemon_v2_version + schema: public select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_versiongroupmovelearnmethod.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_versiongroupmovelearnmethod.yaml index 9f124984..e19d8fe8 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_versiongroupmovelearnmethod.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_versiongroupmovelearnmethod.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_versiongroupmovelearnmethod schema: public object_relationships: -- name: pokemon_v2_movelearnmethod - using: - foreign_key_constraint_on: move_learn_method_id -- name: pokemon_v2_versiongroup - using: - foreign_key_constraint_on: version_group_id + - name: pokemon_v2_movelearnmethod + using: + foreign_key_constraint_on: move_learn_method_id + - name: pokemon_v2_versiongroup + using: + foreign_key_constraint_on: version_group_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_versiongroupregion.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_versiongroupregion.yaml index c62d660e..2340cadb 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_versiongroupregion.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_versiongroupregion.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_versiongroupregion schema: public object_relationships: -- name: pokemon_v2_region - using: - foreign_key_constraint_on: region_id -- name: pokemon_v2_versiongroup - using: - foreign_key_constraint_on: version_group_id + - name: pokemon_v2_region + using: + foreign_key_constraint_on: region_id + - name: pokemon_v2_versiongroup + using: + foreign_key_constraint_on: version_group_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/databases/default/tables/public_pokemon_v2_versionname.yaml b/graphql/metadata/databases/default/tables/public_pokemon_v2_versionname.yaml index 973615a5..064ff5df 100644 --- a/graphql/metadata/databases/default/tables/public_pokemon_v2_versionname.yaml +++ b/graphql/metadata/databases/default/tables/public_pokemon_v2_versionname.yaml @@ -2,16 +2,16 @@ table: name: pokemon_v2_versionname schema: public object_relationships: -- name: pokemon_v2_language - using: - foreign_key_constraint_on: language_id -- name: pokemon_v2_version - using: - foreign_key_constraint_on: version_id + - name: pokemon_v2_language + using: + foreign_key_constraint_on: language_id + - name: pokemon_v2_version + using: + foreign_key_constraint_on: version_id select_permissions: -- permission: - allow_aggregations: true - columns: "*" - filter: {} - limit: 100000 - role: anon + - role: anon + permission: + columns: '*' + filter: {} + limit: 100000 + allow_aggregations: true diff --git a/graphql/metadata/graphql_schema_introspection.yaml b/graphql/metadata/graphql_schema_introspection.yaml new file mode 100644 index 00000000..61a4dcac --- /dev/null +++ b/graphql/metadata/graphql_schema_introspection.yaml @@ -0,0 +1 @@ +disabled_for_roles: [] diff --git a/graphql/metadata/metrics_config.yaml b/graphql/metadata/metrics_config.yaml new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/graphql/metadata/metrics_config.yaml @@ -0,0 +1 @@ +{} diff --git a/graphql/metadata/network.yaml b/graphql/metadata/network.yaml new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/graphql/metadata/network.yaml @@ -0,0 +1 @@ +{} diff --git a/graphql/metadata/opentelemetry.yaml b/graphql/metadata/opentelemetry.yaml new file mode 100644 index 00000000..0967ef42 --- /dev/null +++ b/graphql/metadata/opentelemetry.yaml @@ -0,0 +1 @@ +{} From 17f0c075ceebf7983a1ecc822410a617a41b06d9 Mon Sep 17 00:00:00 2001 From: Naramsim Date: Tue, 9 Jan 2024 23:17:57 +0100 Subject: [PATCH 07/11] feat: remove cli pass --- Makefile | 8 ++++---- README.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index a43194e1..085dde58 100755 --- a/Makefile +++ b/Makefile @@ -101,11 +101,11 @@ sync-to-veekun: pull pull-veekun # Copy data from this repository to ../pokedex # read-env-file: # Exports ./.env into shell environment variables # export `egrep -v '^#' .env | xargs` -hasura-export: # Export Hasura configuration - hasura md export --project graphql --admin-secret ${HASURA_GRAPHQL_ADMIN_SECRET} +hasura-export: # Export Hasura configuration, be sure to have set HASURA_GRAPHQL_ADMIN_SECRET + hasura md export --project graphql -hasura-apply: # Apply local Hasura configuration - hasura md apply --project graphql --admin-secret ${HASURA_GRAPHQL_ADMIN_SECRET} +hasura-apply: # Apply local Hasura configuration, be sure to have set HASURA_GRAPHQL_ADMIN_SECRET + hasura md apply --project graphql hasura-get-anon-schema: # Dumps GraphQL schema gq http://localhost:8080/v1/graphql --introspect > graphql/schema.graphql diff --git a/README.md b/README.md index 63fa4605..fe9db05e 100755 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ When you start PokéAPI with the above docker-compose setup, an [Hasura Engine]( ```sh # hasura cli needs to be installed and available in your $PATH: https://hasura.io/docs/latest/graphql/core/hasura-cli/install-hasura-cli.html -# hasura cli's version has to be v2.0.8 +# hasura cli's version has to greater than v2.0.8 make hasura-apply ``` From 4ed97c6088ea0ee42f2bfc7a97375c02c939d37b Mon Sep 17 00:00:00 2001 From: Naramsim Date: Tue, 9 Jan 2024 23:20:04 +0100 Subject: [PATCH 08/11] chore: use default images --- Resources/compose/docker-compose-prod-graphql.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Resources/compose/docker-compose-prod-graphql.yml b/Resources/compose/docker-compose-prod-graphql.yml index 66b7c498..a4670a12 100644 --- a/Resources/compose/docker-compose-prod-graphql.yml +++ b/Resources/compose/docker-compose-prod-graphql.yml @@ -1,9 +1,6 @@ version: '2.4' services: - cache: - image: redis:7.0.7-alpine db: - image: postgres:15.1 environment: POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}" POSTGRES_USER: "${POSTGRES_USER}" @@ -14,12 +11,10 @@ services: restart: "no" web: - image: nginx:1.23.3-alpine volumes: - graphiql:/public-console:ro graphql-engine: - image: hasura/graphql-engine:v2.16.1 cpus: 0.7 memswap_limit: 3g mem_limit: 700m From d87da0eb2ad0d290abac5bf4ea49f7333d1244e5 Mon Sep 17 00:00:00 2001 From: Naramsim Date: Wed, 10 Jan 2024 16:44:32 +0100 Subject: [PATCH 09/11] feat(gql-cicd): apply metadata --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 61964bc9..db4b4a43 100755 --- a/Makefile +++ b/Makefile @@ -138,7 +138,8 @@ update-graphql-data-prod: docker-compose -f docker-compose.yml -f docker-compose.override.yml -f Resources/compose/docker-compose-prod-graphql.yml up -d app make docker-migrate make docker-build-db - docker stop pokeapi_app_1 + make hasura-apply + docker compose stop app sync; echo 3 > /proc/sys/vm/drop_caches docker exec pokeapi_web_1 sh -c 'rm -rf /tmp/cache/*' docker start pokeapi_graphql-engine_1 From f7ba0048f96fea6ff6f30798ee9f02e8f08ba299 Mon Sep 17 00:00:00 2001 From: Naramsim Date: Wed, 10 Jan 2024 20:34:19 +0100 Subject: [PATCH 10/11] fix(cicd): move metadata application --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c12f2301..c7fe32ef 100755 --- a/Makefile +++ b/Makefile @@ -144,8 +144,9 @@ update-graphql-data-prod: docker compose -f docker-compose.yml -f Resources/compose/docker-compose-prod-graphql.yml up -d app make docker-migrate make docker-build-db - make hasura-apply docker compose stop app sync; echo 3 > /proc/sys/vm/drop_caches docker compose exec -T web sh -c 'rm -rf /tmp/cache/*' docker compose start graphql-engine + sleep 30 + make hasura-apply From d4d82589cf8dff5e889bc7e1f7c0296a0c6c4df6 Mon Sep 17 00:00:00 2001 From: Naramsim Date: Thu, 11 Jan 2024 11:29:18 +0100 Subject: [PATCH 11/11] chore: remove default --- Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile b/Makefile index c7fe32ef..a7244438 100755 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ veekun_pokedex_repository = ../pokedex local_config = --settings=config.local docker_config = --settings=config.docker-compose -HASURA_GRAPHQL_ADMIN_SECRET=pokemon .PHONY: help .SILENT: