 ALTER TABLE labels_id_seq OWNER TO postgres;
 
 --
--- TOC entry 2193 (class 0 OID 0)
--- Dependencies: 191
--- Name: labels_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: postgres
+-- TOC entry 2521 (class 0 OID 0)
+-- Dependencies: 287
+-- Name: labels_id_seq; Type: SEQUENCE OWNED BY; Schema: box; Owner: postgres
 --
 
 ALTER SEQUENCE labels_id_seq OWNED BY labels.id;
 
 
 --
--- TOC entry 2039 (class 2604 OID 42076)
--- Name: conf id; Type: DEFAULT; Schema: public; Owner: postgres
+-- TOC entry 2334 (class 2604 OID 26782)
+-- Name: conf id; Type: DEFAULT; Schema: box; Owner: postgres
 --
 
 ALTER TABLE ONLY conf ALTER COLUMN id SET DEFAULT nextval('conf_id_seq'::regclass);
 
 
 --
--- TOC entry 2036 (class 2604 OID 25000)
--- Name: field id; Type: DEFAULT; Schema: public; Owner: postgres
---
-
-ALTER TABLE ONLY field ALTER COLUMN id SET DEFAULT nextval('field_id_seq'::regclass);
-
-
---
--- TOC entry 2037 (class 2604 OID 25655)
--- Name: field_i18n id; Type: DEFAULT; Schema: public; Owner: postgres
+-- TOC entry 2335 (class 2604 OID 29317)
+-- Name: field field_id; Type: DEFAULT; Schema: box; Owner: postgres
+--
+
+ALTER TABLE ONLY field ALTER COLUMN field_id SET DEFAULT nextval('field_id_seq'::regclass);
+
+
+--
+-- TOC entry 2336 (class 2604 OID 26784)
+-- Name: field_i18n id; Type: DEFAULT; Schema: box; Owner: postgres
 --
 
 ALTER TABLE ONLY field_i18n ALTER COLUMN id SET DEFAULT nextval('form_i18n_id_seq'::regclass);
 
 
 --
--- TOC entry 2035 (class 2604 OID 24989)
--- Name: form id; Type: DEFAULT; Schema: public; Owner: postgres
---
-
-ALTER TABLE ONLY form ALTER COLUMN id SET DEFAULT nextval('form_id_seq'::regclass);
-
-
---
--- TOC entry 2038 (class 2604 OID 33880)
--- Name: labels id; Type: DEFAULT; Schema: public; Owner: postgres
+-- TOC entry 2337 (class 2604 OID 29309)
+-- Name: form form_id; Type: DEFAULT; Schema: box; Owner: postgres
+--
+
+ALTER TABLE ONLY form ALTER COLUMN form_id SET DEFAULT nextval('form_id_seq'::regclass);
+
+
+--
+-- TOC entry 2338 (class 2604 OID 26786)
+-- Name: labels id; Type: DEFAULT; Schema: box; Owner: postgres
 --
 
 ALTER TABLE ONLY labels ALTER COLUMN id SET DEFAULT nextval('labels_id_seq'::regclass);
 
 
 --
--- TOC entry 2179 (class 0 OID 42073)
--- Dependencies: 194
--- Data for Name: conf; Type: TABLE DATA; Schema: public; Owner: postgres
+-- TOC entry 2501 (class 0 OID 26736)
+-- Dependencies: 277
+-- Data for Name: conf; Type: TABLE DATA; Schema: box; Owner: postgres
 --
 
 COPY conf (id, key, value) FROM stdin;
+1	manual_edit.key_fields	false
 \.
 
 
 --
--- TOC entry 2194 (class 0 OID 0)
--- Dependencies: 193
--- Name: conf_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
---
-
-SELECT pg_catalog.setval('conf_id_seq', 1, false);
-
-
---
--- TOC entry 2173 (class 0 OID 24997)
--- Dependencies: 188
--- Data for Name: field; Type: TABLE DATA; Schema: public; Owner: postgres
---
-
-COPY field (id, form_id, type, key, widget, "refModel", "refValueProperty", subform, "localFields", "subFields", "subFilter", "default", min, max) FROM stdin;
+-- TOC entry 2503 (class 0 OID 26744)
+-- Dependencies: 279
+-- Data for Name: field; Type: TABLE DATA; Schema: box; Owner: postgres
+--
+
+COPY field (field_id, form_id, type, name, widget, "lookupEntity", "lookupValueField", child_form_id, "masterFields", "childFields", "childFilter", "default", min, max) FROM stdin;
 2	1	string	locality	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N
 3	1	integer	fire_id	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N
 89	6	number	remark_type_id	hidden	\N	\N	\N	\N	\N	\N	3	\N	\N
 5	1	subform	remarks	\N	\N	\N	2	fire_id	fire_id	\N	\N	\N	\N
 11	3	number	start_date_reliability_id	fullWidth	val_date_reliability	date_reliability_id	\N	\N	\N	\N	\N	\N	\N
-84	3	subform	remark_notes	\N	\N	\N	7	fire_id	fire_id	[\r\n    {\r\n      "column" : "remark_type_id",\r\n      "operator" : "=",\r\n      "value" : "4"\r\n    }\r\n  ]	\N	\N	\N
 8	3	number	fire_id	\N	\N	\N	\N	\N	\N	\N	\N	\N	\N
 23	3	number	site_id	\N	val_site	site_id	\N	\N	\N	\N	\N	\N	\N
 7	2	number	remark_type_id	hidden	\N	\N	\N	\N	\N	\N	1	\N	\N



--
-- TOC entry 2195 (class 0 OID 0)
-- Dependencies: 187
-- Name: field_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--

SELECT pg_catalog.setval('field_id_seq', 116, true);


--
-- TOC entry 2171 (class 0 OID 24986)
-- Dependencies: 186
-- Data for Name: form; Type: TABLE DATA; Schema: public; Owner: postgres
--

COPY form (id, name, description, layout, "table", "tableFields", query) FROM stdin;
1	test	test	\N	fire	locality	\N
2	remark_starting_point	remarks starting_point	\N	remark	remark	{"sort":[{"column":"order","order":"asc"}], "filter": []}
6	remark_history	remark on history data	\N	remark	remark	\N

ALTER TABLE form OWNER TO postgres;

--
-- TOC entry 284 (class 1259 OID 26770)
-- Name: form_i18n_id_seq; Type: SEQUENCE; Schema: box; Owner: postgres
--

CREATE SEQUENCE form_i18n_id_seq
