
-- +goose Up
-- SQL in section 'Up' is executed when this migration is applied

CREATE TABLE tokens(
    token text PRIMARY KEY,
    created timestamp WITH time zone DEFAULT now(),
    user_id integer REFERENCES users(user_id)
);


-- +goose Down
-- SQL section 'Down' is executed when this migration is rolled back
DROP TABLE tokens;
