-- Add migration script here
CREATE TABLE refresh_token
(
    id           uuid      not null,
    user_id      uuid      not null,
    time_created timestamp not null,
    CONSTRAINT fk_user_id FOREIGN KEY (user_id) REFERENCES account (id) ON DELETE CASCADE,
    PRIMARY KEY (id, user_id)
);