Files
database/migrations/archive/000.269.sql
T
Rikard BartholfandGitHub ddcbd0afb0 Archive old migrations (#426)
* Archive old migrations

* Fix invalid placement of migrations
2024-10-17 11:19:12 +02:00

10 lines
333 B
SQL

-- P5-6261: adjust some designers commission to 0
update "order-rows_details" set value = '0'
where
fieldid in (106, 107, 120) -- commission, commission_resale, comission_amount
and rowid in (
select rowid from "order-rows_details"
where fieldid = 105 and value in ('249', '251', '265', '201', '187')
);