Closed finnharbeke closed 1 year ago
todos to make that reality:
sql:
alter table table_name rename column amount to oldAmount
alter table table_name add amount integer default 0
update table_name set amount = round(100 * oldAmount) where currency_id = 1
floating points are inprecise!