areas

1872 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id serial 10 nextval('areas_id_seq'::regclass)
area_memberships.area_id fk_rails_dbf2859701 R
area_zips.area_id fk_rails_d40cd0989f R
areas_canonical_addresses.area_id fk_rails_d162ccf69e R
events.area_id fk_rails_da9ce44fad R
groups.area_id fk_rails_cd2c7032e2 R
name text 2147483647 null
code text 2147483647 null
mapit int4 10 null
area_type text 2147483647 null
created_at timestamp 29,6 null
updated_at timestamp 29,6 null
party text 2147483647 null
runner_up_party text 2147483647 null
majority int4 10 null
vote_count int4 10 null
representative_name text 2147483647 null
representative_gender text 2147483647 null
representative_identifier varchar 2147483647 null

Indexes

Constraint Name Type Sort Column(s)
areas_pkey Primary key Asc id
areas_index Performance Asc/Asc area_type + code
index_areas_on_area_type_and_code Performance Asc/Asc area_type + code

Relationships