diff --git a/migrations/2024-05-19-122140_add_yaml_rooms_id_index/down.sql b/migrations/2024-05-19-122140_add_yaml_rooms_id_index/down.sql new file mode 100644 index 0000000..0e742e2 --- /dev/null +++ b/migrations/2024-05-19-122140_add_yaml_rooms_id_index/down.sql @@ -0,0 +1,2 @@ +-- This file should undo anything in `up.sql` +DROP INDEX yamls_room_id; diff --git a/migrations/2024-05-19-122140_add_yaml_rooms_id_index/up.sql b/migrations/2024-05-19-122140_add_yaml_rooms_id_index/up.sql new file mode 100644 index 0000000..895705a --- /dev/null +++ b/migrations/2024-05-19-122140_add_yaml_rooms_id_index/up.sql @@ -0,0 +1,2 @@ +-- Your SQL goes here +CREATE INDEX yamls_room_id ON yamls(room_id);