You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATETABLEchain_trace_status (
status TEXTPRIMARY KEY,
description TEXT
);
COMMENT ON TABLE chain_trace_status IS E'@enum\n@enumName ChainTraceStatus';
INSERT INTO chain_trace_status (status, description) VALUES
('PENDING', 'Chain trace is pending'),
('IN_PROGRESS', 'Chain trace is in progress'),
('SUCCESS', 'Chain trace has finished successfully'),
('ERROR', 'Chain trace has finished with errors');
CREATETABLEchain_trace (
id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
chain_id UUID REFERENCES chain(id) ON DELETE CASCADE,
status TEXTNOT NULLREFERENCES chain_trace_status(status) ON DELETE RESTRICT
);
I thought that issuing this:
COMMENT ON TABLE chain_trace_status IS E'@behavior enum\n@enumName ChainTraceStatus';
should fix it; but apparently it doesn't.
The text was updated successfully, but these errors were encountered:
@enum smart comment not enough on its own.
Context: https://discord.com/channels/489127045289476126/498852330754801666/1139285394274402335
Reported by @sgrove
Reproduction SQL:
I thought that issuing this:
should fix it; but apparently it doesn't.
The text was updated successfully, but these errors were encountered: