fix error on creating database index: wrong table
This commit is contained in:
parent
9dc101d3f6
commit
238fc8a382
|
|
@ -11,7 +11,7 @@
|
||||||
);
|
);
|
||||||
SQL
|
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
|
end
|
||||||
def self.down
|
def self.down
|
||||||
execute("DROP INDEX index_app_interactions_screen_action")
|
execute("DROP INDEX index_app_interactions_screen_action")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue