Skip to content

Commit

Permalink
fix(backend): change the index
Browse files Browse the repository at this point in the history
  • Loading branch information
takadev15 committed May 25, 2024
1 parent 699d6fd commit 674bf62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/migrations/20240524154034_incident_data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ CREATE TABLE incident_data (
created_by VARCHAR(255) NOT NULL
);

CREATE INDEX incident_data_incident_id_idx ON incident_data (instance_id, incident_id, timestamp);
CREATE INDEX incident_data_incident_id_idx ON incident_data (monitor_id, incident_id, timestamp);
-- +goose StatementEnd

-- +goose Down
Expand Down

0 comments on commit 674bf62

Please sign in to comment.