feat: update schema

This commit is contained in:
Alessandro Pezzè 2021-08-31 12:19:43 +02:00
parent 5b6b667a9d
commit f167fcc520
154 changed files with 672 additions and 629 deletions

View file

@ -1,2 +0,0 @@

View file

@ -4,9 +4,12 @@
connection_info: connection_info:
database_url: database_url:
from_env: HASURA_GRAPHQL_DATABASE_URL from_env: HASURA_GRAPHQL_DATABASE_URL
isolation_level: read-committed
pool_settings: pool_settings:
idle_timeout: 180 idle_timeout: 20
max_connections: 50 max_connections: 10
retries: 1 retries: 1
pool_timeout: 60
connection_lifetime: 60
use_prepared_statements: false
tables: "!include default/tables/tables.yaml" tables: "!include default/tables/tables.yaml"
functions: "!include default/functions/functions.yaml"

View file

@ -1,3 +1,10 @@
table:
name: pokemon_v2_ability
schema: public
object_relationships:
- name: pokemon_v2_generation
using:
foreign_key_constraint_on: generation_id
array_relationships: array_relationships:
- name: pokemon_v2_abilitychanges - name: pokemon_v2_abilitychanges
using: using:
@ -34,10 +41,6 @@ array_relationships:
table: table:
name: pokemon_v2_pokemonability name: pokemon_v2_pokemonability
schema: public schema: public
object_relationships:
- name: pokemon_v2_generation
using:
foreign_key_constraint_on: generation_id
select_permissions: select_permissions:
- permission: - permission:
allow_aggregations: true allow_aggregations: true
@ -45,6 +48,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_ability
schema: public

View file

@ -1,3 +1,13 @@
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
array_relationships: array_relationships:
- name: pokemon_v2_abilitychangeeffecttexts - name: pokemon_v2_abilitychangeeffecttexts
using: using:
@ -6,13 +16,6 @@ array_relationships:
table: table:
name: pokemon_v2_abilitychangeeffecttext name: pokemon_v2_abilitychangeeffecttext
schema: public 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: select_permissions:
- permission: - permission:
allow_aggregations: true allow_aggregations: true
@ -20,6 +23,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_abilitychange
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_abilitychangeeffecttext
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_abilitychange - name: pokemon_v2_abilitychange
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_abilitychangeeffecttext
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_abilityeffecttext
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_ability - name: pokemon_v2_ability
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_abilityeffecttext
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_abilityflavortext
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_ability - name: pokemon_v2_ability
using: using:
@ -15,6 +18,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_abilityflavortext
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_abilityname
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_ability - name: pokemon_v2_ability
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_abilityname
schema: public

View file

@ -1,11 +1,6 @@
array_relationships: table:
- name: pokemon_v2_berryflavormaps name: pokemon_v2_berry
using: schema: public
foreign_key_constraint_on:
column: berry_id
table:
name: pokemon_v2_berryflavormap
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_berryfirmness - name: pokemon_v2_berryfirmness
using: using:
@ -16,6 +11,14 @@ object_relationships:
- name: pokemon_v2_type - name: pokemon_v2_type
using: using:
foreign_key_constraint_on: natural_gift_type_id 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
select_permissions: select_permissions:
- permission: - permission:
allow_aggregations: true allow_aggregations: true
@ -23,6 +26,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_berry
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_berryfirmness
schema: public
array_relationships: array_relationships:
- name: pokemon_v2_berries - name: pokemon_v2_berries
using: using:
@ -20,6 +23,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_berryfirmness
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_berryfirmnessname
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_berryfirmness - name: pokemon_v2_berryfirmness
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_berryfirmnessname
schema: public

View file

@ -1,3 +1,10 @@
table:
name: pokemon_v2_berryflavor
schema: public
object_relationships:
- name: pokemon_v2_contesttype
using:
foreign_key_constraint_on: contest_type_id
array_relationships: array_relationships:
- name: pokemonV2NaturesByLikesFlavorId - name: pokemonV2NaturesByLikesFlavorId
using: using:
@ -27,10 +34,6 @@ array_relationships:
table: table:
name: pokemon_v2_nature name: pokemon_v2_nature
schema: public schema: public
object_relationships:
- name: pokemon_v2_contesttype
using:
foreign_key_constraint_on: contest_type_id
select_permissions: select_permissions:
- permission: - permission:
allow_aggregations: true allow_aggregations: true
@ -38,6 +41,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_berryflavor
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_berryflavormap
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_berry - name: pokemon_v2_berry
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_berryflavormap
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_berryflavorname
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_berryflavor - name: pokemon_v2_berryflavor
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_berryflavorname
schema: public

