Commit Graph

14 Commits

Author SHA1 Message Date
i-norden
f59582ab42 indexes on receipt cid and mh_key should not be unique, as it is possible (but improbable) that two receipts can be identical 2022-02-16 14:11:23 -06:00
i-norden
9e7e0377a5 split pk application into two parts 2022-01-26 13:01:41 -06:00
i-norden
0710ed1bb1 drop un-unique indexes 2022-01-25 12:31:59 -06:00
i-norden
1088313ab7 prep for integrated node of v3 2022-01-25 08:29:25 -06:00
i-norden
edabfcc9c9 migration for applying log_cids.leaf_mh_key FK constraint to check that repair process was completed 2022-01-19 15:21:29 -06:00
i-norden
ae1a6e9d31 disable and renable indexes correctly 2022-01-10 21:51:04 -06:00
i-norden
a2c98550b7 mig to upgrade schema version in db; mig to remove temporary indexes for logTrie fix 2022-01-10 12:13:49 -06:00
i-norden
4ad1250ea1 split out new post-batch migration for indexes that will accelerate our logTrie repair process 2022-01-10 11:53:55 -06:00
i-norden
8b64621f46 move public.blocks PK application into own migration to be applied alone 2022-01-07 12:52:45 -06:00
i-norden
3833fb85e2 singleton table for internally recording the database schema version 2021-12-27 11:35:32 -06:00
Arijit Das
e532192a6d Fix CI test. 2021-12-20 21:20:50 +05:30
Arijit Das
db48f344f0 Fix failing CI and update incremental migration. 2021-12-20 14:07:48 +05:30
i-norden
217bbf9523 make tables unlogged for batch import 2021-11-22 23:41:32 -06:00
i-norden
1b4a6fc2e3 split pre and post batch processing migrations apart; create make targets for running each 2021-11-18 19:03:37 -06:00