create table error_sources ( type text references error_source_types not null, source text not null ); comment on table error_sources is ' Reference to the primary source of an error. '; comment on column error_sources.source is ' The source of the problem in the form specified by `type`. ';