This repository has been archived on 2023-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
Foodloop-Server/share/ddl/PostgreSQL/upgrade/6-7/001-auto.sql

16 lines
314 B
MySQL
Raw Normal View History

-- Convert schema 'share/ddl/_source/deploy/6/001-auto.yml' to 'share/ddl/_source/deploy/7/001-auto.yml':;
;
BEGIN;
;
ALTER TABLE leaderboard_values ALTER COLUMN value TYPE numeric(100,0) USING value * 100000;
;
ALTER TABLE transactions ALTER COLUMN value TYPE numeric(100,0) USING value * 100000;
;
COMMIT;