This table provides a list of valid region types. This information is static and doesn't need a data entry page.
Source romber_region_types_tbl.sql
create table romber_location.region_types (
region_type_code romber_base.generic_code not null,
region_type_id romber_location.region_type_id not null
default nextval ( 'romber_base.generic_id_seq' ),
region_type_name romber_base.generic_name not null,
unique_or_not boolean not null );
Source romber_region_types_pk.sql
alter table romber_location.region_types
add constraint romber_region_types_pk
primary key ( region_type_id );
Source romber_region_types_uk1.sql
alter table romber_location.region_types
add constraint romber_region_types_uk1
unique ( region_type_code );
Source romber_region_types_fk1.sql
alter table romber_location.regions
add constraint romber_region_types_fk1
foreign key ( region_type_id )
references romber_location.locations ( location_id );
Source romber_region_types_load.sql
insert into romber_location.region_types (
region_type_code,
region_type_id,
region_type_name,
unique_or_not )
values (
'',
0,
'',
true );