 
 CREATE TABLE fs_record (
 	  sn		SERIAL		NOT NULL	PRIMARY KEY
+	, fsp_seqn	INT2		NOT NULL
+	, fsp_version	INT2		NOT NULL
 	, ts		TIMESTAMPTZ	NOT NULL	DEFAULT CURRENT_TIMESTAMP
 	, time_consume	INT4		NOT NULL	--unit: ms
 	, code		EFS_RESULT	NOT NULL

-- time       :        ms
CREATE TABLE fs_param (
	  seqn		INT2		NOT NULL	PRIMARY KEY
	, name		TEXT		NOT NULL
	, fusion_mode	EFUSION_MODE	NOT NULL	DEFAULT 'AUTO'
	, lfti		EFTI_MODE	NOT NULL	DEFAULT 'SM'

	(11,	'Noraml NZ-NZ',	'NORMAL',	'NZ',	'FOLLOW',	'FINE',	FALSE,	FALSE,	TRUE,	FALSE,	FALSE,	2.0,	1.0,	0.30,	300,	0,	8,	6,	0.30,	150,	0.77,	2200,	0.40,	0,	180,	0,	800,	FALSE,	400,	10,	0.20,	'FINE',	0.2,	0.00,	9.3,	9.3,	0.3,	0.7,	0,	0.1,	0.1),
	(12,	'Normal MM-MM',	'NORMAL',	'MM',	'FOLLOW',	'CLAD',	FALSE,	FALSE,	TRUE,	FALSE,	FALSE,	2.0,	1.0,	0.30,	300,	0,	8,	6,	0.30,	150,	0.70,	2200,	0.40,	0,	180,	0,	800,	FALSE,	400,	10,	0.20,	'CLAD',	0.2,	0.00,	50.0,	50.0,	0.3,	0.7,	0,	0.1,	0.1);

--	history fs_param
CREATE TABLE fs_param_history (
	ets		TIMESTAMPTZ	NOT NULL	DEFAULT CURRENT_TIMESTAMP
) INHERITS (fs_param);

-- 	fs_param lib
CREATE TABLE fs_param_lib () INHERITS (fs_param);
