mtfosbot/schema/20180721-1.sql
2018-07-21 00:46:01 +08:00

3 lines
215 B
SQL

ALTER TABLE public.donate_list DROP CONSTRAINT donate_list_pkey;
ALTER TABLE public.donate_list ADD CONSTRAINT donate_list_opayid_donate_id_pk PRIMARY KEY (opayid, donate_id);
ALTER TABLE public.donate_list DROP id;