-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
running_count
and total_count
columns from the `missed_blo…
…cks` table (#564) * remove column properties from table identity * remove unused query methods * add flyway drop column script * add change log entry * fix lint
- Loading branch information
1 parent
e696de8
commit 061f488
Showing
3 changed files
with
8 additions
and
26 deletions.
There are no files selected for viewing
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
7 changes: 7 additions & 0 deletions
7
database/src/main/resources/db/migration/V1_93__Remove_columns_from_missed_block_table.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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
SELECT 'Remove running_count and total_count columns from the missed_blocks table' AS comment; | ||
|
||
DROP INDEX IF EXISTS missed_blocks_running_count_idx; | ||
|
||
ALTER TABLE missed_blocks | ||
DROP COLUMN IF EXISTS running_count, | ||
DROP COLUMN IF EXISTS total_count; |
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