CREATE TABLE rr_times.translated_headlines
(
    id SERIAL PRIMARY KEY,
    title TEXT NOT NULL,
    subtitle TEXT
);
CREATE TABLE rr_times.issues
(
    id SERIAL PRIMARY KEY,
    issued_at DATE NOT NULL,
    language VARCHAR(2),
    country VARCHAR(2),
    FOREIGN KEY (language, country) REFERENCES rr_times.locales (language_code, country_code) ON DELETE SET NULL,
    translated_headline_id INTEGER NOT NULL,
    FOREIGN KEY (translated_headline_id) REFERENCES rr_times.translated_headlines (id) ON DELETE RESTRICT
);
