Schemas and utils for IPLD ETH Postgres database
Go to file
Thomas E Lackey 1b922dbff3
Add canonical column to eth.header_cids (#136)
* Add canonical column to eth.header_cids

* NOT NULL

* Update stored procedures for new schema.

* Switch to sql syntax, since it can be inlined.

* Fix indent

* Fix indent
2023-07-18 12:29:27 -05:00
.github/workflows Upgrade github action 2023-05-15 12:03:51 +08:00
db/migrations Add canonical column to eth.header_cids (#136) 2023-07-18 12:29:27 -05:00
scripts Startup script tweaks 2023-05-15 12:03:30 +08: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 Renames and clean up (#129) 2023-03-21 12:38:43 -05:00
docker-compose.yml comments for using local build 2023-03-21 12:43:29 -05:00
Dockerfile fix after cherry-pick 2023-03-21 12:50:37 -05:00
LICENSE Initial commit 2021-05-13 17:14:05 -05:00
Makefile Renames and clean up (#129) 2023-03-21 12:38:43 -05:00
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 Add canonical column to eth.header_cids (#136) 2023-07-18 12:29:27 -05:00
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