Skip to content

Commit

Permalink
Add missing index on yamls.room_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Eijebong committed May 21, 2024
1 parent 3468a9b commit 4e3c0c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions migrations/2024-05-19-122140_add_yaml_rooms_id_index/down.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- This file should undo anything in `up.sql`
DROP INDEX yamls_room_id;
2 changes: 2 additions & 0 deletions migrations/2024-05-19-122140_add_yaml_rooms_id_index/up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- Your SQL goes here
CREATE INDEX yamls_room_id ON yamls(room_id);

0 comments on commit 4e3c0c2

Please # to comment.