mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-10 06:04:18 +00:00
fix: track and set permissions on talbes
This commit is contained in:
parent
fd985e45e2
commit
e4e2cd6e72
3 changed files with 28 additions and 0 deletions
|
@ -11,3 +11,10 @@ object_relationships:
|
|||
- name: pokemon_v2_pokemon
|
||||
using:
|
||||
foreign_key_constraint_on: pokemon_id
|
||||
select_permissions:
|
||||
- role: anon
|
||||
permission:
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
allow_aggregations: true
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
table:
|
||||
name: pokemon_v2_pokemoncries
|
||||
schema: public
|
||||
object_relationships:
|
||||
- name: pokemon_v2_pokemon
|
||||
using:
|
||||
foreign_key_constraint_on: pokemon_id
|
||||
select_permissions:
|
||||
- role: anon
|
||||
permission:
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
allow_aggregations: true
|
|
@ -11,3 +11,10 @@ object_relationships:
|
|||
- name: pokemon_v2_type
|
||||
using:
|
||||
foreign_key_constraint_on: damage_type_id
|
||||
select_permissions:
|
||||
- role: anon
|
||||
permission:
|
||||
columns: '*'
|
||||
filter: {}
|
||||
limit: 100000
|
||||
allow_aggregations: true
|
||||
|
|
Loading…
Reference in a new issue