
-- ft
INSERT INTO ft VALUES (631000, NULL, 631, 5);
INSERT INTO ft VALUES (602001, NULL, 602, NULL, NULL, 5);
INSERT INTO ft VALUES (602002, NULL, 602, NULL, NULL, 5);
INSERT INTO ft VALUES (2208001, 631000, 2208, NULL, NULL, 5);
INSERT INTO ft VALUES (2213001, 2208001, 2213, NULL, NULL, 5);
INSERT INTO ft VALUES (2206011, 2213001, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2206012, 2213001, 2206, NULL, NULL, 5);
INSERT INTO ft VALUES (2211000, NULL, 2211, NULL, NULL, 5, 0, 5, 0, NULL, NULL, NULL);

-- ft_attr
INSERT INTO ft_attr VALUES (2213001, 'type', 'linear');
INSERT INTO ft_attr VALUES (2211000, 'ft_type_id', '2208');
INSERT INTO ft_attr VALUES (2211000, 'name', 'Алиас А-Б');
INSERT INTO ft_attr VALUES (2211000, 'priority', NULL);

-- ft_center
INSERT INTO ft_center VALUES (631000, 631000);
INSERT INTO ft_center VALUES (602001, 602001);
INSERT INTO ft_center VALUES (602002, 602002);

-- ft_ft
INSERT INTO ft_ft VALUES (631000, 2208001, 'assigned_waterway');
INSERT INTO ft_ft VALUES (2208001, 602001, 'assigned');
INSERT INTO ft_ft VALUES (2208001, 602002, 'assigned');
INSERT INTO ft_ft VALUES (2208001, 2213001, 'assigned_thread');
INSERT INTO ft_ft VALUES (2208001, 2211000, 'alias');
INSERT INTO ft_ft VALUES (602001, 2206012, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (602002, 2206011, 'assigned_thread_stop');
INSERT INTO ft_ft VALUES (2213001, 2206011, 'part');
INSERT INTO ft_ft VALUES (2213001, 2206012, 'part');
INSERT INTO ft_ft VALUES (2206011, 2206012, 'previous');

-- ft_nm
INSERT INTO ft_nm VALUES (6020010, 602001, 'ru', NULL, NULL, NULL, NULL, TRUE, FALSE, 'Пристань А', 0);
INSERT INTO ft_nm VALUES (6020020, 602002, 'ru', NULL, NULL, NULL, NULL, TRUE, FALSE, 'Пристань Б', 0);
INSERT INTO ft_nm VALUES (22080010, 2208001, 'ru', NULL, NULL, NULL, NULL, TRUE, FALSE, 'А-Б', 0);
INSERT INTO ft_nm VALUES (22130010, 2213001, 'ru', NULL, NULL, NULL, NULL, TRUE, FALSE, 'Нитка А-Б', 0);

-- ft_source
INSERT INTO ft_source VALUES (602001, 3, '602001');
INSERT INTO ft_source VALUES (602002, 3, '602002');
INSERT INTO ft_source VALUES (2208001, 3, '2208001');

-- node
INSERT INTO node VALUES (631000, '0101000020E6100000B34270E0FE894040F86E3A9CD5395140');
INSERT INTO node VALUES (602001, '0101000020E61000006992888B048A4040ABE40305D5395140');
INSERT INTO node VALUES (602002, '0101000020E610000056E48980008A4040FE084200D0395140');
