INSERT INTO #PFX#users (code, login, pass, email, type, guar_code) VALUES (10113, 'doub', md5('boub'), 'doub@pluto.com', CAST (X'00010000' as integer), 10103);
DELETE FROM #PFX#users WHERE code = 10114;
INSERT INTO #PFX#users (code, login, pass, email, type, guar_code) VALUES (10114, 'selfguar', md5('self'), 'self@pluto.com', CAST (X'00010000' as integer), 10103);
+DELETE FROM #PFX#users WHERE code = 10115;
+INSERT INTO #PFX#users (code, login, pass, email, type, guar_code) VALUES (10115, 'bonoonly', md5('bonoonly'), 'bonoonly@pluto.com', CAST (X'00010000' as integer), 10101);
-ALTER SEQUENCE #PFX#users_code_seq RESTART WITH 10115;
+ALTER SEQUENCE #PFX#users_code_seq RESTART WITH 10116;
DELETE FROM #PFX#usersnet WHERE owner = 10103 AND target = 10112;
INSERT INTO #PFX#usersnet (owner, target, friend, skill, trust) VALUES (10103, 10112, 1, 2, 3);
+-- bonoonly
+DELETE FROM #PFX#usersnet WHERE owner = 10103 AND target = 10115;
+INSERT INTO #PFX#usersnet (owner, target, friend, skill, trust) VALUES (10103, 10115, 1, 0, 0);
+
SELECT * FROM #PFX#usersnet WHERE owner = 10101 OR owner IN (10102, 10103, 10113) ORDER BY target;
SELECT * FROM #PFX#usersnet_wideskill ORDER BY owner, target;