drop table fields;
create table fields(
	id INTEGER PRIMARY KEY,
	datasets_id int,
	type text,
	hqf_type text,
	label text,
	name text,
	virtual text,
	properties text,
	search_flag text,
	sort_flag text,
	seq int,
	memo text
);
