mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-22 03:13:06 +00:00
feat: add hasura/examples/configuration
This commit is contained in:
parent
c37e9c8c1e
commit
0a2a72f1ea
163 changed files with 4620 additions and 0 deletions
11
apollo.config.js
Normal file
11
apollo.config.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
module.exports = {
|
||||
client: {
|
||||
service: {
|
||||
name: "pokeapi",
|
||||
url: "http://localhost:8080/v1/graphql",
|
||||
headers: {
|
||||
"x-hasura-admin-secret": "pokemon",
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
|
@ -4,6 +4,7 @@ services:
|
|||
image: redis:alpine
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
restart: always
|
||||
|
||||
db:
|
||||
image: postgres
|
||||
|
@ -13,6 +14,7 @@ services:
|
|||
POSTGRES_DB: 'pokeapi'
|
||||
volumes:
|
||||
- pg_data:/var/lib/postgresql/data
|
||||
restart: always
|
||||
|
||||
app:
|
||||
build:
|
||||
|
@ -26,6 +28,7 @@ services:
|
|||
depends_on:
|
||||
- db
|
||||
- cache
|
||||
restart: always
|
||||
|
||||
web:
|
||||
build:
|
||||
|
@ -34,11 +37,29 @@ services:
|
|||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
restart: always
|
||||
volumes_from:
|
||||
- app:ro
|
||||
links:
|
||||
- app
|
||||
|
||||
graphql-engine:
|
||||
image: hasura/graphql-engine:v2.0.0-alpha.3
|
||||
ports:
|
||||
- "8080:8080"
|
||||
depends_on:
|
||||
- "db"
|
||||
restart: always
|
||||
environment:
|
||||
HASURA_GRAPHQL_DATABASE_URL: postgres://ash:pokemon@db:5432/pokeapi
|
||||
HASURA_GRAPHQL_ENABLE_CONSOLE: "true"
|
||||
HASURA_GRAPHQL_DEV_MODE: "false"
|
||||
HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log
|
||||
HASURA_GRAPHQL_ADMIN_SECRET: pokemon
|
||||
HASURA_GRAPHQL_UNAUTHORIZED_ROLE: anon
|
||||
HASURA_GRAPHQL_ENABLE_TELEMETRY: "false"
|
||||
HASURA_GRAPHQL_CONSOLE_ASSETS_DIR: /srv/console-assets
|
||||
|
||||
volumes:
|
||||
pg_data:
|
||||
redis_data:
|
||||
|
|
6
hasura/config.yaml
Normal file
6
hasura/config.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
version: 3
|
||||
endpoint: http://localhost:8080
|
||||
metadata_directory: metadata
|
||||
actions:
|
||||
kind: synchronous
|
||||
handler_webhook_baseurl: http://localhost:3000
|
18
hasura/examples/alola_road_encounters.gql
Normal file
18
hasura/examples/alola_road_encounters.gql
Normal file
|
@ -0,0 +1,18 @@
|
|||
query location_evolutions_in_alola($region: String) {
|
||||
region: pokemon_v2_region(where: {name: {_eq: $region}}) {
|
||||
name
|
||||
location: pokemon_v2_locations_aggregate(where: {pokemon_v2_pokemonevolutions: {id: {_is_null: false}}}) {
|
||||
nodes {
|
||||
name
|
||||
evolutions: pokemon_v2_pokemonevolutions_aggregate {
|
||||
nodes {
|
||||
species: pokemon_v2_pokemonspecy {
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
65
hasura/examples/pokemon.gql
Normal file
65
hasura/examples/pokemon.gql
Normal file
|
@ -0,0 +1,65 @@
|
|||
|
||||
query pokemon_details {
|
||||
species: pokemon_v2_pokemonspecies(where: {name: {_eq: "staryu"}}) {
|
||||
name
|
||||
base_happiness
|
||||
is_legendary
|
||||
is_mythical
|
||||
generation: pokemon_v2_generation {
|
||||
name
|
||||
}
|
||||
habitat: pokemon_v2_pokemonhabitat {
|
||||
name
|
||||
}
|
||||
pokemon: pokemon_v2_pokemons_aggregate(limit: 1) {
|
||||
nodes {
|
||||
height
|
||||
name
|
||||
id
|
||||
weight
|
||||
abilities: pokemon_v2_pokemonabilities_aggregate {
|
||||
nodes {
|
||||
ability: pokemon_v2_ability {
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
stats: pokemon_v2_pokemonstats {
|
||||
base_stat
|
||||
stat: pokemon_v2_stat {
|
||||
name
|
||||
}
|
||||
}
|
||||
types: pokemon_v2_pokemontypes {
|
||||
slot
|
||||
type: pokemon_v2_type {
|
||||
name
|
||||
}
|
||||
}
|
||||
levelUpMoves: pokemon_v2_pokemonmoves_aggregate(where: {pokemon_v2_movelearnmethod: {name: {_eq: "level-up"}}}, distinct_on: move_id) {
|
||||
nodes {
|
||||
move: pokemon_v2_move {
|
||||
name
|
||||
}
|
||||
level
|
||||
}
|
||||
}
|
||||
pokemon_v2_encounters_aggregate {
|
||||
aggregate {
|
||||
count
|
||||
}
|
||||
}
|
||||
pokemon_v2_pokemonitems(where: {pokemon_v2_version: {name: {_eq: "firered"}}}) {
|
||||
pokemon_v2_item {
|
||||
name
|
||||
cost
|
||||
}
|
||||
rarity
|
||||
}
|
||||
}
|
||||
}
|
||||
flavorText: pokemon_v2_pokemonspeciesflavortexts(where: {pokemon_v2_language: {name: {_eq: "en"}}, pokemon_v2_version: {name: {_eq: "firered"}}}) {
|
||||
flavor_text
|
||||
}
|
||||
}
|
||||
}
|
2
hasura/metadata/actions.graphql
Normal file
2
hasura/metadata/actions.graphql
Normal file
|
@ -0,0 +1,2 @@
|
|||
|
||||
|
6
hasura/metadata/actions.yaml
Normal file
6
hasura/metadata/actions.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
actions: []
|
||||
custom_types:
|
||||
enums: []
|
||||
input_objects: []
|
||||
objects: []
|
||||
scalars: []
|
1
hasura/metadata/allow_list.yaml
Normal file
1
hasura/metadata/allow_list.yaml
Normal file
|
@ -0,0 +1 @@
|
|||
[]
|
1
hasura/metadata/cron_triggers.yaml
Normal file
1
hasura/metadata/cron_triggers.yaml
Normal file
|
@ -0,0 +1 @@
|
|||
[]
|
161
hasura/metadata/databases/databases.yaml
Normal file
161
hasura/metadata/databases/databases.yaml
Normal file
|
@ -0,0 +1,161 @@
|
|||
- name: default
|
||||
configuration:
|
||||
connection_info:
|
||||
database_url:
|
||||
from_env: HASURA_GRAPHQL_DATABASE_URL
|
||||
pool_settings:
|
||||
idle_timeout: 180
|
||||
max_connections: 50
|
||||
retries: 1
|
||||
tables:
|
||||
- "!include public_pokemon_v2_ability.yaml"
|
||||
- "!include public_pokemon_v2_abilitychange.yaml"
|
||||
- "!include public_pokemon_v2_abilitychangeeffecttext.yaml"
|
||||
- "!include public_pokemon_v2_abilityeffecttext.yaml"
|
||||
- "!include public_pokemon_v2_abilityflavortext.yaml"
|
||||
- "!include public_pokemon_v2_abilityname.yaml"
|
||||
- "!include public_pokemon_v2_berry.yaml"
|
||||
- "!include public_pokemon_v2_berryfirmness.yaml"
|
||||
- "!include public_pokemon_v2_berryfirmnessname.yaml"
|
||||
- "!include public_pokemon_v2_berryflavor.yaml"
|
||||
- "!include public_pokemon_v2_berryflavormap.yaml"
|
||||
- "!include public_pokemon_v2_berryflavorname.yaml"
|
||||
- "!include public_pokemon_v2_characteristic.yaml"
|
||||
- "!include public_pokemon_v2_characteristicdescription.yaml"
|
||||
- "!include public_pokemon_v2_contestcombo.yaml"
|
||||
- "!include public_pokemon_v2_contesteffect.yaml"
|
||||
- "!include public_pokemon_v2_contesteffecteffecttext.yaml"
|
||||
- "!include public_pokemon_v2_contesteffectflavortext.yaml"
|
||||
- "!include public_pokemon_v2_contesttype.yaml"
|
||||
- "!include public_pokemon_v2_contesttypename.yaml"
|
||||
- "!include public_pokemon_v2_egggroup.yaml"
|
||||
- "!include public_pokemon_v2_egggroupname.yaml"
|
||||
- "!include public_pokemon_v2_encounter.yaml"
|
||||
- "!include public_pokemon_v2_encountercondition.yaml"
|
||||
- "!include public_pokemon_v2_encounterconditionname.yaml"
|
||||
- "!include public_pokemon_v2_encounterconditionvalue.yaml"
|
||||
- "!include public_pokemon_v2_encounterconditionvaluemap.yaml"
|
||||
- "!include public_pokemon_v2_encounterconditionvaluename.yaml"
|
||||
- "!include public_pokemon_v2_encountermethod.yaml"
|
||||
- "!include public_pokemon_v2_encountermethodname.yaml"
|
||||
- "!include public_pokemon_v2_encounterslot.yaml"
|
||||
- "!include public_pokemon_v2_evolutionchain.yaml"
|
||||
- "!include public_pokemon_v2_evolutiontrigger.yaml"
|
||||
- "!include public_pokemon_v2_evolutiontriggername.yaml"
|
||||
- "!include public_pokemon_v2_experience.yaml"
|
||||
- "!include public_pokemon_v2_gender.yaml"
|
||||
- "!include public_pokemon_v2_generation.yaml"
|
||||
- "!include public_pokemon_v2_generationname.yaml"
|
||||
- "!include public_pokemon_v2_growthrate.yaml"
|
||||
- "!include public_pokemon_v2_growthratedescription.yaml"
|
||||
- "!include public_pokemon_v2_item.yaml"
|
||||
- "!include public_pokemon_v2_itemattribute.yaml"
|
||||
- "!include public_pokemon_v2_itemattributedescription.yaml"
|
||||
- "!include public_pokemon_v2_itemattributemap.yaml"
|
||||
- "!include public_pokemon_v2_itemattributename.yaml"
|
||||
- "!include public_pokemon_v2_itemcategory.yaml"
|
||||
- "!include public_pokemon_v2_itemcategoryname.yaml"
|
||||
- "!include public_pokemon_v2_itemeffecttext.yaml"
|
||||
- "!include public_pokemon_v2_itemflavortext.yaml"
|
||||
- "!include public_pokemon_v2_itemflingeffect.yaml"
|
||||
- "!include public_pokemon_v2_itemflingeffecteffecttext.yaml"
|
||||
- "!include public_pokemon_v2_itemgameindex.yaml"
|
||||
- "!include public_pokemon_v2_itemname.yaml"
|
||||
- "!include public_pokemon_v2_itempocket.yaml"
|
||||
- "!include public_pokemon_v2_itempocketname.yaml"
|
||||
- "!include public_pokemon_v2_itemsprites.yaml"
|
||||
- "!include public_pokemon_v2_language.yaml"
|
||||
- "!include public_pokemon_v2_languagename.yaml"
|
||||
- "!include public_pokemon_v2_location.yaml"
|
||||
- "!include public_pokemon_v2_locationarea.yaml"
|
||||
- "!include public_pokemon_v2_locationareaencounterrate.yaml"
|
||||
- "!include public_pokemon_v2_locationareaname.yaml"
|
||||
- "!include public_pokemon_v2_locationgameindex.yaml"
|
||||
- "!include public_pokemon_v2_locationname.yaml"
|
||||
- "!include public_pokemon_v2_machine.yaml"
|
||||
- "!include public_pokemon_v2_move.yaml"
|
||||
- "!include public_pokemon_v2_moveattribute.yaml"
|
||||
- "!include public_pokemon_v2_moveattributedescription.yaml"
|
||||
- "!include public_pokemon_v2_moveattributemap.yaml"
|
||||
- "!include public_pokemon_v2_moveattributename.yaml"
|
||||
- "!include public_pokemon_v2_movebattlestyle.yaml"
|
||||
- "!include public_pokemon_v2_movebattlestylename.yaml"
|
||||
- "!include public_pokemon_v2_movechange.yaml"
|
||||
- "!include public_pokemon_v2_movedamageclass.yaml"
|
||||
- "!include public_pokemon_v2_movedamageclassdescription.yaml"
|
||||
- "!include public_pokemon_v2_movedamageclassname.yaml"
|
||||
- "!include public_pokemon_v2_moveeffect.yaml"
|
||||
- "!include public_pokemon_v2_moveeffectchange.yaml"
|
||||
- "!include public_pokemon_v2_moveeffectchangeeffecttext.yaml"
|
||||
- "!include public_pokemon_v2_moveeffecteffecttext.yaml"
|
||||
- "!include public_pokemon_v2_moveflavortext.yaml"
|
||||
- "!include public_pokemon_v2_movelearnmethod.yaml"
|
||||
- "!include public_pokemon_v2_movelearnmethoddescription.yaml"
|
||||
- "!include public_pokemon_v2_movelearnmethodname.yaml"
|
||||
- "!include public_pokemon_v2_movemeta.yaml"
|
||||
- "!include public_pokemon_v2_movemetaailment.yaml"
|
||||
- "!include public_pokemon_v2_movemetaailmentname.yaml"
|
||||
- "!include public_pokemon_v2_movemetacategory.yaml"
|
||||
- "!include public_pokemon_v2_movemetacategorydescription.yaml"
|
||||
- "!include public_pokemon_v2_movemetastatchange.yaml"
|
||||
- "!include public_pokemon_v2_movename.yaml"
|
||||
- "!include public_pokemon_v2_movetarget.yaml"
|
||||
- "!include public_pokemon_v2_movetargetdescription.yaml"
|
||||
- "!include public_pokemon_v2_movetargetname.yaml"
|
||||
- "!include public_pokemon_v2_nature.yaml"
|
||||
- "!include public_pokemon_v2_naturebattlestylepreference.yaml"
|
||||
- "!include public_pokemon_v2_naturename.yaml"
|
||||
- "!include public_pokemon_v2_naturepokeathlonstat.yaml"
|
||||
- "!include public_pokemon_v2_palpark.yaml"
|
||||
- "!include public_pokemon_v2_palparkarea.yaml"
|
||||
- "!include public_pokemon_v2_palparkareaname.yaml"
|
||||
- "!include public_pokemon_v2_pokeathlonstat.yaml"
|
||||
- "!include public_pokemon_v2_pokeathlonstatname.yaml"
|
||||
- "!include public_pokemon_v2_pokedex.yaml"
|
||||
- "!include public_pokemon_v2_pokedexdescription.yaml"
|
||||
- "!include public_pokemon_v2_pokedexname.yaml"
|
||||
- "!include public_pokemon_v2_pokedexversiongroup.yaml"
|
||||
- "!include public_pokemon_v2_pokemon.yaml"
|
||||
- "!include public_pokemon_v2_pokemonability.yaml"
|
||||
- "!include public_pokemon_v2_pokemoncolor.yaml"
|
||||
- "!include public_pokemon_v2_pokemoncolorname.yaml"
|
||||
- "!include public_pokemon_v2_pokemondexnumber.yaml"
|
||||
- "!include public_pokemon_v2_pokemonegggroup.yaml"
|
||||
- "!include public_pokemon_v2_pokemonevolution.yaml"
|
||||
- "!include public_pokemon_v2_pokemonform.yaml"
|
||||
- "!include public_pokemon_v2_pokemonformgeneration.yaml"
|
||||
- "!include public_pokemon_v2_pokemonformname.yaml"
|
||||
- "!include public_pokemon_v2_pokemonformsprites.yaml"
|
||||
- "!include public_pokemon_v2_pokemonformtype.yaml"
|
||||
- "!include public_pokemon_v2_pokemongameindex.yaml"
|
||||
- "!include public_pokemon_v2_pokemonhabitat.yaml"
|
||||
- "!include public_pokemon_v2_pokemonhabitatname.yaml"
|
||||
- "!include public_pokemon_v2_pokemonitem.yaml"
|
||||
- "!include public_pokemon_v2_pokemonmove.yaml"
|
||||
- "!include public_pokemon_v2_pokemonshape.yaml"
|
||||
- "!include public_pokemon_v2_pokemonshapename.yaml"
|
||||
- "!include public_pokemon_v2_pokemonspecies.yaml"
|
||||
- "!include public_pokemon_v2_pokemonspeciesdescription.yaml"
|
||||
- "!include public_pokemon_v2_pokemonspeciesflavortext.yaml"
|
||||
- "!include public_pokemon_v2_pokemonspeciesname.yaml"
|
||||
- "!include public_pokemon_v2_pokemonsprites.yaml"
|
||||
- "!include public_pokemon_v2_pokemonstat.yaml"
|
||||
- "!include public_pokemon_v2_pokemontype.yaml"
|
||||
- "!include public_pokemon_v2_pokemontypepast.yaml"
|
||||
- "!include public_pokemon_v2_region.yaml"
|
||||
- "!include public_pokemon_v2_regionname.yaml"
|
||||
- "!include public_pokemon_v2_stat.yaml"
|
||||
- "!include public_pokemon_v2_statname.yaml"
|
||||
- "!include public_pokemon_v2_supercontestcombo.yaml"
|
||||
- "!include public_pokemon_v2_supercontesteffect.yaml"
|
||||
- "!include public_pokemon_v2_supercontesteffectflavortext.yaml"
|
||||
- "!include public_pokemon_v2_type.yaml"
|
||||
- "!include public_pokemon_v2_typeefficacy.yaml"
|
||||
- "!include public_pokemon_v2_typegameindex.yaml"
|
||||
- "!include public_pokemon_v2_typename.yaml"
|
||||
- "!include public_pokemon_v2_version.yaml"
|
||||
- "!include public_pokemon_v2_versiongroup.yaml"
|
||||
- "!include public_pokemon_v2_versiongroupmovelearnmethod.yaml"
|
||||
- "!include public_pokemon_v2_versiongroupregion.yaml"
|
||||
- "!include public_pokemon_v2_versionname.yaml"
|
||||
functions: []
|
|
@ -0,0 +1,50 @@
|
|||
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
|
||||
object_relationships:
|
||||
- name: pokemon_v2_generation
|
||||
using:
|
||||
foreign_key_constraint_on: generation_id
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_ability
|
||||
schema: public
|
|
@ -0,0 +1,25 @@
|
|||
array_relationships:
|
||||
- name: pokemon_v2_abilitychangeeffecttexts
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
column: ability_change_id
|
||||
table:
|
||||
name: pokemon_v2_abilitychangeeffecttext
|
||||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_abilitychange
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_abilitychangeeffecttext
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
object_relationships:
|
||||
- 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
|
||||
table:
|
||||
name: pokemon_v2_abilityeffecttext
|
||||
schema: public
|
|
@ -0,0 +1,20 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_abilityflavortext
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
object_relationships:
|
||||
- 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
|
||||
table:
|
||||
name: pokemon_v2_abilityname
|
||||
schema: public
|
|
@ -0,0 +1,28 @@
|
|||
array_relationships:
|
||||
- name: pokemon_v2_berryflavormaps
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
column: berry_id
|
||||
table:
|
||||
name: pokemon_v2_berryflavormap
|
||||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_berry
|
||||
schema: public
|
|
@ -0,0 +1,25 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_berryfirmness
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_berryfirmnessname
|
||||
schema: public
|
|
@ -0,0 +1,43 @@
|
|||
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
|
||||
object_relationships:
|
||||
- name: pokemon_v2_contesttype
|
||||
using:
|
||||
foreign_key_constraint_on: contest_type_id
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_berryflavor
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_berryflavormap
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_berryflavorname
|
||||
schema: public
|
|
@ -0,0 +1,22 @@
|
|||
array_relationships:
|
||||
- name: pokemon_v2_characteristicdescriptions
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
column: characteristic_id
|
||||
table:
|
||||
name: pokemon_v2_characteristicdescription
|
||||
schema: public
|
||||
object_relationships:
|
||||
- name: pokemon_v2_stat
|
||||
using:
|
||||
foreign_key_constraint_on: stat_id
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_characteristic
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
object_relationships:
|
||||
- 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
|
||||
table:
|
||||
name: pokemon_v2_characteristicdescription
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
object_relationships:
|
||||
- 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
|
||||
table:
|
||||
name: pokemon_v2_contestcombo
|
||||
schema: public
|
|
@ -0,0 +1,32 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_contesteffect
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_contesteffecteffecttext
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_contesteffectflavortext
|
||||
schema: public
|
|
@ -0,0 +1,32 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_contesttype
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_contesttypename
|
||||
schema: public
|
|
@ -0,0 +1,25 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_egggroup
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_egggroupname
|
||||
schema: public
|
|
@ -0,0 +1,31 @@
|
|||
array_relationships:
|
||||
- name: pokemon_v2_encounterconditionvaluemaps
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
column: encounter_id
|
||||
table:
|
||||
name: pokemon_v2_encounterconditionvaluemap
|
||||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_encounter
|
||||
schema: public
|
|
@ -0,0 +1,25 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_encountercondition
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_encounterconditionname
|
||||
schema: public
|
|
@ -0,0 +1,29 @@
|
|||
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
|
||||
object_relationships:
|
||||
- name: pokemon_v2_encountercondition
|
||||
using:
|
||||
foreign_key_constraint_on: encounter_condition_id
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_encounterconditionvalue
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_encounterconditionvaluemap
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_encounterconditionvaluename
|
||||
schema: public
|
|
@ -0,0 +1,32 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_encountermethod
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_encountermethodname
|
||||
schema: public
|
|
@ -0,0 +1,25 @@
|
|||
array_relationships:
|
||||
- name: pokemon_v2_encounters
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
column: encounter_slot_id
|
||||
table:
|
||||
name: pokemon_v2_encounter
|
||||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_encounterslot
|
||||
schema: public
|
|
@ -0,0 +1,22 @@
|
|||
array_relationships:
|
||||
- name: pokemon_v2_pokemonspecies
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
column: evolution_chain_id
|
||||
table:
|
||||
name: pokemon_v2_pokemonspecies
|
||||
schema: public
|
||||
object_relationships:
|
||||
- name: pokemon_v2_item
|
||||
using:
|
||||
foreign_key_constraint_on: baby_trigger_item_id
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_evolutionchain
|
||||
schema: public
|
|
@ -0,0 +1,25 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_evolutiontrigger
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_evolutiontriggername
|
||||
schema: public
|
|
@ -0,0 +1,14 @@
|
|||
object_relationships:
|
||||
- name: pokemon_v2_growthrate
|
||||
using:
|
||||
foreign_key_constraint_on: growth_rate_id
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_experience
|
||||
schema: public
|
|
@ -0,0 +1,18 @@
|
|||
array_relationships:
|
||||
- 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
|
||||
table:
|
||||
name: pokemon_v2_gender
|
||||
schema: public
|
|
@ -0,0 +1,92 @@
|
|||
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_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_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
|
||||
object_relationships:
|
||||
- name: pokemon_v2_region
|
||||
using:
|
||||
foreign_key_constraint_on: region_id
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_generation
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
object_relationships:
|
||||
- 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
|
||||
table:
|
||||
name: pokemon_v2_generationname
|
||||
schema: public
|
|
@ -0,0 +1,39 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_growthrate
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_growthratedescription
|
||||
schema: public
|
|
@ -0,0 +1,102 @@
|
|||
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
|
||||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_item
|
||||
schema: public
|
|
@ -0,0 +1,32 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_itemattribute
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_itemattributedescription
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_itemattributemap
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_itemattributename
|
||||
schema: public
|
|
@ -0,0 +1,29 @@
|
|||
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
|
||||
object_relationships:
|
||||
- name: pokemon_v2_itempocket
|
||||
using:
|
||||
foreign_key_constraint_on: item_pocket_id
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_itemcategory
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_itemcategoryname
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
object_relationships:
|
||||
- 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
|
||||
table:
|
||||
name: pokemon_v2_itemeffecttext
|
||||
schema: public
|
|
@ -0,0 +1,20 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_itemflavortext
|
||||
schema: public
|
|
@ -0,0 +1,25 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_itemflingeffect
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_itemflingeffecteffecttext
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
object_relationships:
|
||||
- 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
|
||||
table:
|
||||
name: pokemon_v2_itemgameindex
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
object_relationships:
|
||||
- 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
|
||||
table:
|
||||
name: pokemon_v2_itemname
|
||||
schema: public
|
|
@ -0,0 +1,25 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_itempocket
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_itempocketname
|
||||
schema: public
|
|
@ -0,0 +1,14 @@
|
|||
object_relationships:
|
||||
- name: pokemon_v2_item
|
||||
using:
|
||||
foreign_key_constraint_on: item_id
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_itemsprites
|
||||
schema: public
|
|
@ -0,0 +1,438 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_language
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
object_relationships:
|
||||
- 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
|
||||
table:
|
||||
name: pokemon_v2_languagename
|
||||
schema: public
|
|
@ -0,0 +1,43 @@
|
|||
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
|
||||
object_relationships:
|
||||
- name: pokemon_v2_region
|
||||
using:
|
||||
foreign_key_constraint_on: region_id
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_location
|
||||
schema: public
|
|
@ -0,0 +1,36 @@
|
|||
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
|
||||
object_relationships:
|
||||
- name: pokemon_v2_location
|
||||
using:
|
||||
foreign_key_constraint_on: location_id
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_locationarea
|
||||
schema: public
|
|
@ -0,0 +1,20 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_locationareaencounterrate
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_locationareaname
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
object_relationships:
|
||||
- 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
|
||||
table:
|
||||
name: pokemon_v2_locationgameindex
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
object_relationships:
|
||||
- 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
|
||||
table:
|
||||
name: pokemon_v2_locationname
|
||||
schema: public
|
|
@ -0,0 +1,23 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_machine
|
||||
schema: public
|
|
@ -0,0 +1,127 @@
|
|||
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
|
||||
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_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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_move
|
||||
schema: public
|
|
@ -0,0 +1,32 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_moveattribute
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_moveattributedescription
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_moveattributemap
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_moveattributename
|
||||
schema: public
|
|
@ -0,0 +1,25 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_movebattlestyle
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_movebattlestylename
|
||||
schema: public
|
|
@ -0,0 +1,23 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_movechange
|
||||
schema: public
|
|
@ -0,0 +1,46 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_movedamageclass
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_movedamageclassdescription
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_movedamageclassname
|
||||
schema: public
|
|
@ -0,0 +1,39 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_moveeffect
|
||||
schema: public
|
|
@ -0,0 +1,25 @@
|
|||
array_relationships:
|
||||
- name: pokemon_v2_moveeffectchangeeffecttexts
|
||||
using:
|
||||
foreign_key_constraint_on:
|
||||
column: move_effect_change_id
|
||||
table:
|
||||
name: pokemon_v2_moveeffectchangeeffecttext
|
||||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_moveeffectchange
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_moveeffectchangeeffecttext
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_moveeffecteffecttext
|
||||
schema: public
|
|
@ -0,0 +1,20 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_moveflavortext
|
||||
schema: public
|
|
@ -0,0 +1,39 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_movelearnmethod
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_movelearnmethoddescription
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_movelearnmethodname
|
||||
schema: public
|
|
@ -0,0 +1,20 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_movemeta
|
||||
schema: public
|
|
@ -0,0 +1,25 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_movemetaailment
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_movemetaailmentname
|
||||
schema: public
|
|
@ -0,0 +1,25 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_movemetacategory
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
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
|
||||
select_permissions:
|
||||
- permission:
|
||||
allow_aggregations: true
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
role: anon
|
||||
table:
|
||||
name: pokemon_v2_movemetacategorydescription
|
||||
schema: public
|
|
@ -0,0 +1,17 @@
|
|||
object_relationships:
|
||||
- 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
|
||||
table:
|
||||
name: pokemon_v2_movemetastatchange
|
||||
schema: public
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue