Skip to content

Commit ab5ba2f

Browse files
committed
fix: migrations
1 parent 6920c1c commit ab5ba2f

File tree

6 files changed

+0
-12
lines changed
  • internal/storage/bucket/migrations
    • 41-optimize-query-indexes
    • 42-optimize-query-indexes-pit-effective
    • 43-optimize-accounts-metadata-index
    • 44-optimize-transactions-metadata-index
    • 45-add-moves-update-effective-volumes-index
    • 46-drop-old-indexes

6 files changed

+0
-12
lines changed

internal/storage/bucket/migrations/41-optimize-query-indexes/up.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
set search_path = '{{.Schema}}';
2-
31
-- ========================================
42
-- MOVES TABLE INDEXES OPTIMIZATION (1/4)
53
-- ========================================

internal/storage/bucket/migrations/42-optimize-query-indexes-pit-effective/up.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
set search_path = '{{.Schema}}';
2-
31
-- ========================================
42
-- MOVES TABLE INDEXES OPTIMIZATION (2/4)
53
-- ========================================

internal/storage/bucket/migrations/43-optimize-accounts-metadata-index/up.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
set search_path = '{{.Schema}}';
2-
31
-- ========================================
42
-- ACCOUNTS_METADATA TABLE OPTIMIZATION
53
-- ========================================

internal/storage/bucket/migrations/44-optimize-transactions-metadata-index/up.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
set search_path = '{{.Schema}}';
2-
31
-- ========================================
42
-- TRANSACTIONS_METADATA TABLE OPTIMIZATION
53
-- ========================================

internal/storage/bucket/migrations/45-add-moves-update-effective-volumes-index/up.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
set search_path = '{{.Schema}}';
2-
31
-- ========================================
42
-- MOVES TABLE INDEX FOR TRIGGER OPTIMIZATION (3/5)
53
-- ========================================

internal/storage/bucket/migrations/46-drop-old-indexes/up.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
set search_path = '{{.Schema}}';
2-
31
-- ========================================
42
-- DROP OLD INDEXES
53
-- ========================================

0 commit comments

Comments
 (0)