Skip to content

Commit

Permalink
Runs state indices (#2535)
Browse files Browse the repository at this point in the history
* Runs state indices

* If not exists.

* Adding newline

* Rename

* Renaming indices

* Uppercase.

* Newline

---------

Co-authored-by: phix <peter.hicks@astronomer.io>
  • Loading branch information
phixMe and phix authored Jul 17, 2023
1 parent 52b70a7 commit 3d023e4
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CREATE INDEX IF NOT EXISTS run_states_uuid_index ON run_states(run_uuid);
CREATE INDEX IF NOT EXISTS runs_parent_run_uuid_index ON runs(parent_run_uuid);
CREATE INDEX IF NOT EXISTS runs_start_run_state_uuid_index ON runs(start_run_state_uuid);
CREATE INDEX IF NOT EXISTS runs_end_run_state_uuid_index ON runs(end_run_state_uuid);

0 comments on commit 3d023e4

Please sign in to comment.