This table provides a list of valid username types. This information is static and doesn't need a data entry page.
Source romber_username_types_tbl.sql
create table romber_member.username_types ( associated_meta_class_id romber_meta.class_id not null, username_type_code char(1) not null, username_type_id romber_member.username_type_id not null default nextval ( 'romber_base.generic_id_seq' ), username_type_name romber_base.generic_name not null );
Source romber_username_types_pk.sql
alter table romber_member.username_types add constraint romber_username_types_pk primary key ( username_type_id );
Source romber_username_types_uk1.sql
alter table romber_member.username_types add constraint romber_username_types_uk1 unique ( username_type_code );
Source romber_username_types_fk1.sql
alter table romber_member.username_types add constraint romber_username_types_fk1 foreign key ( associated_meta_class_id ) references romber_meta.classes ( meta_class_id );
Source romber_username_types_load.sql
insert into romber_member.username_types ( associated_meta_class_id, username_type_code, username_type_id, username_type_name ) values ( 0, '', 0, '' ); insert into romber_member.username_types ( associated_meta_class_id, username_type_code, username_type_name ) values ( ( select meta_class_id from romber_meta.classes where meta_class_code_singular = 'USERNAME_OPENVMS' ), 'O', 'OpenVMS' ); insert into romber_member.username_types ( associated_meta_class_id, username_type_code, username_type_name ) values ( ( select meta_class_id from romber_meta.classes where meta_class_code_singular = 'USERNAME_UNIX' ), 'U', 'Unix' ); insert into romber_member.username_types ( associated_meta_class_id, username_type_code, username_type_name ) values ( ( select meta_class_id from romber_meta.classes where meta_class_code_singular = 'USERNAME_VIRTUAL' ), 'V', 'Virtual' );