ipld-eth-server/db/migrations/00028_add_address_table.sql
2019-08-23 10:11:37 -05:00

12 lines
251 B
SQL

-- +goose Up
CREATE TABLE public.addresses
(
id SERIAL PRIMARY KEY,
address character varying(42),
UNIQUE (address)
);
-- +goose Down
-- SQL in this section is executed when the migration is rolled back.
DROP TABLE public.addresses;