Merge pull request #993 from PokeAPI/gql

Upgrade images/change GQL makefile
This commit is contained in:
Alessandro Pezzè 2024-01-10 23:31:26 +09:00 committed by GitHub
commit 80ab47326e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
163 changed files with 3661 additions and 3637 deletions

View file

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

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

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

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