View file

@ -1,3 +1,10 @@
table:
name: pokemon_v2_characteristic
schema: public
object_relationships:
- name: pokemon_v2_stat
using:
foreign_key_constraint_on: stat_id
array_relationships: array_relationships:
- name: pokemon_v2_characteristicdescriptions - name: pokemon_v2_characteristicdescriptions
using: using:
@ -6,10 +13,6 @@ array_relationships:
table: table:
name: pokemon_v2_characteristicdescription name: pokemon_v2_characteristicdescription
schema: public schema: public
object_relationships:
- name: pokemon_v2_stat
using:
foreign_key_constraint_on: stat_id
select_permissions: select_permissions:
- permission: - permission:
allow_aggregations: true allow_aggregations: true
@ -17,6 +20,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_characteristic
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_characteristicdescription
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_characteristic - name: pokemon_v2_characteristic
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_characteristicdescription
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_contestcombo
schema: public
object_relationships: object_relationships:
- name: pokemonV2MoveBySecondMoveId - name: pokemonV2MoveBySecondMoveId
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_contestcombo
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_contesteffect
schema: public
array_relationships: array_relationships:
- name: pokemon_v2_contesteffecteffecttexts - name: pokemon_v2_contesteffecteffecttexts
using: using:
@ -27,6 +30,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_contesteffect
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_contesteffecteffecttext
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_contesteffect - name: pokemon_v2_contesteffect
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_contesteffecteffecttext
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_contesteffectflavortext
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_contesteffect - name: pokemon_v2_contesteffect
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_contesteffectflavortext
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_contesttype
schema: public
array_relationships: array_relationships:
- name: pokemon_v2_berryflavors - name: pokemon_v2_berryflavors
using: using:
@ -27,6 +30,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_contesttype
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_contesttypename
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_contesttype - name: pokemon_v2_contesttype
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_contesttypename
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_egggroup
schema: public
array_relationships: array_relationships:
- name: pokemon_v2_egggroupnames - name: pokemon_v2_egggroupnames
using: using:
@ -20,6 +23,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_egggroup
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_egggroupname
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_egggroup - name: pokemon_v2_egggroup
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_egggroupname
schema: public

View file

@ -1,11 +1,6 @@
array_relationships: table:
- name: pokemon_v2_encounterconditionvaluemaps name: pokemon_v2_encounter
using: schema: public
foreign_key_constraint_on:
column: encounter_id
table:
name: pokemon_v2_encounterconditionvaluemap
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_encounterslot - name: pokemon_v2_encounterslot
using: using:
@ -19,6 +14,14 @@ object_relationships:
- name: pokemon_v2_version - name: pokemon_v2_version
using: using:
foreign_key_constraint_on: version_id 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
select_permissions: select_permissions:
- permission: - permission:
allow_aggregations: true allow_aggregations: true
@ -26,6 +29,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_encounter
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_encountercondition
schema: public
array_relationships: array_relationships:
- name: pokemon_v2_encounterconditionnames - name: pokemon_v2_encounterconditionnames
using: using:
@ -20,6 +23,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_encountercondition
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_encounterconditionname
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_encountercondition - name: pokemon_v2_encountercondition
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_encounterconditionname
schema: public

View file

@ -1,3 +1,10 @@
table:
name: pokemon_v2_encounterconditionvalue
schema: public
object_relationships:
- name: pokemon_v2_encountercondition
using:
foreign_key_constraint_on: encounter_condition_id
array_relationships: array_relationships:
- name: pokemon_v2_encounterconditionvaluemaps - name: pokemon_v2_encounterconditionvaluemaps
using: using:
@ -13,10 +20,6 @@ array_relationships:
table: table:
name: pokemon_v2_encounterconditionvaluename name: pokemon_v2_encounterconditionvaluename
schema: public schema: public
object_relationships:
- name: pokemon_v2_encountercondition
using:
foreign_key_constraint_on: encounter_condition_id
select_permissions: select_permissions:
- permission: - permission:
allow_aggregations: true allow_aggregations: true
@ -24,6 +27,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_encounterconditionvalue
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_encounterconditionvaluemap
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_encounter - name: pokemon_v2_encounter
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_encounterconditionvaluemap
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_encounterconditionvaluename
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_encounterconditionvalue - name: pokemon_v2_encounterconditionvalue
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_encounterconditionvaluename
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_encountermethod
schema: public
array_relationships: array_relationships:
- name: pokemon_v2_encountermethodnames - name: pokemon_v2_encountermethodnames
using: using:
@ -27,6 +30,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_encountermethod
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_encountermethodname
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_encountermethod - name: pokemon_v2_encountermethod
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_encountermethodname
schema: public

View file

@ -1,3 +1,13 @@
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
array_relationships: array_relationships:
- name: pokemon_v2_encounters - name: pokemon_v2_encounters
using: using:
@ -6,13 +16,6 @@ array_relationships:
table: table:
name: pokemon_v2_encounter name: pokemon_v2_encounter
schema: public 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: select_permissions:
- permission: - permission:
allow_aggregations: true allow_aggregations: true
@ -20,6 +23,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_encounterslot
schema: public

View file

@ -1,3 +1,10 @@
table:
name: pokemon_v2_evolutionchain
schema: public
object_relationships:
- name: pokemon_v2_item
using:
foreign_key_constraint_on: baby_trigger_item_id
array_relationships: array_relationships:
- name: pokemon_v2_pokemonspecies - name: pokemon_v2_pokemonspecies
using: using:
@ -6,10 +13,6 @@ array_relationships:
table: table:
name: pokemon_v2_pokemonspecies name: pokemon_v2_pokemonspecies
schema: public schema: public
object_relationships:
- name: pokemon_v2_item
using:
foreign_key_constraint_on: baby_trigger_item_id
select_permissions: select_permissions:
- permission: - permission:
allow_aggregations: true allow_aggregations: true
@ -17,6 +20,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_evolutionchain
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_evolutiontrigger
schema: public
array_relationships: array_relationships:
- name: pokemon_v2_evolutiontriggernames - name: pokemon_v2_evolutiontriggernames
using: using:
@ -20,6 +23,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_evolutiontrigger
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_evolutiontriggername
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_evolutiontrigger - name: pokemon_v2_evolutiontrigger
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_evolutiontriggername
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_experience
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_growthrate - name: pokemon_v2_growthrate
using: using:
@ -9,6 +12,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_experience
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_gender
schema: public
array_relationships: array_relationships:
- name: pokemon_v2_pokemonevolutions - name: pokemon_v2_pokemonevolutions
using: using:
@ -13,6 +16,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_gender
schema: public

View file

@ -1,3 +1,10 @@
table:
name: pokemon_v2_generation
schema: public
object_relationships:
- name: pokemon_v2_region
using:
foreign_key_constraint_on: region_id
array_relationships: array_relationships:
- name: pokemon_v2_abilities - name: pokemon_v2_abilities
using: using:
@ -55,6 +62,13 @@ array_relationships:
table: table:
name: pokemon_v2_pokemontypepast name: pokemon_v2_pokemontypepast
schema: public 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 - name: pokemon_v2_typegameindices
using: using:
foreign_key_constraint_on: foreign_key_constraint_on:
@ -76,10 +90,6 @@ array_relationships:
table: table:
name: pokemon_v2_versiongroup name: pokemon_v2_versiongroup
schema: public schema: public
object_relationships:
- name: pokemon_v2_region
using:
foreign_key_constraint_on: region_id
select_permissions: select_permissions:
- permission: - permission:
allow_aggregations: true allow_aggregations: true
@ -87,6 +97,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_generation
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_generationname
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_generation - name: pokemon_v2_generation
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_generationname
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_growthrate
schema: public
array_relationships: array_relationships:
- name: pokemon_v2_experiences - name: pokemon_v2_experiences
using: using:
@ -34,6 +37,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_growthrate
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_growthratedescription
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_growthrate - name: pokemon_v2_growthrate
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_growthratedescription
schema: public

View file

@ -1,3 +1,13 @@
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
array_relationships: array_relationships:
- name: pokemonV2PokemonevolutionsByHeldItemId - name: pokemonV2PokemonevolutionsByHeldItemId
using: using:
@ -83,13 +93,6 @@ array_relationships:
table: table:
name: pokemon_v2_pokemonitem name: pokemon_v2_pokemonitem
schema: public 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: select_permissions:
- permission: - permission:
allow_aggregations: true allow_aggregations: true
@ -97,6 +100,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_item
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_itemattribute
schema: public
array_relationships: array_relationships:
- name: pokemon_v2_itemattributedescriptions - name: pokemon_v2_itemattributedescriptions
using: using:
@ -27,6 +30,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_itemattribute
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_itemattributedescription
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_itemattribute - name: pokemon_v2_itemattribute
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_itemattributedescription
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_itemattributemap
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_item - name: pokemon_v2_item
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_itemattributemap
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_itemattributename
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_itemattribute - name: pokemon_v2_itemattribute
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_itemattributename
schema: public

View file

@ -1,3 +1,10 @@
table:
name: pokemon_v2_itemcategory
schema: public
object_relationships:
- name: pokemon_v2_itempocket
using:
foreign_key_constraint_on: item_pocket_id
array_relationships: array_relationships:
- name: pokemon_v2_itemcategorynames - name: pokemon_v2_itemcategorynames
using: using:
@ -13,10 +20,6 @@ array_relationships:
table: table:
name: pokemon_v2_item name: pokemon_v2_item
schema: public schema: public
object_relationships:
- name: pokemon_v2_itempocket
using:
foreign_key_constraint_on: item_pocket_id
select_permissions: select_permissions:
- permission: - permission:
allow_aggregations: true allow_aggregations: true
@ -24,6 +27,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_itemcategory
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_itemcategoryname
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_itemcategory - name: pokemon_v2_itemcategory
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_itemcategoryname
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_itemeffecttext
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_item - name: pokemon_v2_item
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_itemeffecttext
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_itemflavortext
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_item - name: pokemon_v2_item
using: using:
@ -15,6 +18,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_itemflavortext
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_itemflingeffect
schema: public
array_relationships: array_relationships:
- name: pokemon_v2_itemflingeffecteffecttexts - name: pokemon_v2_itemflingeffecteffecttexts
using: using:
@ -20,6 +23,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_itemflingeffect
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_itemflingeffecteffecttext
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_itemflingeffect - name: pokemon_v2_itemflingeffect
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_itemflingeffecteffecttext
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_itemgameindex
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_generation - name: pokemon_v2_generation
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_itemgameindex
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_itemname
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_item - name: pokemon_v2_item
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_itemname
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_itempocket
schema: public
array_relationships: array_relationships:
- name: pokemon_v2_itemcategories - name: pokemon_v2_itemcategories
using: using:
@ -20,6 +23,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_itempocket
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_itempocketname
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_itempocket - name: pokemon_v2_itempocket
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_itempocketname
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_itemsprites
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_item - name: pokemon_v2_item
using: using:
@ -9,6 +12,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_itemsprites
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_language
schema: public
array_relationships: array_relationships:
- name: pokemonV2LanguagenamesByLocalLanguageId - name: pokemonV2LanguagenamesByLocalLanguageId
using: using:
@ -433,6 +436,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_language
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_languagename
schema: public
object_relationships: object_relationships:
- name: pokemonV2LanguageByLocalLanguageId - name: pokemonV2LanguageByLocalLanguageId
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_languagename
schema: public

View file

@ -1,3 +1,10 @@
table:
name: pokemon_v2_location
schema: public
object_relationships:
- name: pokemon_v2_region
using:
foreign_key_constraint_on: region_id
array_relationships: array_relationships:
- name: pokemon_v2_locationareas - name: pokemon_v2_locationareas
using: using:
@ -27,10 +34,6 @@ array_relationships:
table: table:
name: pokemon_v2_pokemonevolution name: pokemon_v2_pokemonevolution
schema: public schema: public
object_relationships:
- name: pokemon_v2_region
using:
foreign_key_constraint_on: region_id
select_permissions: select_permissions:
- permission: - permission:
allow_aggregations: true allow_aggregations: true
@ -38,6 +41,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_location
schema: public

View file

@ -1,3 +1,10 @@
table:
name: pokemon_v2_locationarea
schema: public
object_relationships:
- name: pokemon_v2_location
using:
foreign_key_constraint_on: location_id
array_relationships: array_relationships:
- name: pokemon_v2_encounters - name: pokemon_v2_encounters
using: using:
@ -20,10 +27,6 @@ array_relationships:
table: table:
name: pokemon_v2_locationareaname name: pokemon_v2_locationareaname
schema: public schema: public
object_relationships:
- name: pokemon_v2_location
using:
foreign_key_constraint_on: location_id
select_permissions: select_permissions:
- permission: - permission:
allow_aggregations: true allow_aggregations: true
@ -31,6 +34,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_locationarea
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_locationareaencounterrate
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_encountermethod - name: pokemon_v2_encountermethod
using: using:
@ -15,6 +18,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_locationareaencounterrate
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_locationareaname
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_language - name: pokemon_v2_language
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_locationareaname
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_locationgameindex
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_generation - name: pokemon_v2_generation
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_locationgameindex
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_locationname
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_language - name: pokemon_v2_language
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_locationname
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_machine
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_growthrate - name: pokemon_v2_growthrate
using: using:
@ -18,6 +21,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_machine
schema: public

View file

@ -1,3 +1,38 @@
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
array_relationships: array_relationships:
- name: pokemonV2ContestcombosBySecondMoveId - name: pokemonV2ContestcombosBySecondMoveId
using: using:
@ -90,31 +125,6 @@ array_relationships:
table: table:
name: pokemon_v2_supercontestcombo name: pokemon_v2_supercontestcombo
schema: public 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: select_permissions:
- permission: - permission:
allow_aggregations: true allow_aggregations: true
@ -122,6 +132,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_move
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_moveattribute
schema: public
array_relationships: array_relationships:
- name: pokemon_v2_moveattributedescriptions - name: pokemon_v2_moveattributedescriptions
using: using:
@ -27,6 +30,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_moveattribute
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_moveattributedescription
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_language - name: pokemon_v2_language
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_moveattributedescription
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_moveattributemap
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_move - name: pokemon_v2_move
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_moveattributemap
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_moveattributename
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_language - name: pokemon_v2_language
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_moveattributename
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_movebattlestyle
schema: public
array_relationships: array_relationships:
- name: pokemon_v2_movebattlestylenames - name: pokemon_v2_movebattlestylenames
using: using:
@ -20,6 +23,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_movebattlestyle
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_movebattlestylename
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_language - name: pokemon_v2_language
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_movebattlestylename
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_movechange
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_move - name: pokemon_v2_move
using: using:
@ -18,6 +21,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_movechange
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_movedamageclass
schema: public
array_relationships: array_relationships:
- name: pokemon_v2_movedamageclassdescriptions - name: pokemon_v2_movedamageclassdescriptions
using: using:
@ -41,6 +44,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_movedamageclass
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_movedamageclassdescription
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_language - name: pokemon_v2_language
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_movedamageclassdescription
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_movedamageclassname
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_language - name: pokemon_v2_language
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_movedamageclassname
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_moveeffect
schema: public
array_relationships: array_relationships:
- name: pokemon_v2_movechanges - name: pokemon_v2_movechanges
using: using:
@ -34,6 +37,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_moveeffect
schema: public

View file

