From: Matteo Nastasi (mop) Date: Thu, 12 Sep 2013 16:33:30 +0000 (+0200) Subject: test users table data aligned with schema and code change to prevent confusion with... X-Git-Tag: tournaments-descr-refact~4 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=fa06190b5a0862e5dd2a83a8ad70f348a92493b3;p=brisk.git test users table data aligned with schema and code change to prevent confusion with other params within the range 1-10 --- diff --git a/sql/sql.d/100-anagr.sql.noinsert b/sql/sql.d/100-anagr.sql.noinsert index ae74efd..e87cb6d 100644 --- a/sql/sql.d/100-anagr.sql.noinsert +++ b/sql/sql.d/100-anagr.sql.noinsert @@ -10,9 +10,9 @@ -- define(USER_FLAG_TY_SUSPEND, 0x00400000); // done -- define(USER_FLAG_TY_DISABLE, 0x00800000); // done -INSERT INTO #PFX#users (code, login, pass, email, type, flags) VALUES (1, 'uno', md5('one'), 'uno@pluto.com', CAST (X'00020000' as integer), 0); -INSERT INTO #PFX#users (code, login, pass, email, type, flags) VALUES (2, 'due', md5('two'), 'due@pluto.com', CAST (X'00010000' as integer), 0); -INSERT INTO #PFX#users (code, login, pass, email, type, flags) VALUES (3, 'tre', md5('thr'), 'tre@pluto.com', CAST (X'00010000' as integer), 0); -INSERT INTO #PFX#users (code, login, pass, email, type, flags) VALUES (4, 'qua', md5('for'), 'qua@pluto.com', CAST (X'00210000' as integer), 0); -INSERT INTO #PFX#users (code, login, pass, email, type, flags) VALUES (5, 'cin', md5('fiv'), 'cin@pluto.com', CAST (X'00010000' as integer), 0); -ALTER SEQUENCE #PFX#users_code_seq RESTART WITH 6; +INSERT INTO #PFX#users (code, login, pass, email, type) VALUES (101, 'uno', md5('one'), 'uno@pluto.com', CAST (X'00020000' as integer)); +INSERT INTO #PFX#users (code, login, pass, email, type) VALUES (102, 'due', md5('two'), 'due@pluto.com', CAST (X'00010000' as integer)); +INSERT INTO #PFX#users (code, login, pass, email, type) VALUES (103, 'tre', md5('thr'), 'tre@pluto.com', CAST (X'00010000' as integer)); +INSERT INTO #PFX#users (code, login, pass, email, type) VALUES (104, 'qua', md5('for'), 'qua@pluto.com', CAST (X'00210000' as integer)); +INSERT INTO #PFX#users (code, login, pass, email, type) VALUES (105, 'cin', md5('fiv'), 'cin@pluto.com', CAST (X'00010000' as integer)); +ALTER SEQUENCE #PFX#users_code_seq RESTART WITH 106;