alter table graphs_items add calc_fnc int(1) DEFAULT '2' NOT NULL;
alter table graphs_items add type int(1) DEFAULT '0' NOT NULL;
alter table graphs_items add periods_cnt int(4) DEFAULT '5' NOT NULL;
