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

INSERT INTO mailling_status (status_name) VALUES
    ('PENDING'),
    ('IN_PROGRESS'),
    ('COMPLETED'),
    ('FAILED')
ON CONFLICT (status_name) DO NOTHING;

-- +goose Down
DROP TABLE mailling_status;
