blob: c4c7badaf06429646326935bfaaccb0198d215c3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
begin;
alter table problem add bodies_missing text;
update problem
set bodies_missing = split_part(bodies_str, '|', 2),
bodies_str = split_part(bodies_str, '|', 1)
where bodies_str like '%|%';
commit;
|