ipld-eth-server/db/migrations/00013_add_address_table.sql

11 lines
236 B
MySQL
Raw Normal View History

2019-08-01 15:33:41 +00:00
-- +goose Up
CREATE TABLE public.addresses
(
id SERIAL PRIMARY KEY,
address character varying(42),
hashed_address character varying(66),
2019-08-01 15:33:41 +00:00
UNIQUE (address)
);
-- +goose Down
DROP TABLE public.addresses;