ipld-eth-db/db/migrations/00017_create_db_version_table.sql

9 lines
205 B
MySQL
Raw Normal View History

-- +goose Up
CREATE TABLE IF NOT EXISTS public.db_version (
singleton BOOLEAN NOT NULL DEFAULT TRUE UNIQUE CHECK (singleton),
version TEXT NOT NULL
);
-- +goose Down
DROP TABLE public.db_version;