mysql: use InnoDB
create databases with utf8 collation
use "int(10) unsigned"
clang -> clang_id
ctype -> ctype_id
fixed typo
type -> type_id
use "int(10) unsigned"
added foreign keys
fixed typo