Minor changes.

This commit is contained in:
Arijit Das 2021-09-16 19:19:16 +05:30
parent 5acecec955
commit 885d934c90
3 changed files with 11 additions and 11 deletions

View File

@ -91,8 +91,8 @@ DROP INDEX eth.state_header_id_index;
-- receipt indexes -- receipt indexes
DROP INDEX eth.rct_contract_hash_index; DROP INDEX eth.rct_contract_hash_index;
DROP INDEX eth.rct_contract_index; DROP INDEX eth.rct_contract_index;
DROP INDEX eth.rct_mh_index; DROP INDEX eth.rct_leaf_mh_index;
DROP INDEX eth.rct_cid_index; DROP INDEX eth.rct_leaf_cid_index;
DROP INDEX eth.rct_tx_id_index; DROP INDEX eth.rct_tx_id_index;
-- transaction indexes -- transaction indexes

View File

@ -248,8 +248,8 @@ ALTER SEQUENCE eth.header_cids_id_seq OWNED BY eth.header_cids.id;
CREATE TABLE eth.receipt_cids ( CREATE TABLE eth.receipt_cids (
id integer NOT NULL, id integer NOT NULL,
tx_id integer NOT NULL, tx_id integer NOT NULL,
cid text NOT NULL, leaf_cid text NOT NULL,
mh_key text NOT NULL, leaf_mh_key text NOT NULL,
contract character varying(66), contract character varying(66),
contract_hash character varying(66), contract_hash character varying(66),
topic0s character varying(66)[], topic0s character varying(66)[],
@ -798,10 +798,10 @@ CREATE INDEX header_mh_index ON eth.header_cids USING btree (mh_key);
-- --
-- Name: rct_cid_index; Type: INDEX; Schema: eth; Owner: - -- Name: rct_leaf_cid_index; Type: INDEX; Schema: eth; Owner: -
-- --
CREATE INDEX rct_cid_index ON eth.receipt_cids USING btree (cid); CREATE INDEX rct_leaf_cid_index ON eth.receipt_cids USING btree (leaf_cid);
-- --
@ -826,10 +826,10 @@ CREATE INDEX rct_log_contract_index ON eth.receipt_cids USING gin (log_contracts
-- --
-- Name: rct_mh_index; Type: INDEX; Schema: eth; Owner: - -- Name: rct_leaf_mh_index; Type: INDEX; Schema: eth; Owner: -
-- --
CREATE INDEX rct_mh_index ON eth.receipt_cids USING btree (mh_key); CREATE INDEX rct_leaf_mh_index ON eth.receipt_cids USING btree (leaf_mh_key);
-- --
@ -1066,11 +1066,11 @@ ALTER TABLE ONLY eth.header_cids
-- --
-- Name: receipt_cids receipt_cids_mh_key_fkey; Type: FK CONSTRAINT; Schema: eth; Owner: - -- Name: receipt_cids receipt_leaf_cids_mh_key_fkey; Type: FK CONSTRAINT; Schema: eth; Owner: -
-- --
ALTER TABLE ONLY eth.receipt_cids ALTER TABLE ONLY eth.receipt_cids
ADD CONSTRAINT receipt_cids_mh_key_fkey FOREIGN KEY (mh_key) REFERENCES public.blocks(key) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED; ADD CONSTRAINT receipt_leaf_cids_mh_key_fkey FOREIGN KEY (leaf_mh_key) REFERENCES public.blocks(key) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED;
-- --

View File

@ -20,7 +20,7 @@ services:
restart: on-failure restart: on-failure
depends_on: depends_on:
- db - db
image: vulcanize/statediff-migrations:latest image: vulcanize/statediff-migrations:v0.6.0
environment: environment:
DATABASE_USER: vdbm DATABASE_USER: vdbm
DATABASE_NAME: vulcanize_public DATABASE_NAME: vulcanize_public