forked from raystack/frontier
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a8e1c6c
commit 5d7064d
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
10 changes: 5 additions & 5 deletions
10
internal/store/postgres/migrations/20240603061854_rename_activities_table.up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
ALTER TABLE public.activities RENAME to old_activities; | ||
|
||
ALTER INDEX IF EXISTS activity_timestamp_index RENAME TO old_activity_timestamp_index | ||
ALTER INDEX IF EXISTS activity_action_index RENAME TO old_activity_action_index | ||
ALTER INDEX IF EXISTS activity_actor_index RENAME TO old_activity_actor_index | ||
ALTER INDEX IF EXISTS activity_data_index RENAME TO old_activity_data_index | ||
ALTER INDEX IF EXISTS activity_metadata_index RENAME TO old_activity_metadata_index | ||
ALTER INDEX IF EXISTS activity_timestamp_index RENAME TO old_activity_timestamp_index; | ||
ALTER INDEX IF EXISTS activity_action_index RENAME TO old_activity_action_index; | ||
ALTER INDEX IF EXISTS activity_actor_index RENAME TO old_activity_actor_index; | ||
ALTER INDEX IF EXISTS activity_data_index RENAME TO old_activity_data_index; | ||
ALTER INDEX IF EXISTS activity_metadata_index RENAME TO old_activity_metadata_index; |