From 6f0660024f7c0f873220c9174604e0d7a521c82f Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Mon, 23 Nov 2015 18:57:04 +0100 Subject: [PATCH] updated sql for anagraphic --- sql/sql.d/900-anagr.sql.devel | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sql/sql.d/900-anagr.sql.devel b/sql/sql.d/900-anagr.sql.devel index c415d93..1d42603 100644 --- a/sql/sql.d/900-anagr.sql.devel +++ b/sql/sql.d/900-anagr.sql.devel @@ -7,6 +7,7 @@ -- define('USER_FLAG_TY_NORM', 0x010000); // done -- define('USER_FLAG_TY_SUPER', 0x020000); // done -- define('USER_FLAG_TY_CERT', 0x040000); // done +-- define('USER_FLAG_TY_APPR', 0x080000); // done -- define('USER_FLAG_TY_FIRONLY', 0x200000); // done -- define('USER_FLAG_TY_ADMIN', 0x400000); // done -- define('USER_FLAG_TY_DISABLE', 0x800000); // done @@ -27,4 +28,6 @@ DELETE FROM #PFX#users WHERE code = 10106; INSERT INTO #PFX#users (code, login, pass, email, type, guar_code) VALUES (10106, 'sei', md5('six'), 'sei@pluto.com', CAST (X'00210000' as integer), 10103); DELETE FROM #PFX#users WHERE code = 10107; INSERT INTO #PFX#users (code, login, pass, email, type, guar_code) VALUES (10107, E'"/\\''|', md5('sev'), 'sev@pluto.com', CAST (X'00210000' as integer), 10103); -ALTER SEQUENCE #PFX#users_code_seq RESTART WITH 10108; +DELETE FROM #PFX#users WHERE code = 10108; +INSERT INTO #PFX#users (code, login, pass, email, type, guar_code) VALUES (10108, E'appr', md5('appr'), 'appr@pluto.com', CAST (X'00080000' as integer), 10103); +ALTER SEQUENCE #PFX#users_code_seq RESTART WITH 10109; -- 2.17.1