Commit Graph

8 Commits

Author SHA1 Message Date
prathamesh0
b59505eab2
Add block hash to primary keys in transactions, receipts and logs tables (#100)
* Add block hash to primary keys in transactions, receipts and logs tables

* Add block hash in postgraphile triggers for transactions, receipts and logs tables

* Make indexes on transaction cid and mh_key non-unique
2022-07-07 16:21:06 +05:30
ee2f43a849 Remove foreign keys to hypertables 2022-04-22 18:53:43 +05:30
i-norden
673ae7b265 fixes, PKs need to include partition key 2022-04-12 21:56:27 -05:00
i-norden
ba2550cc01 update pre- and post- sets 2022-03-21 19:53:48 -05:00
i-norden
1dc12460dc denormalize tables by block_number so that we can partition all tables by block_number for purposes of sharding 2022-03-15 16:06:13 -05:00
i-norden
925dba5759 reorder columns to match order of values written to .sql files so that when we convert to .csv and load using COPY FROM it doesn't need to sort 2021-11-25 11:33:39 -06:00
i-norden
7cc9201a94 new natural primary key scheme 2021-11-14 18:23:26 -06:00
Arijit Das
562ee3e782 Create a docker image with postgres DB and concise migration. 2021-10-05 16:21:18 +05:30