Add an addresses table

This commit is contained in:
Elizabeth Engelman
2019-08-23 10:11:37 -05:00
parent e093ad351f
commit 750754caa7
2 changed files with 64 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
-- +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;