-- +goose Up
CREATE TABLE IF NOT EXISTS mailing_status (
    id SERIAL PRIMARY KEY,
    status_name TEXT NOT NULL UNIQUE
);

INSERT INTO mailing_status (status_name) VALUES
    ('pending'),
    ('in_progress'),
    ('completed'),
    ('failed')
ON CONFLICT (status_name) DO NOTHING;

-- +goose Down
DROP TABLE mailing_status;
