Merge branch 'master' into poltchageist-form-names

This commit is contained in:
Alessandro Pezzè 2024-01-11 19:34:08 +09:00 committed by GitHub
commit e74795ad90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
164 changed files with 3681 additions and 3640 deletions

View file

@ -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:
@ -101,11 +100,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
@ -128,17 +127,25 @@ 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
sleep 30
make hasura-apply

View file

@ -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
```

View file

@ -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

View file

@ -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;

View file

@ -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

1 move_id local_language_id name
8499 874 8 Corsa all'Oro
8500 874 9 Make It Rain
8501 874 11 ゴールドラッシュ
8502 875 8 1 Botta サイコブレイド
8503 875 3 사이코블레이드
8504 875 4 精神劍
8505 875 5 Lame Psychique
8506 875 6 Psychoschneide
8507 875 7 Psicohojas
8508 875 8 Psicolama
8509 875 9 Psyblade
8510 876 875 8 11 Botta サイコブレイド
8511 875 12 精神剑
8512 876 1 ハイドロスチーム
8513 876 3 하이드로스팀
8514 876 4 水蒸氣
8515 876 5 Hydrovapeur
8516 876 6 Hydrodampf
8517 876 7 Hidrovapor
8518 876 8 Idrovapore
8519 876 9 Hydro Steam
8520 876 11 ハイドロスチーム
8521 876 12 水蒸气
8522 877 1 カタストロフィ
8523 877 4 大灾难
8524 877 8 Catastrofe

View file

@ -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:

View file

@ -0,0 +1 @@
{}

View file

@ -0,0 +1 @@
{}

View file

@ -2,46 +2,46 @@ table:
name: pokemon_v2_ability
schema: public
object_relationships:
- name: pokemon_v2_generation
- name: pokemon_v2_generation
using:
foreign_key_constraint_on: generation_id
array_relationships:
- name: pokemon_v2_abilitychanges
- name: pokemon_v2_abilitychanges
using:
foreign_key_constraint_on:
column: ability_id
table:
name: pokemon_v2_abilitychange
schema: public
- name: pokemon_v2_abilityeffecttexts
- name: pokemon_v2_abilityeffecttexts
using:
foreign_key_constraint_on:
column: ability_id
table:
name: pokemon_v2_abilityeffecttext
schema: public
- name: pokemon_v2_abilityflavortexts
- name: pokemon_v2_abilityflavortexts
using:
foreign_key_constraint_on:
column: ability_id
table:
name: pokemon_v2_abilityflavortext
schema: public
- name: pokemon_v2_abilitynames
- name: pokemon_v2_abilitynames
using:
foreign_key_constraint_on:
column: ability_id
table:
name: pokemon_v2_abilityname
schema: public
- name: pokemon_v2_pokemonabilities
- name: pokemon_v2_pokemonabilities
using:
foreign_key_constraint_on:
column: ability_id
table:
name: pokemon_v2_pokemonability
schema: public
- name: pokemon_v2_pokemonabilitypasts
- name: pokemon_v2_pokemonabilitypasts
using:
foreign_key_constraint_on:
column: ability_id
@ -49,9 +49,9 @@ array_relationships:
name: pokemon_v2_pokemonabilitypast
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,14 +2,14 @@ table:
name: pokemon_v2_abilitychange
schema: public
object_relationships:
- name: pokemon_v2_ability
- name: pokemon_v2_ability
using:
foreign_key_constraint_on: ability_id
- name: pokemon_v2_versiongroup
- name: pokemon_v2_versiongroup
using:
foreign_key_constraint_on: version_group_id
array_relationships:
- name: pokemon_v2_abilitychangeeffecttexts
- name: pokemon_v2_abilitychangeeffecttexts
using:
foreign_key_constraint_on:
column: ability_change_id
@ -17,9 +17,9 @@ array_relationships:
name: pokemon_v2_abilitychangeeffecttext
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_abilitychangeeffecttext
schema: public
object_relationships:
- name: pokemon_v2_abilitychange
- name: pokemon_v2_abilitychange
using:
foreign_key_constraint_on: ability_change_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_abilityeffecttext
schema: public
object_relationships:
- name: pokemon_v2_ability
- name: pokemon_v2_ability
using:
foreign_key_constraint_on: ability_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,19 +2,19 @@ table:
name: pokemon_v2_abilityflavortext
schema: public
object_relationships:
- name: pokemon_v2_ability
- name: pokemon_v2_ability
using:
foreign_key_constraint_on: ability_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
- name: pokemon_v2_versiongroup
- name: pokemon_v2_versiongroup
using:
foreign_key_constraint_on: version_group_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_abilityname
schema: public
object_relationships:
- name: pokemon_v2_ability
- name: pokemon_v2_ability
using:
foreign_key_constraint_on: ability_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,17 +2,17 @@ table:
name: pokemon_v2_berry
schema: public
object_relationships:
- name: pokemon_v2_berryfirmness
- name: pokemon_v2_berryfirmness
using:
foreign_key_constraint_on: berry_firmness_id
- name: pokemon_v2_item
- name: pokemon_v2_item
using:
foreign_key_constraint_on: item_id
- name: pokemon_v2_type
- name: pokemon_v2_type
using:
foreign_key_constraint_on: natural_gift_type_id
array_relationships:
- name: pokemon_v2_berryflavormaps
- name: pokemon_v2_berryflavormaps
using:
foreign_key_constraint_on:
column: berry_id
@ -20,9 +20,9 @@ array_relationships:
name: pokemon_v2_berryflavormap
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,14 +2,14 @@ table:
name: pokemon_v2_berryfirmness
schema: public
array_relationships:
- name: pokemon_v2_berries
- name: pokemon_v2_berries
using:
foreign_key_constraint_on:
column: berry_firmness_id
table:
name: pokemon_v2_berry
schema: public
- name: pokemon_v2_berryfirmnessnames
- name: pokemon_v2_berryfirmnessnames
using:
foreign_key_constraint_on:
column: berry_firmness_id
@ -17,9 +17,9 @@ array_relationships:
name: pokemon_v2_berryfirmnessname
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_berryfirmnessname
schema: public
object_relationships:
- name: pokemon_v2_berryfirmness
- name: pokemon_v2_berryfirmness
using:
foreign_key_constraint_on: berry_firmness_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,32 +2,32 @@ table:
name: pokemon_v2_berryflavor
schema: public
object_relationships:
- name: pokemon_v2_contesttype
- name: pokemon_v2_contesttype
using:
foreign_key_constraint_on: contest_type_id
array_relationships:
- name: pokemonV2NaturesByLikesFlavorId
- name: pokemonV2NaturesByLikesFlavorId
using:
foreign_key_constraint_on:
column: likes_flavor_id
table:
name: pokemon_v2_nature
schema: public
- name: pokemon_v2_berryflavormaps
- name: pokemon_v2_berryflavormaps
using:
foreign_key_constraint_on:
column: berry_flavor_id
table:
name: pokemon_v2_berryflavormap
schema: public
- name: pokemon_v2_berryflavornames
- name: pokemon_v2_berryflavornames
using:
foreign_key_constraint_on:
column: berry_flavor_id
table:
name: pokemon_v2_berryflavorname
schema: public
- name: pokemon_v2_natures
- name: pokemon_v2_natures
using:
foreign_key_constraint_on:
column: hates_flavor_id
@ -35,9 +35,9 @@ array_relationships:
name: pokemon_v2_nature
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_berryflavormap
schema: public
object_relationships:
- name: pokemon_v2_berry
- name: pokemon_v2_berry
using:
foreign_key_constraint_on: berry_id
- name: pokemon_v2_berryflavor
- name: pokemon_v2_berryflavor
using:
foreign_key_constraint_on: berry_flavor_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_berryflavorname
schema: public
object_relationships:
- name: pokemon_v2_berryflavor
- name: pokemon_v2_berryflavor
using:
foreign_key_constraint_on: berry_flavor_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,11 +2,11 @@ table:
name: pokemon_v2_characteristic
schema: public
object_relationships:
- name: pokemon_v2_stat
- name: pokemon_v2_stat
using:
foreign_key_constraint_on: stat_id
array_relationships:
- name: pokemon_v2_characteristicdescriptions
- name: pokemon_v2_characteristicdescriptions
using:
foreign_key_constraint_on:
column: characteristic_id
@ -14,9 +14,9 @@ array_relationships:
name: pokemon_v2_characteristicdescription
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_characteristicdescription
schema: public
object_relationships:
- name: pokemon_v2_characteristic
- name: pokemon_v2_characteristic
using:
foreign_key_constraint_on: characteristic_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_contestcombo
schema: public
object_relationships:
- name: pokemonV2MoveBySecondMoveId
- name: pokemonV2MoveBySecondMoveId
using:
foreign_key_constraint_on: second_move_id
- name: pokemon_v2_move
- name: pokemon_v2_move
using:
foreign_key_constraint_on: first_move_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,21 +2,21 @@ table:
name: pokemon_v2_contesteffect
schema: public
array_relationships:
- name: pokemon_v2_contesteffecteffecttexts
- name: pokemon_v2_contesteffecteffecttexts
using:
foreign_key_constraint_on:
column: contest_effect_id
table:
name: pokemon_v2_contesteffecteffecttext
schema: public
- name: pokemon_v2_contesteffectflavortexts
- name: pokemon_v2_contesteffectflavortexts
using:
foreign_key_constraint_on:
column: contest_effect_id
table:
name: pokemon_v2_contesteffectflavortext
schema: public
- name: pokemon_v2_moves
- name: pokemon_v2_moves
using:
foreign_key_constraint_on:
column: contest_effect_id
@ -24,9 +24,9 @@ array_relationships:
name: pokemon_v2_move
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_contesteffecteffecttext
schema: public
object_relationships:
- name: pokemon_v2_contesteffect
- name: pokemon_v2_contesteffect
using:
foreign_key_constraint_on: contest_effect_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_contesteffectflavortext
schema: public
object_relationships:
- name: pokemon_v2_contesteffect
- name: pokemon_v2_contesteffect
using:
foreign_key_constraint_on: contest_effect_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -1,22 +1,30 @@
table:
name: pokemon_v2_contesttype
schema: public
array_relationships:
- name: pokemon_v2_berryflavors
object_relationships:
- name: pokemon_v2_berryflavor
using:
foreign_key_constraint_on:
column: contest_type_id
table:
name: pokemon_v2_berryflavor
schema: public
- name: pokemon_v2_contesttypenames
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
- name: pokemon_v2_moves
using:
foreign_key_constraint_on:
column: contest_type_id
@ -24,9 +32,9 @@ array_relationships:
name: pokemon_v2_move
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_contesttypename
schema: public
object_relationships:
- name: pokemon_v2_contesttype
- name: pokemon_v2_contesttype
using:
foreign_key_constraint_on: contest_type_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,14 +2,14 @@ table:
name: pokemon_v2_egggroup
schema: public
array_relationships:
- name: pokemon_v2_egggroupnames
- name: pokemon_v2_egggroupnames
using:
foreign_key_constraint_on:
column: egg_group_id
table:
name: pokemon_v2_egggroupname
schema: public
- name: pokemon_v2_pokemonegggroups
- name: pokemon_v2_pokemonegggroups
using:
foreign_key_constraint_on:
column: egg_group_id
@ -17,9 +17,9 @@ array_relationships:
name: pokemon_v2_pokemonegggroup
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_egggroupname
schema: public
object_relationships:
- name: pokemon_v2_egggroup
- name: pokemon_v2_egggroup
using:
foreign_key_constraint_on: egg_group_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,20 +2,20 @@ table:
name: pokemon_v2_encounter
schema: public
object_relationships:
- name: pokemon_v2_encounterslot
- name: pokemon_v2_encounterslot
using:
foreign_key_constraint_on: encounter_slot_id
- name: pokemon_v2_locationarea
- name: pokemon_v2_locationarea
using:
foreign_key_constraint_on: location_area_id
- name: pokemon_v2_pokemon
- name: pokemon_v2_pokemon
using:
foreign_key_constraint_on: pokemon_id
- name: pokemon_v2_version
- name: pokemon_v2_version
using:
foreign_key_constraint_on: version_id
array_relationships:
- name: pokemon_v2_encounterconditionvaluemaps
- name: pokemon_v2_encounterconditionvaluemaps
using:
foreign_key_constraint_on:
column: encounter_id
@ -23,9 +23,9 @@ array_relationships:
name: pokemon_v2_encounterconditionvaluemap
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,14 +2,14 @@ table:
name: pokemon_v2_encountercondition
schema: public
array_relationships:
- name: pokemon_v2_encounterconditionnames
- name: pokemon_v2_encounterconditionnames
using:
foreign_key_constraint_on:
column: encounter_condition_id
table:
name: pokemon_v2_encounterconditionname
schema: public
- name: pokemon_v2_encounterconditionvalues
- name: pokemon_v2_encounterconditionvalues
using:
foreign_key_constraint_on:
column: encounter_condition_id
@ -17,9 +17,9 @@ array_relationships:
name: pokemon_v2_encounterconditionvalue
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_encounterconditionname
schema: public
object_relationships:
- name: pokemon_v2_encountercondition
- name: pokemon_v2_encountercondition
using:
foreign_key_constraint_on: encounter_condition_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,18 +2,18 @@ table:
name: pokemon_v2_encounterconditionvalue
schema: public
object_relationships:
- name: pokemon_v2_encountercondition
- name: pokemon_v2_encountercondition
using:
foreign_key_constraint_on: encounter_condition_id
array_relationships:
- name: pokemon_v2_encounterconditionvaluemaps
- 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
- name: pokemon_v2_encounterconditionvaluenames
using:
foreign_key_constraint_on:
column: encounter_condition_value_id
@ -21,9 +21,9 @@ array_relationships:
name: pokemon_v2_encounterconditionvaluename
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_encounterconditionvaluemap
schema: public
object_relationships:
- name: pokemon_v2_encounter
- name: pokemon_v2_encounter
using:
foreign_key_constraint_on: encounter_id
- name: pokemon_v2_encounterconditionvalue
- name: pokemon_v2_encounterconditionvalue
using:
foreign_key_constraint_on: encounter_condition_value_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_encounterconditionvaluename
schema: public
object_relationships:
- name: pokemon_v2_encounterconditionvalue
- name: pokemon_v2_encounterconditionvalue
using:
foreign_key_constraint_on: encounter_condition_value_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,21 +2,21 @@ table:
name: pokemon_v2_encountermethod
schema: public
array_relationships:
- name: pokemon_v2_encountermethodnames
- name: pokemon_v2_encountermethodnames
using:
foreign_key_constraint_on:
column: encounter_method_id
table:
name: pokemon_v2_encountermethodname
schema: public
- name: pokemon_v2_encounterslots
- name: pokemon_v2_encounterslots
using:
foreign_key_constraint_on:
column: encounter_method_id
table:
name: pokemon_v2_encounterslot
schema: public
- name: pokemon_v2_locationareaencounterrates
- name: pokemon_v2_locationareaencounterrates
using:
foreign_key_constraint_on:
column: encounter_method_id
@ -24,9 +24,9 @@ array_relationships:
name: pokemon_v2_locationareaencounterrate
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_encountermethodname
schema: public
object_relationships:
- name: pokemon_v2_encountermethod
- name: pokemon_v2_encountermethod
using:
foreign_key_constraint_on: encounter_method_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,14 +2,14 @@ table:
name: pokemon_v2_encounterslot
schema: public
object_relationships:
- name: pokemon_v2_encountermethod
- name: pokemon_v2_encountermethod
using:
foreign_key_constraint_on: encounter_method_id
- name: pokemon_v2_versiongroup
- name: pokemon_v2_versiongroup
using:
foreign_key_constraint_on: version_group_id
array_relationships:
- name: pokemon_v2_encounters
- name: pokemon_v2_encounters
using:
foreign_key_constraint_on:
column: encounter_slot_id
@ -17,9 +17,9 @@ array_relationships:
name: pokemon_v2_encounter
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,11 +2,11 @@ table:
name: pokemon_v2_evolutionchain
schema: public
object_relationships:
- name: pokemon_v2_item
- name: pokemon_v2_item
using:
foreign_key_constraint_on: baby_trigger_item_id
array_relationships:
- name: pokemon_v2_pokemonspecies
- name: pokemon_v2_pokemonspecies
using:
foreign_key_constraint_on:
column: evolution_chain_id
@ -14,9 +14,9 @@ array_relationships:
name: pokemon_v2_pokemonspecies
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,14 +2,14 @@ table:
name: pokemon_v2_evolutiontrigger
schema: public
array_relationships:
- name: pokemon_v2_evolutiontriggernames
- name: pokemon_v2_evolutiontriggernames
using:
foreign_key_constraint_on:
column: evolution_trigger_id
table:
name: pokemon_v2_evolutiontriggername
schema: public
- name: pokemon_v2_pokemonevolutions
- name: pokemon_v2_pokemonevolutions
using:
foreign_key_constraint_on:
column: evolution_trigger_id
@ -17,9 +17,9 @@ array_relationships:
name: pokemon_v2_pokemonevolution
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_evolutiontriggername
schema: public
object_relationships:
- name: pokemon_v2_evolutiontrigger
- name: pokemon_v2_evolutiontrigger
using:
foreign_key_constraint_on: evolution_trigger_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,13 +2,13 @@ table:
name: pokemon_v2_experience
schema: public
object_relationships:
- name: pokemon_v2_growthrate
- name: pokemon_v2_growthrate
using:
foreign_key_constraint_on: growth_rate_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,7 +2,7 @@ table:
name: pokemon_v2_gender
schema: public
array_relationships:
- name: pokemon_v2_pokemonevolutions
- name: pokemon_v2_pokemonevolutions
using:
foreign_key_constraint_on:
column: gender_id
@ -10,9 +10,9 @@ array_relationships:
name: pokemon_v2_pokemonevolution
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,95 +2,95 @@ table:
name: pokemon_v2_generation
schema: public
object_relationships:
- name: pokemon_v2_region
- name: pokemon_v2_region
using:
foreign_key_constraint_on: region_id
array_relationships:
- name: pokemon_v2_abilities
- name: pokemon_v2_abilities
using:
foreign_key_constraint_on:
column: generation_id
table:
name: pokemon_v2_ability
schema: public
- name: pokemon_v2_generationnames
- name: pokemon_v2_generationnames
using:
foreign_key_constraint_on:
column: generation_id
table:
name: pokemon_v2_generationname
schema: public
- name: pokemon_v2_itemgameindices
- name: pokemon_v2_itemgameindices
using:
foreign_key_constraint_on:
column: generation_id
table:
name: pokemon_v2_itemgameindex
schema: public
- name: pokemon_v2_locationgameindices
- name: pokemon_v2_locationgameindices
using:
foreign_key_constraint_on:
column: generation_id
table:
name: pokemon_v2_locationgameindex
schema: public
- name: pokemon_v2_moves
- name: pokemon_v2_moves
using:
foreign_key_constraint_on:
column: generation_id
table:
name: pokemon_v2_move
schema: public
- name: pokemon_v2_pokemonabilitypasts
- name: pokemon_v2_pokemonabilitypasts
using:
foreign_key_constraint_on:
column: generation_id
table:
name: pokemon_v2_pokemonabilitypast
schema: public
- name: pokemon_v2_pokemonformgenerations
- name: pokemon_v2_pokemonformgenerations
using:
foreign_key_constraint_on:
column: generation_id
table:
name: pokemon_v2_pokemonformgeneration
schema: public
- name: pokemon_v2_pokemonspecies
- name: pokemon_v2_pokemonspecies
using:
foreign_key_constraint_on:
column: generation_id
table:
name: pokemon_v2_pokemonspecies
schema: public
- name: pokemon_v2_pokemontypepasts
- name: pokemon_v2_pokemontypepasts
using:
foreign_key_constraint_on:
column: generation_id
table:
name: pokemon_v2_pokemontypepast
schema: public
- name: pokemon_v2_typeefficacypasts
- name: pokemon_v2_typeefficacypasts
using:
foreign_key_constraint_on:
column: generation_id
table:
name: pokemon_v2_typeefficacypast
schema: public
- name: pokemon_v2_typegameindices
- name: pokemon_v2_typegameindices
using:
foreign_key_constraint_on:
column: generation_id
table:
name: pokemon_v2_typegameindex
schema: public
- name: pokemon_v2_types
- name: pokemon_v2_types
using:
foreign_key_constraint_on:
column: generation_id
table:
name: pokemon_v2_type
schema: public
- name: pokemon_v2_versiongroups
- name: pokemon_v2_versiongroups
using:
foreign_key_constraint_on:
column: generation_id
@ -98,9 +98,9 @@ array_relationships:
name: pokemon_v2_versiongroup
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_generationname
schema: public
object_relationships:
- name: pokemon_v2_generation
- name: pokemon_v2_generation
using:
foreign_key_constraint_on: generation_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,28 +2,28 @@ table:
name: pokemon_v2_growthrate
schema: public
array_relationships:
- name: pokemon_v2_experiences
- name: pokemon_v2_experiences
using:
foreign_key_constraint_on:
column: growth_rate_id
table:
name: pokemon_v2_experience
schema: public
- name: pokemon_v2_growthratedescriptions
- name: pokemon_v2_growthratedescriptions
using:
foreign_key_constraint_on:
column: growth_rate_id
table:
name: pokemon_v2_growthratedescription
schema: public
- name: pokemon_v2_machines
- name: pokemon_v2_machines
using:
foreign_key_constraint_on:
column: growth_rate_id
table:
name: pokemon_v2_machine
schema: public
- name: pokemon_v2_pokemonspecies
- name: pokemon_v2_pokemonspecies
using:
foreign_key_constraint_on:
column: growth_rate_id
@ -31,9 +31,9 @@ array_relationships:
name: pokemon_v2_pokemonspecies
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_growthratedescription
schema: public
object_relationships:
- name: pokemon_v2_growthrate
- name: pokemon_v2_growthrate
using:
foreign_key_constraint_on: growth_rate_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,91 +2,91 @@ table:
name: pokemon_v2_item
schema: public
object_relationships:
- name: pokemon_v2_itemcategory
- name: pokemon_v2_itemcategory
using:
foreign_key_constraint_on: item_category_id
- name: pokemon_v2_itemflingeffect
- name: pokemon_v2_itemflingeffect
using:
foreign_key_constraint_on: item_fling_effect_id
array_relationships:
- name: pokemonV2PokemonevolutionsByHeldItemId
- name: pokemonV2PokemonevolutionsByHeldItemId
using:
foreign_key_constraint_on:
column: held_item_id
table:
name: pokemon_v2_pokemonevolution
schema: public
- name: pokemon_v2_berries
- name: pokemon_v2_berries
using:
foreign_key_constraint_on:
column: item_id
table:
name: pokemon_v2_berry
schema: public
- name: pokemon_v2_evolutionchains
- 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
- name: pokemon_v2_itemattributemaps
using:
foreign_key_constraint_on:
column: item_id
table:
name: pokemon_v2_itemattributemap
schema: public
- name: pokemon_v2_itemeffecttexts
- name: pokemon_v2_itemeffecttexts
using:
foreign_key_constraint_on:
column: item_id
table:
name: pokemon_v2_itemeffecttext
schema: public
- name: pokemon_v2_itemflavortexts
- name: pokemon_v2_itemflavortexts
using:
foreign_key_constraint_on:
column: item_id
table:
name: pokemon_v2_itemflavortext
schema: public
- name: pokemon_v2_itemgameindices
- name: pokemon_v2_itemgameindices
using:
foreign_key_constraint_on:
column: item_id
table:
name: pokemon_v2_itemgameindex
schema: public
- name: pokemon_v2_itemnames
- name: pokemon_v2_itemnames
using:
foreign_key_constraint_on:
column: item_id
table:
name: pokemon_v2_itemname
schema: public
- name: pokemon_v2_itemsprites
- name: pokemon_v2_itemsprites
using:
foreign_key_constraint_on:
column: item_id
table:
name: pokemon_v2_itemsprites
schema: public
- name: pokemon_v2_machines
- name: pokemon_v2_machines
using:
foreign_key_constraint_on:
column: item_id
table:
name: pokemon_v2_machine
schema: public
- name: pokemon_v2_pokemonevolutions
- name: pokemon_v2_pokemonevolutions
using:
foreign_key_constraint_on:
column: evolution_item_id
table:
name: pokemon_v2_pokemonevolution
schema: public
- name: pokemon_v2_pokemonitems
- name: pokemon_v2_pokemonitems
using:
foreign_key_constraint_on:
column: item_id
@ -94,9 +94,9 @@ array_relationships:
name: pokemon_v2_pokemonitem
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,21 +2,21 @@ table:
name: pokemon_v2_itemattribute
schema: public
array_relationships:
- name: pokemon_v2_itemattributedescriptions
- name: pokemon_v2_itemattributedescriptions
using:
foreign_key_constraint_on:
column: item_attribute_id
table:
name: pokemon_v2_itemattributedescription
schema: public
- name: pokemon_v2_itemattributemaps
- name: pokemon_v2_itemattributemaps
using:
foreign_key_constraint_on:
column: item_attribute_id
table:
name: pokemon_v2_itemattributemap
schema: public
- name: pokemon_v2_itemattributenames
- name: pokemon_v2_itemattributenames
using:
foreign_key_constraint_on:
column: item_attribute_id
@ -24,9 +24,9 @@ array_relationships:
name: pokemon_v2_itemattributename
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_itemattributedescription
schema: public
object_relationships:
- name: pokemon_v2_itemattribute
- name: pokemon_v2_itemattribute
using:
foreign_key_constraint_on: item_attribute_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_itemattributemap
schema: public
object_relationships:
- name: pokemon_v2_item
- name: pokemon_v2_item
using:
foreign_key_constraint_on: item_id
- name: pokemon_v2_itemattribute
- name: pokemon_v2_itemattribute
using:
foreign_key_constraint_on: item_attribute_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_itemattributename
schema: public
object_relationships:
- name: pokemon_v2_itemattribute
- name: pokemon_v2_itemattribute
using:
foreign_key_constraint_on: item_attribute_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,18 +2,18 @@ table:
name: pokemon_v2_itemcategory
schema: public
object_relationships:
- name: pokemon_v2_itempocket
- name: pokemon_v2_itempocket
using:
foreign_key_constraint_on: item_pocket_id
array_relationships:
- name: pokemon_v2_itemcategorynames
- name: pokemon_v2_itemcategorynames
using:
foreign_key_constraint_on:
column: item_category_id
table:
name: pokemon_v2_itemcategoryname
schema: public
- name: pokemon_v2_items
- name: pokemon_v2_items
using:
foreign_key_constraint_on:
column: item_category_id
@ -21,9 +21,9 @@ array_relationships:
name: pokemon_v2_item
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_itemcategoryname
schema: public
object_relationships:
- name: pokemon_v2_itemcategory
- name: pokemon_v2_itemcategory
using:
foreign_key_constraint_on: item_category_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_itemeffecttext
schema: public
object_relationships:
- name: pokemon_v2_item
- name: pokemon_v2_item
using:
foreign_key_constraint_on: item_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,19 +2,19 @@ table:
name: pokemon_v2_itemflavortext
schema: public
object_relationships:
- name: pokemon_v2_item
- name: pokemon_v2_item
using:
foreign_key_constraint_on: item_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
- name: pokemon_v2_versiongroup
- name: pokemon_v2_versiongroup
using:
foreign_key_constraint_on: version_group_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,14 +2,14 @@ table:
name: pokemon_v2_itemflingeffect
schema: public
array_relationships:
- name: pokemon_v2_itemflingeffecteffecttexts
- 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
- name: pokemon_v2_items
using:
foreign_key_constraint_on:
column: item_fling_effect_id
@ -17,9 +17,9 @@ array_relationships:
name: pokemon_v2_item
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_itemflingeffecteffecttext
schema: public
object_relationships:
- name: pokemon_v2_itemflingeffect
- name: pokemon_v2_itemflingeffect
using:
foreign_key_constraint_on: item_fling_effect_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_itemgameindex
schema: public
object_relationships:
- name: pokemon_v2_generation
- name: pokemon_v2_generation
using:
foreign_key_constraint_on: generation_id
- name: pokemon_v2_item
- name: pokemon_v2_item
using:
foreign_key_constraint_on: item_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_itemname
schema: public
object_relationships:
- name: pokemon_v2_item
- name: pokemon_v2_item
using:
foreign_key_constraint_on: item_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,14 +2,14 @@ table:
name: pokemon_v2_itempocket
schema: public
array_relationships:
- name: pokemon_v2_itemcategories
- name: pokemon_v2_itemcategories
using:
foreign_key_constraint_on:
column: item_pocket_id
table:
name: pokemon_v2_itemcategory
schema: public
- name: pokemon_v2_itempocketnames
- name: pokemon_v2_itempocketnames
using:
foreign_key_constraint_on:
column: item_pocket_id
@ -17,9 +17,9 @@ array_relationships:
name: pokemon_v2_itempocketname
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_itempocketname
schema: public
object_relationships:
- name: pokemon_v2_itempocket
- name: pokemon_v2_itempocket
using:
foreign_key_constraint_on: item_pocket_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,13 +2,13 @@ table:
name: pokemon_v2_itemsprites
schema: public
object_relationships:
- name: pokemon_v2_item
- name: pokemon_v2_item
using:
foreign_key_constraint_on: item_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,427 +2,427 @@ table:
name: pokemon_v2_language
schema: public
array_relationships:
- name: pokemonV2LanguagenamesByLocalLanguageId
- name: pokemonV2LanguagenamesByLocalLanguageId
using:
foreign_key_constraint_on:
column: local_language_id
table:
name: pokemon_v2_languagename
schema: public
- name: pokemon_v2_abilitychangeeffecttexts
- name: pokemon_v2_abilitychangeeffecttexts
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_abilitychangeeffecttext
schema: public
- name: pokemon_v2_abilityeffecttexts
- name: pokemon_v2_abilityeffecttexts
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_abilityeffecttext
schema: public
- name: pokemon_v2_abilityflavortexts
- name: pokemon_v2_abilityflavortexts
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_abilityflavortext
schema: public
- name: pokemon_v2_abilitynames
- name: pokemon_v2_abilitynames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_abilityname
schema: public
- name: pokemon_v2_berryfirmnessnames
- name: pokemon_v2_berryfirmnessnames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_berryfirmnessname
schema: public
- name: pokemon_v2_berryflavornames
- name: pokemon_v2_berryflavornames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_berryflavorname
schema: public
- name: pokemon_v2_characteristicdescriptions
- name: pokemon_v2_characteristicdescriptions
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_characteristicdescription
schema: public
- name: pokemon_v2_contesteffecteffecttexts
- name: pokemon_v2_contesteffecteffecttexts
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_contesteffecteffecttext
schema: public
- name: pokemon_v2_contesteffectflavortexts
- name: pokemon_v2_contesteffectflavortexts
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_contesteffectflavortext
schema: public
- name: pokemon_v2_contesttypenames
- name: pokemon_v2_contesttypenames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_contesttypename
schema: public
- name: pokemon_v2_egggroupnames
- name: pokemon_v2_egggroupnames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_egggroupname
schema: public
- name: pokemon_v2_encounterconditionnames
- name: pokemon_v2_encounterconditionnames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_encounterconditionname
schema: public
- name: pokemon_v2_encounterconditionvaluenames
- name: pokemon_v2_encounterconditionvaluenames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_encounterconditionvaluename
schema: public
- name: pokemon_v2_encountermethodnames
- name: pokemon_v2_encountermethodnames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_encountermethodname
schema: public
- name: pokemon_v2_evolutiontriggernames
- name: pokemon_v2_evolutiontriggernames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_evolutiontriggername
schema: public
- name: pokemon_v2_generationnames
- name: pokemon_v2_generationnames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_generationname
schema: public
- name: pokemon_v2_growthratedescriptions
- name: pokemon_v2_growthratedescriptions
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_growthratedescription
schema: public
- name: pokemon_v2_itemattributedescriptions
- name: pokemon_v2_itemattributedescriptions
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_itemattributedescription
schema: public
- name: pokemon_v2_itemattributenames
- name: pokemon_v2_itemattributenames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_itemattributename
schema: public
- name: pokemon_v2_itemcategorynames
- name: pokemon_v2_itemcategorynames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_itemcategoryname
schema: public
- name: pokemon_v2_itemeffecttexts
- name: pokemon_v2_itemeffecttexts
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_itemeffecttext
schema: public
- name: pokemon_v2_itemflavortexts
- name: pokemon_v2_itemflavortexts
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_itemflavortext
schema: public
- name: pokemon_v2_itemflingeffecteffecttexts
- name: pokemon_v2_itemflingeffecteffecttexts
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_itemflingeffecteffecttext
schema: public
- name: pokemon_v2_itemnames
- name: pokemon_v2_itemnames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_itemname
schema: public
- name: pokemon_v2_itempocketnames
- name: pokemon_v2_itempocketnames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_itempocketname
schema: public
- name: pokemon_v2_languagenames
- name: pokemon_v2_languagenames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_languagename
schema: public
- name: pokemon_v2_locationareanames
- name: pokemon_v2_locationareanames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_locationareaname
schema: public
- name: pokemon_v2_locationnames
- name: pokemon_v2_locationnames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_locationname
schema: public
- name: pokemon_v2_moveattributedescriptions
- name: pokemon_v2_moveattributedescriptions
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_moveattributedescription
schema: public
- name: pokemon_v2_moveattributenames
- name: pokemon_v2_moveattributenames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_moveattributename
schema: public
- name: pokemon_v2_movebattlestylenames
- name: pokemon_v2_movebattlestylenames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_movebattlestylename
schema: public
- name: pokemon_v2_movedamageclassdescriptions
- name: pokemon_v2_movedamageclassdescriptions
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_movedamageclassdescription
schema: public
- name: pokemon_v2_movedamageclassnames
- name: pokemon_v2_movedamageclassnames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_movedamageclassname
schema: public
- name: pokemon_v2_moveeffectchangeeffecttexts
- name: pokemon_v2_moveeffectchangeeffecttexts
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_moveeffectchangeeffecttext
schema: public
- name: pokemon_v2_moveeffecteffecttexts
- name: pokemon_v2_moveeffecteffecttexts
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_moveeffecteffecttext
schema: public
- name: pokemon_v2_moveflavortexts
- name: pokemon_v2_moveflavortexts
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_moveflavortext
schema: public
- name: pokemon_v2_movelearnmethoddescriptions
- name: pokemon_v2_movelearnmethoddescriptions
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_movelearnmethoddescription
schema: public
- name: pokemon_v2_movelearnmethodnames
- name: pokemon_v2_movelearnmethodnames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_movelearnmethodname
schema: public
- name: pokemon_v2_movemetaailmentnames
- name: pokemon_v2_movemetaailmentnames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_movemetaailmentname
schema: public
- name: pokemon_v2_movemetacategorydescriptions
- name: pokemon_v2_movemetacategorydescriptions
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_movemetacategorydescription
schema: public
- name: pokemon_v2_movenames
- name: pokemon_v2_movenames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_movename
schema: public
- name: pokemon_v2_movetargetdescriptions
- name: pokemon_v2_movetargetdescriptions
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_movetargetdescription
schema: public
- name: pokemon_v2_movetargetnames
- name: pokemon_v2_movetargetnames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_movetargetname
schema: public
- name: pokemon_v2_naturenames
- name: pokemon_v2_naturenames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_naturename
schema: public
- name: pokemon_v2_palparkareanames
- name: pokemon_v2_palparkareanames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_palparkareaname
schema: public
- name: pokemon_v2_pokeathlonstatnames
- name: pokemon_v2_pokeathlonstatnames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_pokeathlonstatname
schema: public
- name: pokemon_v2_pokedexdescriptions
- name: pokemon_v2_pokedexdescriptions
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_pokedexdescription
schema: public
- name: pokemon_v2_pokedexnames
- name: pokemon_v2_pokedexnames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_pokedexname
schema: public
- name: pokemon_v2_pokemoncolornames
- name: pokemon_v2_pokemoncolornames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_pokemoncolorname
schema: public
- name: pokemon_v2_pokemonformnames
- name: pokemon_v2_pokemonformnames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_pokemonformname
schema: public
- name: pokemon_v2_pokemonhabitatnames
- name: pokemon_v2_pokemonhabitatnames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_pokemonhabitatname
schema: public
- name: pokemon_v2_pokemonshapenames
- name: pokemon_v2_pokemonshapenames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_pokemonshapename
schema: public
- name: pokemon_v2_pokemonspeciesdescriptions
- name: pokemon_v2_pokemonspeciesdescriptions
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_pokemonspeciesdescription
schema: public
- name: pokemon_v2_pokemonspeciesflavortexts
- name: pokemon_v2_pokemonspeciesflavortexts
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_pokemonspeciesflavortext
schema: public
- name: pokemon_v2_pokemonspeciesnames
- name: pokemon_v2_pokemonspeciesnames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_pokemonspeciesname
schema: public
- name: pokemon_v2_regionnames
- name: pokemon_v2_regionnames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_regionname
schema: public
- name: pokemon_v2_statnames
- name: pokemon_v2_statnames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_statname
schema: public
- name: pokemon_v2_supercontesteffectflavortexts
- name: pokemon_v2_supercontesteffectflavortexts
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_supercontesteffectflavortext
schema: public
- name: pokemon_v2_typenames
- name: pokemon_v2_typenames
using:
foreign_key_constraint_on:
column: language_id
table:
name: pokemon_v2_typename
schema: public
- name: pokemon_v2_versionnames
- name: pokemon_v2_versionnames
using:
foreign_key_constraint_on:
column: language_id
@ -430,9 +430,9 @@ array_relationships:
name: pokemon_v2_versionname
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_languagename
schema: public
object_relationships:
- name: pokemonV2LanguageByLocalLanguageId
- name: pokemonV2LanguageByLocalLanguageId
using:
foreign_key_constraint_on: local_language_id
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,32 +2,32 @@ table:
name: pokemon_v2_location
schema: public
object_relationships:
- name: pokemon_v2_region
- name: pokemon_v2_region
using:
foreign_key_constraint_on: region_id
array_relationships:
- name: pokemon_v2_locationareas
- name: pokemon_v2_locationareas
using:
foreign_key_constraint_on:
column: location_id
table:
name: pokemon_v2_locationarea
schema: public
- name: pokemon_v2_locationgameindices
- name: pokemon_v2_locationgameindices
using:
foreign_key_constraint_on:
column: location_id
table:
name: pokemon_v2_locationgameindex
schema: public
- name: pokemon_v2_locationnames
- name: pokemon_v2_locationnames
using:
foreign_key_constraint_on:
column: location_id
table:
name: pokemon_v2_locationname
schema: public
- name: pokemon_v2_pokemonevolutions
- name: pokemon_v2_pokemonevolutions
using:
foreign_key_constraint_on:
column: location_id
@ -35,9 +35,9 @@ array_relationships:
name: pokemon_v2_pokemonevolution
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,25 +2,25 @@ table:
name: pokemon_v2_locationarea
schema: public
object_relationships:
- name: pokemon_v2_location
- name: pokemon_v2_location
using:
foreign_key_constraint_on: location_id
array_relationships:
- name: pokemon_v2_encounters
- name: pokemon_v2_encounters
using:
foreign_key_constraint_on:
column: location_area_id
table:
name: pokemon_v2_encounter
schema: public
- name: pokemon_v2_locationareaencounterrates
- name: pokemon_v2_locationareaencounterrates
using:
foreign_key_constraint_on:
column: location_area_id
table:
name: pokemon_v2_locationareaencounterrate
schema: public
- name: pokemon_v2_locationareanames
- name: pokemon_v2_locationareanames
using:
foreign_key_constraint_on:
column: location_area_id
@ -28,9 +28,9 @@ array_relationships:
name: pokemon_v2_locationareaname
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,19 +2,19 @@ table:
name: pokemon_v2_locationareaencounterrate
schema: public
object_relationships:
- name: pokemon_v2_encountermethod
- name: pokemon_v2_encountermethod
using:
foreign_key_constraint_on: encounter_method_id
- name: pokemon_v2_locationarea
- name: pokemon_v2_locationarea
using:
foreign_key_constraint_on: location_area_id
- name: pokemon_v2_version
- name: pokemon_v2_version
using:
foreign_key_constraint_on: version_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_locationareaname
schema: public
object_relationships:
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
- name: pokemon_v2_locationarea
- name: pokemon_v2_locationarea
using:
foreign_key_constraint_on: location_area_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_locationgameindex
schema: public
object_relationships:
- name: pokemon_v2_generation
- name: pokemon_v2_generation
using:
foreign_key_constraint_on: generation_id
- name: pokemon_v2_location
- name: pokemon_v2_location
using:
foreign_key_constraint_on: location_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_locationname
schema: public
object_relationships:
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
- name: pokemon_v2_location
- name: pokemon_v2_location
using:
foreign_key_constraint_on: location_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,22 +2,22 @@ table:
name: pokemon_v2_machine
schema: public
object_relationships:
- name: pokemon_v2_growthrate
- name: pokemon_v2_growthrate
using:
foreign_key_constraint_on: growth_rate_id
- name: pokemon_v2_item
- name: pokemon_v2_item
using:
foreign_key_constraint_on: item_id
- name: pokemon_v2_move
- name: pokemon_v2_move
using:
foreign_key_constraint_on: move_id
- name: pokemon_v2_versiongroup
- name: pokemon_v2_versiongroup
using:
foreign_key_constraint_on: version_group_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,123 +2,123 @@ table:
name: pokemon_v2_move
schema: public
object_relationships:
- name: pokemon_v2_contesteffect
- name: pokemon_v2_contesteffect
using:
foreign_key_constraint_on: contest_effect_id
- name: pokemon_v2_contesttype
- name: pokemon_v2_contesttype
using:
foreign_key_constraint_on: contest_type_id
- name: pokemon_v2_generation
- name: pokemon_v2_generation
using:
foreign_key_constraint_on: generation_id
- name: pokemon_v2_movedamageclass
- name: pokemon_v2_movedamageclass
using:
foreign_key_constraint_on: move_damage_class_id
- name: pokemon_v2_moveeffect
- name: pokemon_v2_moveeffect
using:
foreign_key_constraint_on: move_effect_id
- name: pokemon_v2_movemetum
- name: pokemon_v2_movemetum
using:
foreign_key_constraint_on:
column: move_id
table:
name: pokemon_v2_movemeta
schema: public
- name: pokemon_v2_movetarget
- name: pokemon_v2_movetarget
using:
foreign_key_constraint_on: move_target_id
- name: pokemon_v2_supercontesteffect
- name: pokemon_v2_supercontesteffect
using:
foreign_key_constraint_on: super_contest_effect_id
- name: pokemon_v2_type
- name: pokemon_v2_type
using:
foreign_key_constraint_on: type_id
array_relationships:
- name: pokemonV2ContestcombosBySecondMoveId
- name: pokemonV2ContestcombosBySecondMoveId
using:
foreign_key_constraint_on:
column: second_move_id
table:
name: pokemon_v2_contestcombo
schema: public
- name: pokemonV2SupercontestcombosBySecondMoveId
- name: pokemonV2SupercontestcombosBySecondMoveId
using:
foreign_key_constraint_on:
column: second_move_id
table:
name: pokemon_v2_supercontestcombo
schema: public
- name: pokemon_v2_contestcombos
- name: pokemon_v2_contestcombos
using:
foreign_key_constraint_on:
column: first_move_id
table:
name: pokemon_v2_contestcombo
schema: public
- name: pokemon_v2_machines
- name: pokemon_v2_machines
using:
foreign_key_constraint_on:
column: move_id
table:
name: pokemon_v2_machine
schema: public
- name: pokemon_v2_moveattributemaps
- name: pokemon_v2_moveattributemaps
using:
foreign_key_constraint_on:
column: move_id
table:
name: pokemon_v2_moveattributemap
schema: public
- name: pokemon_v2_movechanges
- name: pokemon_v2_movechanges
using:
foreign_key_constraint_on:
column: move_id
table:
name: pokemon_v2_movechange
schema: public
- name: pokemon_v2_moveflavortexts
- name: pokemon_v2_moveflavortexts
using:
foreign_key_constraint_on:
column: move_id
table:
name: pokemon_v2_moveflavortext
schema: public
- name: pokemon_v2_movemeta
- name: pokemon_v2_movemeta
using:
foreign_key_constraint_on:
column: move_id
table:
name: pokemon_v2_movemeta
schema: public
- name: pokemon_v2_movemetastatchanges
- name: pokemon_v2_movemetastatchanges
using:
foreign_key_constraint_on:
column: move_id
table:
name: pokemon_v2_movemetastatchange
schema: public
- name: pokemon_v2_movenames
- name: pokemon_v2_movenames
using:
foreign_key_constraint_on:
column: move_id
table:
name: pokemon_v2_movename
schema: public
- name: pokemon_v2_pokemonevolutions
- name: pokemon_v2_pokemonevolutions
using:
foreign_key_constraint_on:
column: known_move_id
table:
name: pokemon_v2_pokemonevolution
schema: public
- name: pokemon_v2_pokemonmoves
- name: pokemon_v2_pokemonmoves
using:
foreign_key_constraint_on:
column: move_id
table:
name: pokemon_v2_pokemonmove
schema: public
- name: pokemon_v2_supercontestcombos
- name: pokemon_v2_supercontestcombos
using:
foreign_key_constraint_on:
column: first_move_id
@ -126,9 +126,9 @@ array_relationships:
name: pokemon_v2_supercontestcombo
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,21 +2,21 @@ table:
name: pokemon_v2_moveattribute
schema: public
array_relationships:
- name: pokemon_v2_moveattributedescriptions
- name: pokemon_v2_moveattributedescriptions
using:
foreign_key_constraint_on:
column: move_attribute_id
table:
name: pokemon_v2_moveattributedescription
schema: public
- name: pokemon_v2_moveattributemaps
- name: pokemon_v2_moveattributemaps
using:
foreign_key_constraint_on:
column: move_attribute_id
table:
name: pokemon_v2_moveattributemap
schema: public
- name: pokemon_v2_moveattributenames
- name: pokemon_v2_moveattributenames
using:
foreign_key_constraint_on:
column: move_attribute_id
@ -24,9 +24,9 @@ array_relationships:
name: pokemon_v2_moveattributename
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_moveattributedescription
schema: public
object_relationships:
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
- name: pokemon_v2_moveattribute
- name: pokemon_v2_moveattribute
using:
foreign_key_constraint_on: move_attribute_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_moveattributemap
schema: public
object_relationships:
- name: pokemon_v2_move
- name: pokemon_v2_move
using:
foreign_key_constraint_on: move_id
- name: pokemon_v2_moveattribute
- name: pokemon_v2_moveattribute
using:
foreign_key_constraint_on: move_attribute_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_moveattributename
schema: public
object_relationships:
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
- name: pokemon_v2_moveattribute
- name: pokemon_v2_moveattribute
using:
foreign_key_constraint_on: move_attribute_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,14 +2,14 @@ table:
name: pokemon_v2_movebattlestyle
schema: public
array_relationships:
- name: pokemon_v2_movebattlestylenames
- 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
- name: pokemon_v2_naturebattlestylepreferences
using:
foreign_key_constraint_on:
column: move_battle_style_id
@ -17,9 +17,9 @@ array_relationships:
name: pokemon_v2_naturebattlestylepreference
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_movebattlestylename
schema: public
object_relationships:
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
- name: pokemon_v2_movebattlestyle
- name: pokemon_v2_movebattlestyle
using:
foreign_key_constraint_on: move_battle_style_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,22 +2,22 @@ table:
name: pokemon_v2_movechange
schema: public
object_relationships:
- name: pokemon_v2_move
- name: pokemon_v2_move
using:
foreign_key_constraint_on: move_id
- name: pokemon_v2_moveeffect
- name: pokemon_v2_moveeffect
using:
foreign_key_constraint_on: move_effect_id
- name: pokemon_v2_type
- name: pokemon_v2_type
using:
foreign_key_constraint_on: type_id
- name: pokemon_v2_versiongroup
- name: pokemon_v2_versiongroup
using:
foreign_key_constraint_on: version_group_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,35 +2,35 @@ table:
name: pokemon_v2_movedamageclass
schema: public
array_relationships:
- name: pokemon_v2_movedamageclassdescriptions
- 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
- 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
- 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
- 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
- name: pokemon_v2_types
using:
foreign_key_constraint_on:
column: move_damage_class_id
@ -38,9 +38,9 @@ array_relationships:
name: pokemon_v2_type
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_movedamageclassdescription
schema: public
object_relationships:
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
- name: pokemon_v2_movedamageclass
- name: pokemon_v2_movedamageclass
using:
foreign_key_constraint_on: move_damage_class_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_movedamageclassname
schema: public
object_relationships:
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
- name: pokemon_v2_movedamageclass
- name: pokemon_v2_movedamageclass
using:
foreign_key_constraint_on: move_damage_class_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,28 +2,28 @@ table:
name: pokemon_v2_moveeffect
schema: public
array_relationships:
- name: pokemon_v2_movechanges
- name: pokemon_v2_movechanges
using:
foreign_key_constraint_on:
column: move_effect_id
table:
name: pokemon_v2_movechange
schema: public
- name: pokemon_v2_moveeffectchanges
- name: pokemon_v2_moveeffectchanges
using:
foreign_key_constraint_on:
column: move_effect_id
table:
name: pokemon_v2_moveeffectchange
schema: public
- name: pokemon_v2_moveeffecteffecttexts
- name: pokemon_v2_moveeffecteffecttexts
using:
foreign_key_constraint_on:
column: move_effect_id
table:
name: pokemon_v2_moveeffecteffecttext
schema: public
- name: pokemon_v2_moves
- name: pokemon_v2_moves
using:
foreign_key_constraint_on:
column: move_effect_id
@ -31,9 +31,9 @@ array_relationships:
name: pokemon_v2_move
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,14 +2,14 @@ table:
name: pokemon_v2_moveeffectchange
schema: public
object_relationships:
- name: pokemon_v2_moveeffect
- name: pokemon_v2_moveeffect
using:
foreign_key_constraint_on: move_effect_id
- name: pokemon_v2_versiongroup
- name: pokemon_v2_versiongroup
using:
foreign_key_constraint_on: version_group_id
array_relationships:
- name: pokemon_v2_moveeffectchangeeffecttexts
- name: pokemon_v2_moveeffectchangeeffecttexts
using:
foreign_key_constraint_on:
column: move_effect_change_id
@ -17,9 +17,9 @@ array_relationships:
name: pokemon_v2_moveeffectchangeeffecttext
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_moveeffectchangeeffecttext
schema: public
object_relationships:
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
- name: pokemon_v2_moveeffectchange
- name: pokemon_v2_moveeffectchange
using:
foreign_key_constraint_on: move_effect_change_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_moveeffecteffecttext
schema: public
object_relationships:
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
- name: pokemon_v2_moveeffect
- name: pokemon_v2_moveeffect
using:
foreign_key_constraint_on: move_effect_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,19 +2,19 @@ table:
name: pokemon_v2_moveflavortext
schema: public
object_relationships:
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
- name: pokemon_v2_move
- name: pokemon_v2_move
using:
foreign_key_constraint_on: move_id
- name: pokemon_v2_versiongroup
- name: pokemon_v2_versiongroup
using:
foreign_key_constraint_on: version_group_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,28 +2,28 @@ table:
name: pokemon_v2_movelearnmethod
schema: public
array_relationships:
- name: pokemon_v2_movelearnmethoddescriptions
- 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
- 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
- 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
- name: pokemon_v2_versiongroupmovelearnmethods
using:
foreign_key_constraint_on:
column: move_learn_method_id
@ -31,9 +31,9 @@ array_relationships:
name: pokemon_v2_versiongroupmovelearnmethod
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_movelearnmethoddescription
schema: public
object_relationships:
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
- name: pokemon_v2_movelearnmethod
- name: pokemon_v2_movelearnmethod
using:
foreign_key_constraint_on: move_learn_method_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_movelearnmethodname
schema: public
object_relationships:
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
- name: pokemon_v2_movelearnmethod
- name: pokemon_v2_movelearnmethod
using:
foreign_key_constraint_on: move_learn_method_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,19 +2,19 @@ table:
name: pokemon_v2_movemeta
schema: public
object_relationships:
- name: pokemon_v2_move
- name: pokemon_v2_move
using:
foreign_key_constraint_on: move_id
- name: pokemon_v2_movemetaailment
- name: pokemon_v2_movemetaailment
using:
foreign_key_constraint_on: move_meta_ailment_id
- name: pokemon_v2_movemetacategory
- name: pokemon_v2_movemetacategory
using:
foreign_key_constraint_on: move_meta_category_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,14 +2,14 @@ table:
name: pokemon_v2_movemetaailment
schema: public
array_relationships:
- name: pokemon_v2_movemeta
- 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
- name: pokemon_v2_movemetaailmentnames
using:
foreign_key_constraint_on:
column: move_meta_ailment_id
@ -17,9 +17,9 @@ array_relationships:
name: pokemon_v2_movemetaailmentname
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_movemetaailmentname
schema: public
object_relationships:
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
- name: pokemon_v2_movemetaailment
- name: pokemon_v2_movemetaailment
using:
foreign_key_constraint_on: move_meta_ailment_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,14 +2,14 @@ table:
name: pokemon_v2_movemetacategory
schema: public
array_relationships:
- name: pokemon_v2_movemeta
- 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
- name: pokemon_v2_movemetacategorydescriptions
using:
foreign_key_constraint_on:
column: move_meta_category_id
@ -17,9 +17,9 @@ array_relationships:
name: pokemon_v2_movemetacategorydescription
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_movemetacategorydescription
schema: public
object_relationships:
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
- name: pokemon_v2_movemetacategory
- name: pokemon_v2_movemetacategory
using:
foreign_key_constraint_on: move_meta_category_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_movemetastatchange
schema: public
object_relationships:
- name: pokemon_v2_move
- name: pokemon_v2_move
using:
foreign_key_constraint_on: move_id
- name: pokemon_v2_stat
- name: pokemon_v2_stat
using:
foreign_key_constraint_on: stat_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,16 +2,16 @@ table:
name: pokemon_v2_movename
schema: public
object_relationships:
- name: pokemon_v2_language
- name: pokemon_v2_language
using:
foreign_key_constraint_on: language_id
- name: pokemon_v2_move
- name: pokemon_v2_move
using:
foreign_key_constraint_on: move_id
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

View file

@ -2,21 +2,21 @@ table:
name: pokemon_v2_movetarget
schema: public
array_relationships:
- name: pokemon_v2_moves
- name: pokemon_v2_moves
using:
foreign_key_constraint_on:
column: move_target_id
table:
name: pokemon_v2_move
schema: public
- name: pokemon_v2_movetargetdescriptions
- name: pokemon_v2_movetargetdescriptions
using:
foreign_key_constraint_on:
column: move_target_id
table:
name: pokemon_v2_movetargetdescription
schema: public
- name: pokemon_v2_movetargetnames
- name: pokemon_v2_movetargetnames
using:
foreign_key_constraint_on:
column: move_target_id
@ -24,9 +24,9 @@ array_relationships:
name: pokemon_v2_movetargetname
schema: public
select_permissions:
- permission:
allow_aggregations: true
columns: "*"
- role: anon
permission:
columns: '*'
filter: {}
limit: 100000
role: anon
allow_aggregations: true

Some files were not shown because too many files have changed in this diff Show more