aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/migrations.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrations.go b/db/migrations.go
index 23847c9..f6ecb60 100644
--- a/db/migrations.go
+++ b/db/migrations.go
@@ -73,7 +73,7 @@ var migrations []Migration = []Migration{
73 FROM report_lines 73 FROM report_lines
74 JOIN reports ON reports.id = report_lines.report_id 74 JOIN reports ON reports.id = report_lines.report_id
75 JOIN market_configs ON reports.market_config_id = market_configs.id 75 JOIN market_configs ON reports.market_config_id = market_configs.id
76 WHERE report_lines.payload::jsonb->'checkpoint' IS NOT NULL`, 76 WHERE report_lines.payload::jsonb->>'checkpoint' IS NOT NULL`,
77 `CREATE INDEX checkpoints_idx ON report_lines ((payload->>'checkpoint'))`, 77 `CREATE INDEX checkpoints_idx ON report_lines ((payload->>'checkpoint'))`,
78 }, 78 },
79 Down: []string{"DROP VIEW view_balances", "DROP INDEX checkpoints_idx"}, 79 Down: []string{"DROP VIEW view_balances", "DROP INDEX checkpoints_idx"},