From 021fe685bf307d2e60c8f2a66a6edad7804c86c9 Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Tue, 3 Dec 2013 19:39:15 +0100 Subject: [PATCH] add DELETE statements to users creation sql file --- sql/sql.d/100-anagr.sql.noinsert | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sql/sql.d/100-anagr.sql.noinsert b/sql/sql.d/100-anagr.sql.noinsert index 474c39b..f14a21e 100644 --- a/sql/sql.d/100-anagr.sql.noinsert +++ b/sql/sql.d/100-anagr.sql.noinsert @@ -10,10 +10,16 @@ -- define(USER_FLAG_TY_SUSPEND, 0x00400000); // done -- define(USER_FLAG_TY_DISABLE, 0x00800000); // done +DELETE FROM #PFX#users WHERE code = 10101; INSERT INTO #PFX#users (code, login, pass, email, type) VALUES (10101, 'uno', md5('one'), 'uno@pluto.com', CAST (X'00020000' as integer)); +DELETE FROM #PFX#users WHERE code = 10102; INSERT INTO #PFX#users (code, login, pass, email, type) VALUES (10102, 'due', md5('two'), 'due@pluto.com', CAST (X'00010000' as integer)); +DELETE FROM #PFX#users WHERE code = 10103; INSERT INTO #PFX#users (code, login, pass, email, type) VALUES (10103, 'tre', md5('thr'), 'tre@pluto.com', CAST (X'00010000' as integer)); +DELETE FROM #PFX#users WHERE code = 10104; INSERT INTO #PFX#users (code, login, pass, email, type) VALUES (10104, 'qua', md5('for'), 'qua@pluto.com', CAST (X'00010000' as integer)); +DELETE FROM #PFX#users WHERE code = 10105; INSERT INTO #PFX#users (code, login, pass, email, type) VALUES (10105, 'cin', md5('fiv'), 'cin@pluto.com', CAST (X'00010000' as integer)); +DELETE FROM #PFX#users WHERE code = 10106; INSERT INTO #PFX#users (code, login, pass, email, type) VALUES (10106, 'sei', md5('six'), 'sei@pluto.com', CAST (X'00210000' as integer)); ALTER SEQUENCE #PFX#users_code_seq RESTART WITH 10107; -- 2.17.1