distinguish between differential state/storage nodes and eventual ones
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
-- +goose Up
|
||||
ALTER TABLE eth.state_cids
|
||||
ADD COLUMN diff BOOLEAN NOT NULL DEFAULT FALSE;
|
||||
|
||||
ALTER TABLE eth.storage_cids
|
||||
ADD COLUMN diff BOOLEAN NOT NULL DEFAULT FALSE;
|
||||
|
||||
-- +goose Down
|
||||
ALTER TABLE eth.state_cids
|
||||
DROP COLUMN diff;
|
||||
|
||||
ALTER TABLE eth.storage_cids
|
||||
DROP COLUMN diff;
|
||||
+4
-2
@@ -413,7 +413,8 @@ CREATE TABLE eth.state_cids (
|
||||
state_leaf_key character varying(66),
|
||||
cid text NOT NULL,
|
||||
state_path bytea,
|
||||
node_type integer
|
||||
node_type integer,
|
||||
diff boolean DEFAULT false NOT NULL
|
||||
);
|
||||
|
||||
|
||||
@@ -447,7 +448,8 @@ CREATE TABLE eth.storage_cids (
|
||||
storage_leaf_key character varying(66),
|
||||
cid text NOT NULL,
|
||||
storage_path bytea,
|
||||
node_type integer
|
||||
node_type integer,
|
||||
diff boolean DEFAULT false NOT NULL
|
||||
);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user