ipld-eth-server/db/migrations/00002_create_addresses_table.sql

11 lines
236 B
SQL

-- +goose Up
CREATE TABLE public.addresses
(
id SERIAL PRIMARY KEY,
address character varying(42),
hashed_address character varying(66),
UNIQUE (address)
);
-- +goose Down
DROP TABLE public.addresses;