1 2
alter table hosts add templateid int(4) DEFAULT '0' NOT NULL; alter table items add templateid int(4) DEFAULT '0' NOT NULL;