File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,6 @@ def notify_signal(
231231 else :
232232 ok , err = False , f"unsupported_channel:{ c } "
233233 except Exception as e :
234- logger .error (rf'signal notify error: { traceback .format_exc ()} ' )
235234 ok , err = False , str (e )
236235
237236 results [c ] = {"ok" : bool (ok ), "error" : (err or "" )}
Original file line number Diff line number Diff line change @@ -275,7 +275,7 @@ CREATE INDEX IF NOT EXISTS idx_notifications_is_read ON qd_strategy_notification
275275-- 7. Indicator Codes
276276-- =============================================================================
277277
278- CREATE TABLE public . qd_indicator_codes (
278+ CREATE TABLE IF NOT EXISTS qd_indicator_codes (
279279 id serial4 NOT NULL ,
280280 user_id int4 DEFAULT 1 NOT NULL ,
281281 is_buy int4 DEFAULT 0 NOT NULL ,
@@ -302,9 +302,11 @@ CREATE TABLE public.qd_indicator_codes (
302302 reviewed_by int4 NULL ,
303303 CONSTRAINT qd_indicator_codes_pkey PRIMARY KEY (id),
304304 CONSTRAINT qd_indicator_codes_user_id_fkey FOREIGN KEY (user_id) REFERENCES qd_users(id) ON DELETE CASCADE
305+
305306);
306- CREATE INDEX idx_indicator_codes_user_id ON public .qd_indicator_codes USING btree (user_id);
307- CREATE INDEX idx_indicator_review_status ON public .qd_indicator_codes USING btree (review_status);
307+
308+ CREATE INDEX idx_indicator_codes_user_id ON qd_indicator_codes USING btree (user_id);
309+ CREATE INDEX idx_indicator_review_status ON qd_indicator_codes USING btree (review_status);
308310
309311-- =============================================================================
310312-- 8. AI Decisions
You can’t perform that action at this time.
0 commit comments