From 62ee67108692175660edbc882d21fd23823a29bc Mon Sep 17 00:00:00 2001 From: Eddie Maldonado Date: Thu, 14 Sep 2023 09:44:11 -0400 Subject: [PATCH] feat: async migration for notifications_users user_id index (#2219) --- ...0230913170707_add_notifications_users_user_id_index.exs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 priv/repo/async_migrations/20230913170707_add_notifications_users_user_id_index.exs diff --git a/priv/repo/async_migrations/20230913170707_add_notifications_users_user_id_index.exs b/priv/repo/async_migrations/20230913170707_add_notifications_users_user_id_index.exs new file mode 100644 index 000000000..9c0699b45 --- /dev/null +++ b/priv/repo/async_migrations/20230913170707_add_notifications_users_user_id_index.exs @@ -0,0 +1,7 @@ +defmodule Skate.Repo.Migrations.AddNotificationsUsersUserIdIndex do + use Ecto.Migration + + def change do + create index("notifications_users", [:user_id]) + end +end