This table provides a list of valid measurement units. This information is static.
Source romber_measurement_units_tbl.sql
create table romber_base.measurement_units ( measurement_category_id romber_base.measurement_category_id not null, measurement_unit_code romber_base.generic_code not null, measurement_unit_id romber_base.measurement_unit_id not null default nextval ( 'romber_base.generic_id_seq' ), measurement_unit_name romber_base.generic_name not null, measurement_unit_symbol romber_base.generic_code not null );
Source romber_measurement_units_pk.sql
alter table romber_base.measurement_units add constraint romber_measurement_units_pk primary key ( measurement_unit_id );
Source romber_measurement_units_uk1.sql
alter table romber_base.measurement_units add constraint romber_measurement_units_uk1 unique ( measurement_unit_code );
Source romber_measurement_units_uk2.sql
alter table romber_base.measurement_units add constraint romber_measurement_units_uk2 unique ( measurement_unit_symbol );
Source romber_measurement_units_fk1.sql
alter table romber_base.measurement_units add constraint romber_measurement_units_fk1 foreign key ( measurement_category_id ) references romber_base.measurement_categories ( measurement_category_id );
Source romber_measurement_units_load.sql
insert into romber_base.measurement_units ( measurement_category_id, measurement_unit_code, measurement_unit_id, measurement_unit_name, measurement_unit_symbol ) values ( 0, '', 0, 'Unknown', '' );