@ -1,3 +1,13 @@
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
array_relationships: array_relationships:
- name: pokemon_v2_moveeffectchangeeffecttexts - name: pokemon_v2_moveeffectchangeeffecttexts
using: using:
@ -6,13 +16,6 @@ array_relationships:
table: table:
name: pokemon_v2_moveeffectchangeeffecttext name: pokemon_v2_moveeffectchangeeffecttext
schema: public 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: select_permissions:
- permission: - permission:
allow_aggregations: true allow_aggregations: true
@ -20,6 +23,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_moveeffectchange
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_moveeffectchangeeffecttext
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_language - name: pokemon_v2_language
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_moveeffectchangeeffecttext
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_moveeffecteffecttext
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_language - name: pokemon_v2_language
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_moveeffecteffecttext
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_moveflavortext
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_language - name: pokemon_v2_language
using: using:
@ -15,6 +18,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_moveflavortext
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_movelearnmethod
schema: public
array_relationships: array_relationships:
- name: pokemon_v2_movelearnmethoddescriptions - name: pokemon_v2_movelearnmethoddescriptions
using: using:
@ -34,6 +37,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_movelearnmethod
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_movelearnmethoddescription
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_language - name: pokemon_v2_language
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_movelearnmethoddescription
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_movelearnmethodname
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_language - name: pokemon_v2_language
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_movelearnmethodname
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_movemeta
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_move - name: pokemon_v2_move
using: using:
@ -15,6 +18,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_movemeta
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_movemetaailment
schema: public
array_relationships: array_relationships:
- name: pokemon_v2_movemeta - name: pokemon_v2_movemeta
using: using:
@ -20,6 +23,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_movemetaailment
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_movemetaailmentname
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_language - name: pokemon_v2_language
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_movemetaailmentname
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_movemetacategory
schema: public
array_relationships: array_relationships:
- name: pokemon_v2_movemeta - name: pokemon_v2_movemeta
using: using:
@ -20,6 +23,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_movemetacategory
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_movemetacategorydescription
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_language - name: pokemon_v2_language
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_movemetacategorydescription
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_movemetastatchange
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_move - name: pokemon_v2_move
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_movemetastatchange
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_movename
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_language - name: pokemon_v2_language
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_movename
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_movetarget
schema: public
array_relationships: array_relationships:
- name: pokemon_v2_moves - name: pokemon_v2_moves
using: using:
@ -27,6 +30,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_movetarget
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_movetargetdescription
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_language - name: pokemon_v2_language
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_movetargetdescription
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_movetargetname
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_language - name: pokemon_v2_language
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_movetargetname
schema: public

View file

@ -1,3 +1,19 @@
table:
name: pokemon_v2_nature
schema: public
object_relationships:
- name: pokemonV2BerryflavorByLikesFlavorId
using:
foreign_key_constraint_on: likes_flavor_id
- name: pokemonV2StatByIncreasedStatId
using:
foreign_key_constraint_on: increased_stat_id
- name: pokemon_v2_berryflavor
using:
foreign_key_constraint_on: hates_flavor_id
- name: pokemon_v2_stat
using:
foreign_key_constraint_on: decreased_stat_id
array_relationships: array_relationships:
- name: pokemon_v2_naturebattlestylepreferences - name: pokemon_v2_naturebattlestylepreferences
using: using:
@ -20,19 +36,6 @@ array_relationships:
table: table:
name: pokemon_v2_naturepokeathlonstat name: pokemon_v2_naturepokeathlonstat
schema: public schema: public
object_relationships:
- name: pokemonV2BerryflavorByLikesFlavorId
using:
foreign_key_constraint_on: likes_flavor_id
- name: pokemonV2StatByIncreasedStatId
using:
foreign_key_constraint_on: increased_stat_id
- name: pokemon_v2_berryflavor
using:
foreign_key_constraint_on: hates_flavor_id
- name: pokemon_v2_stat
using:
foreign_key_constraint_on: decreased_stat_id
select_permissions: select_permissions:
- permission: - permission:
allow_aggregations: true allow_aggregations: true
@ -40,6 +43,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_nature
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_naturebattlestylepreference
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_movebattlestyle - name: pokemon_v2_movebattlestyle
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_naturebattlestylepreference
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_naturename
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_language - name: pokemon_v2_language
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_naturename
schema: public

View file

@ -1,3 +1,6 @@
table:
name: pokemon_v2_naturepokeathlonstat
schema: public
object_relationships: object_relationships:
- name: pokemon_v2_nature - name: pokemon_v2_nature
using: using:
@ -12,6 +15,3 @@ select_permissions:
filter: {} filter: {}
limit: 100000 limit: 100000
role: anon role: anon
table:
name: pokemon_v2_naturepokeathlonstat
schema: public

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