create table t_method ( method_id integer auto_increment primary key not null, class_id integer not null references t_class(class_id), type_id tinyint not null references t_type(type_id), access_id tinyint not null references t_access(access_id), name varchar(64) not null, code text null, index (method_id), unique (method_id), index (class_id) );