[Greater-commits] r262 - trunk/GREAT-ER-DB/impl/postgresql/test/PostgreSQL

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Jun 24 10:27:49 CEST 2011


Author: aheinecke
Date: 2011-06-24 10:27:49 +0200 (Fri, 24 Jun 2011)
New Revision: 262

Modified:
   trunk/GREAT-ER-DB/impl/postgresql/test/PostgreSQL/inserts.sql
Log:
Add role name to phrase tab (which role belongs to one prhase)
This fixes the insert user tests but is locgically wrong in my
opinion


Modified: trunk/GREAT-ER-DB/impl/postgresql/test/PostgreSQL/inserts.sql
===================================================================
--- trunk/GREAT-ER-DB/impl/postgresql/test/PostgreSQL/inserts.sql	2011-06-24 08:26:37 UTC (rev 261)
+++ trunk/GREAT-ER-DB/impl/postgresql/test/PostgreSQL/inserts.sql	2011-06-24 08:27:49 UTC (rev 262)
@@ -16,7 +16,7 @@
 Insert into catch_tab (user_id, cre_date, mod_date, privs) values('anonym', '23-JUN-03', '23-JUN-03', 6);
 Insert into stretch_class_tab values(1, 'DEFAULT', '20;5','1','0.5','7;1','1','1','5','5;2','1','12;2','1','17;3','1','5','0.3','2','4','0','A European continental standard river');
 Insert into stretch_tab (stretch_id, catch_id, stretch_class_id, type, q_val, v_val, l, d_val) values(1,currval('catch_seq'),1,'1','0.08600; 0.05788','0.13046; 0.10724','2195,851','unknown');
-Insert into disch_tab (disch_id, stretch_id, catch_id, disch_class_id, name, pop, dwf, flow_val, flow_dist, flow_dom, flow_nondom, flow_runoff, treated, r_wwtp, remark) values(1, 1, currval('catch_seq'), 20, 'Sesto S.G.', '3.0000000000E+04', '2.3148100000E-01', '2.3148100000E-01', '0', '6.6666666700E+02', '.0000000000E+00', '.0000000000E+00', '1.0000000000E+00','None');
+Insert into disch_tab (disch_id, stretch_id, catch_id, disch_class_id, name, pop, dwf, flow_val, flow_dist, flow_dom, flow_nondom, flow_runoff, treated, r_wwtp, remark) values(1, 1, currval('catch_seq'), 20, 'Sesto S.G.', '3.0000000000E+04', '2.3148100000E-01', '2.3148100000E-01', '0', '6.6666666700E+02', '.0000000000E+00', '.0000000000E+00', '1.0000000000E+00','None', 'None');
 Insert into bin_obj_tab (object_id, name, user_id, privs, obj_type, obj_sub_type, file_type, file_obj, file_size, cre_date, mod_date) values(1,'RIVERNET.DBF','anonym',6,'catchment','db','b',0,215283,'16-JUL-02', '21-MAY-03'); 
 Insert into backgrd_join_tab values(currval('catch_seq'),currval('bin_obj_seq'));
 Insert into env_tab (name, user_id, cre_date, mod_date, status, privs, is_templ) values ('Nongeo', 'GREATER200', '16-JUL-02', '21-MAY-03', 'DEFAULT SESSION', 6, 'N');
@@ -28,6 +28,7 @@
 Insert into mod_det_tab (mod_id, field_id, block_id, block_recno, value_mdt, dist_type, remark) values(currval('mod_seq'), 'MODE_SEWER', 'MODPARA', 1, '1000', '0', 'Monte Carlo shots number value');
 Insert into para_tree_def_tab values('Ws', 'SUBST', 'ENVIRONMENTAL', 'SUBST', 'FLOAT', 3, 41, 0, 1, 'Wind speed (river)', '', 'NNNNN.NNNNN', 'm/s', '[0;20]', '[0;3e8]', 'Wind speed at 10 m height (overwrites river class settings)');
 Insert into phrase_tab (phrase_grp_id, language, sort, value_pt, remark) values(1, 'E', 2, '0', 'acid');
+Insert into phrase_tab (phrase_grp_id, language, sort, value_pt, remark) values(101, 'E', 2, 'anon_group', 'phrase2');
 Insert into res_tab (river_factor, river_unit, stp_factor, stp_unit, pec_initial, pec_catch, remark) values('1.0000000000e+03','NONE','NONE','NONE','NONE','NONE','NONE');
 Insert into res_disch_tab (res_id, disch_id, field_id, block_id, block_recno, value_rdt, dist_type, remark) values(currval('res_seq'), 18, 'CSIMEFFLUENT', 'RES_DISCH', 0, '4.4772489649e-04;0.0000000000e+00', '2', 'None');
 Insert into res_stretch_tab (res_id, stretch_id, field_id, block_id, block_recno, value_rst, dist_type, remark) values(currval('res_seq'), 7886, 'CSIMINTERN', 'RES_STRETCH', 0, '0.0000000000e+00;0.0000000000e+00', '2', 'None'); 



More information about the Greater-commits mailing list