mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-15 08:25:09 +01:00
fix Frontier Point exchanges
This commit is contained in:
11
patch-schema/14-fix-fpoint-trades.sql
Normal file
11
patch-schema/14-fix-fpoint-trades.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
BEGIN;
|
||||
|
||||
DELETE FROM public.fpoint_items;
|
||||
ALTER TABLE IF EXISTS public.fpoint_items ALTER COLUMN item_type SET NOT NULL;
|
||||
ALTER TABLE IF EXISTS public.fpoint_items ALTER COLUMN item_id SET NOT NULL;
|
||||
ALTER TABLE IF EXISTS public.fpoint_items ALTER COLUMN quantity SET NOT NULL;
|
||||
ALTER TABLE IF EXISTS public.fpoint_items ALTER COLUMN fpoints SET NOT NULL;
|
||||
ALTER TABLE IF EXISTS public.fpoint_items DROP COLUMN IF EXISTS trade_type;
|
||||
ALTER TABLE IF EXISTS public.fpoint_items ADD COLUMN buyable boolean NOT NULL;
|
||||
|
||||
END;
|
||||
Reference in New Issue
Block a user