openapi.endpoint_ip_rate_limit_map

Cascading Deletes: Deleting rows from this table will cascade to: openapi.endpoint, openapi.rate_limit_definition.

Columns

Column Type Nullable Default Notes

id PK

integer

No

nextval('openapi.endpoint_ip_rate_limit_map_id_seq'::regclass)

ip_range

inet

No

endpoint FK

text

No

openapi.endpoint(operation_id)

rate_limit FK

integer

No

openapi.rate_limit_definition(id)

Primary Key

(id)

Foreign Keys

Column(s) References On Delete On Update Deferrable Constraint

endpoint

openapi.endpoint(operation_id)

CASCADE

CASCADE

No

endpoint_ip_rate_limit_map_endpoint_fkey

rate_limit

openapi.rate_limit_definition(id)

CASCADE

CASCADE

No

endpoint_ip_rate_limit_map_rate_limit_fkey

Unique Constraints

  • endpoint_ip_range_once: (ip_range, endpoint)

Indexes

Index Method Definition

endpoint_ip_rate_limit_map_pkey PK

btree

CREATE UNIQUE INDEX endpoint_ip_rate_limit_map_pkey ON openapi.endpoint_ip_rate_limit_map USING btree (id)

endpoint_ip_range_once UNIQUE

btree

CREATE UNIQUE INDEX endpoint_ip_range_once ON openapi.endpoint_ip_rate_limit_map USING btree (ip_range, endpoint)