forked from cerc-io/ipld-eth-server
update schema for new price feed subscription migration
This commit is contained in:
parent
9b39843b03
commit
369939ad84
@ -46,7 +46,8 @@ CREATE FUNCTION public.notify_pricefeed() RETURNS trigger
|
||||
BEGIN
|
||||
PERFORM pg_notify(
|
||||
CAST('postgraphile:price_feed' AS text),
|
||||
row_to_json(NEW)::text);
|
||||
json_build_object('__node__', json_build_array('price_feeds', NEW.id))::text
|
||||
);
|
||||
RETURN NEW;
|
||||
END;
|
||||
$$;
|
||||
|
Loading…
Reference in New Issue
Block a user