From 238fc8a38281df83f981bfc5c17dd351458971f8 Mon Sep 17 00:00:00 2001 From: Nuwan Date: Wed, 28 Feb 2024 21:58:03 +0530 Subject: [PATCH] fix error on creating database index: wrong table --- ruby/db/migrate/20240205224518_create_app_interations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruby/db/migrate/20240205224518_create_app_interations.rb b/ruby/db/migrate/20240205224518_create_app_interations.rb index 6eeb4cf6f..19f50c192 100644 --- a/ruby/db/migrate/20240205224518_create_app_interations.rb +++ b/ruby/db/migrate/20240205224518_create_app_interations.rb @@ -11,7 +11,7 @@ ); SQL ) - execute("CREATE INDEX index_app_interactions_screen_action ON public.temp_tokens USING btree (screen, action);") + execute("CREATE INDEX index_app_interactions_screen_action ON public.app_interactions USING btree (screen, action);") end def self.down execute("DROP INDEX index_app_interactions_screen_action")