Schemas and utils for IPLD ETH Postgres database
Go to file
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
.github/workflows Fix docker-compose for publishing image (#91) 2022-06-14 13:03:22 +05:30
db Add block hash to primary keys in transactions, receipts and logs tables (#100) 2022-07-07 16:21:06 +05:30
scripts Update startup_script.sh 2022-05-27 09:23:48 -04:00
.gitignore Add block hash to primary keys in transactions, receipts and logs tables (#100) 2022-07-07 16:21:06 +05:30
docker-compose.test.yml Fix docker-compose for publishing image (#91) 2022-06-14 13:03:22 +05:30
docker-compose.yml Add block hash to primary keys in transactions, receipts and logs tables (#100) 2022-07-07 16:21:06 +05:30
Dockerfile Update the go-version in build container 2022-06-20 09:23:39 -04:00
LICENSE Initial commit 2021-05-13 17:14:05 -05:00
Makefile Fix docker-compose for publishing image (#91) 2022-06-14 13:03:22 +05:30
README.md Add block hash to primary keys in transactions, receipts and logs tables (#100) 2022-07-07 16:21:06 +05:30
schema.sql Fix migrations naming after merge 2022-05-10 19:34:01 +05:30
vulcanize_db.png updated uml 2021-12-27 11:41:30 -06:00
vulcanize_db.uml updated uml 2021-12-27 11:41:30 -06:00

ipld-eth-db

Schemas and utils for IPLD ETH Postgres database

Database UML

Run

  • Remove any existing containers / volumes:

    docker-compose down -v --remove-orphans
    
  • Spin up ipld-eth-db using an existing image:

    • Update image source used for running the migrations in docker-compose.yml (if required).

    • Run:

      docker-compose -f docker-compose.yml up
      
  • Spin up ipld-eth-db using a locally built image:

    • Update Dockerfile (if required).

    • Update build context used for running the migrations in docker-compose.test.yml (if required).

    • Run:

      docker-compose -f docker-compose.test.yml up --build