Skip to content
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

Commit f5a7f1a

Browse files
author
Oliver Weichhold
authored
Merge pull request #1064 from oliverw/oliverw
Drop indexes not compatible with timestamptz
2 parents 010063b + 06ad4b3 commit f5a7f1a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Miningcore/Persistence/Postgres/Scripts/createdb.sql

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ CREATE TABLE poolstats
105105
);
106106

107107
CREATE INDEX IDX_POOLSTATS_POOL_CREATED on poolstats(poolid, created);
108-
CREATE INDEX IDX_POOLSTATS_POOL_CREATED_HOUR on poolstats(poolid, date_trunc('hour',created));
109108

110109
CREATE TABLE minerstats
111110
(
@@ -120,6 +119,4 @@ CREATE TABLE minerstats
120119

121120
CREATE INDEX IDX_MINERSTATS_POOL_CREATED on minerstats(poolid, created);
122121
CREATE INDEX IDX_MINERSTATS_POOL_MINER_CREATED on minerstats(poolid, miner, created);
123-
CREATE INDEX IDX_MINERSTATS_POOL_MINER_CREATED_HOUR on minerstats(poolid, miner, date_trunc('hour',created));
124-
CREATE INDEX IDX_MINERSTATS_POOL_MINER_CREATED_DAY on minerstats(poolid, miner, date_trunc('day',created));
125122
CREATE INDEX IDX_MINERSTATS_POOL_MINER_WORKER_CREATED_HASHRATE on minerstats(poolid,miner,worker,created desc,hashrate);

0 commit comments

Comments
 (0)