mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-01-10 14:38:18 -05:00
Co-authored-by: colinlyguo <colinlyguo@users.noreply.github.com> Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
18 lines
378 B
SQL
18 lines
378 B
SQL
-- +goose Up
|
|
-- +goose StatementBegin
|
|
|
|
ALTER TABLE batch
|
|
ADD COLUMN total_l1_commit_gas BIGINT NOT NULL DEFAULT 0,
|
|
ADD COLUMN total_l1_commit_calldata_size INTEGER NOT NULL DEFAULT 0;
|
|
|
|
-- +goose StatementEnd
|
|
|
|
-- +goose Down
|
|
-- +goose StatementBegin
|
|
|
|
ALTER TABLE IF EXISTS batch
|
|
DROP COLUMN total_l1_commit_gas,
|
|
DROP COLUMN total_l1_commit_calldata_size;
|
|
|
|
-- +goose StatementEnd
|