Changes between Version 18 and Version 19 of phase0
- Timestamp:
- 03/07/24 00:03:23 (10 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
phase0
v18 v19 149 149 ELSE 'USER'\\ 150 150 END\\ 151 FROM generate_series(10003, 12500) AS i;\\ 151 FROM generate_series(1, 10000) AS i;\\ 152 153 ---- 154 155 SELECT setseed(0.5);\\ 156 DO\\ 157 $$\\ 158 DECLARE\\ 159 i integer;\\ 160 BEGIN\\ 161 FOR i IN 1..(500 + floor(random() * 501))\\ 162 LOOP\\ 163 INSERT INTO category (name, category_id)\\ 164 VALUES ('Category_' !|| i,\\ 165 CASE\\ 166 WHEN random() < 0.2 THEN NULL\\ 167 ELSE (SELECT id FROM category WHERE random() < 0.4 LIMIT 1)\\ 168 END);\\ 169 END LOOP;\\ 170 END\\ 171 $$;\\