ancient tables
This commit is contained in:
parent
07a7a534da
commit
531bc62eff
@ -0,0 +1,8 @@
|
|||||||
|
-- +goose Up
|
||||||
|
CREATE TABLE IF NOT EXISTS eth.ancient_headers (
|
||||||
|
block_number BIGINT UNIQUE NOT NULL,
|
||||||
|
header BYTEA NOT NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
-- +goose Down
|
||||||
|
DROP TABLE eth.ancient_headers;
|
@ -0,0 +1,8 @@
|
|||||||
|
-- +goose Up
|
||||||
|
CREATE TABLE IF NOT EXISTS eth.ancient_hashes (
|
||||||
|
block_number BIGINT UNIQUE NOT NULL,
|
||||||
|
hash BYTEA NOT NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
-- +goose Down
|
||||||
|
DROP TABLE eth.ancient_hashes;
|
@ -0,0 +1,8 @@
|
|||||||
|
-- +goose Up
|
||||||
|
CREATE TABLE IF NOT EXISTS eth.ancient_bodies (
|
||||||
|
block_number BIGINT UNIQUE NOT NULL,
|
||||||
|
body BYTEA NOT NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
-- +goose Down
|
||||||
|
DROP TABLE eth.ancient_bodies;
|
@ -0,0 +1,8 @@
|
|||||||
|
-- +goose Up
|
||||||
|
CREATE TABLE IF NOT EXISTS eth.ancient_receipts (
|
||||||
|
block_number BIGINT UNIQUE NOT NULL,
|
||||||
|
receipts BYTEA NOT NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
-- +goose Down
|
||||||
|
DROP TABLE eth.ancient_receipts;
|
@ -0,0 +1,8 @@
|
|||||||
|
-- +goose Up
|
||||||
|
CREATE TABLE IF NOT EXISTS eth.ancient_tds (
|
||||||
|
block_number BIGINT UNIQUE NOT NULL,
|
||||||
|
td BYTEA NOT NULL
|
||||||
|
);
|
||||||
|
|
||||||
|
-- +goose Down
|
||||||
|
DROP TABLE eth.ancient_tds;
|
Loading…
Reference in New Issue
Block a user