introduced a sanitization pass at the very end of the import.

master
dtookey 4 years ago
parent 65423f0207
commit 77bb9b9d6a

@ -14,3 +14,6 @@ FROM users
INNER JOIN clients on contacts.cl_fkey = clients.pkey
WHERE project_lifecycle.new_value IN ('+SEALED')
AND users.priv & POW(2, 25);
select * from all_projects where description = 'Soils/Footings '

@ -0,0 +1,10 @@
UPDATE all_projects
set description = TRIM(both ' ' from description)
where description rlike '^ ' or description rlike ' $';
UPDATE all_projects
set description = 'Soil/Footings'
where description in
(
'Soils/Footings'
);
Loading…
Cancel
Save