From da3aaf051504413c7d281694f8151134dcd4a223 Mon Sep 17 00:00:00 2001 From: lseeger Date: Sun, 15 Dec 2024 19:38:13 +0100 Subject: [PATCH] formatted sql --- .../down.sql | 1 + .../up.sql | 1 + 2 files changed, 2 insertions(+) diff --git a/migrations/2024-12-15-151642_add_index_on_person_id_read_for_read_only_post_actions/down.sql b/migrations/2024-12-15-151642_add_index_on_person_id_read_for_read_only_post_actions/down.sql index f7d99ed9b..e3c4b694e 100644 --- a/migrations/2024-12-15-151642_add_index_on_person_id_read_for_read_only_post_actions/down.sql +++ b/migrations/2024-12-15-151642_add_index_on_person_id_read_for_read_only_post_actions/down.sql @@ -1 +1,2 @@ DROP idx_post_actions_on_read_read_not_null; + diff --git a/migrations/2024-12-15-151642_add_index_on_person_id_read_for_read_only_post_actions/up.sql b/migrations/2024-12-15-151642_add_index_on_person_id_read_for_read_only_post_actions/up.sql index 388d9595b..96ea1f48c 100644 --- a/migrations/2024-12-15-151642_add_index_on_person_id_read_for_read_only_post_actions/up.sql +++ b/migrations/2024-12-15-151642_add_index_on_person_id_read_for_read_only_post_actions/up.sql @@ -1,3 +1,4 @@ CREATE INDEX idx_post_actions_on_read_read_not_null ON post_actions (person_id, read) WHERE read IS NOT NULL; +