create table t_method_arg ( arg_id bigint auto_increment primary key not null, method_id integer not null references t_method(method_id), type_id tinyint not null references t_type(type_id), name varchar(64) not null, idx tinyint not null, index (arg_id), unique (arg_id), index (method_id) );