ipld-eth-server/db/migrations/00006_create_queued_storage_diffs_table.sql

10 lines
206 B
SQL

-- +goose Up
CREATE TABLE public.queued_storage
(
id SERIAL PRIMARY KEY,
diff_id BIGINT UNIQUE NOT NULL REFERENCES public.storage_diff (id)
);
-- +goose Down
DROP TABLE public.queued_storage;