erDiagram
merc_inventory {
varchar item_id
varchar merc_subtype_id
}
items {
int id
int book
varchar name
int recasttype
int icon
mediumint bardeffect
int clickeffect
int focuseffect
int proceffect
int scrolleffect
int worneffect
}
merc_subtypes {
varchar merc_subtype_id
}
merc_inventory ||--o{ items : "One-to-One"
merc_inventory ||--o{ merc_subtypes : "One-to-One"