Skip to content

Correct bss_id for newstories that aren't linked to a system #7

@oobrien

Description

@oobrien

SELECT n.* FROM newsstories n where n.bss_id not in (select s.bss_id from systems s) ORDER BY n.bss_id ASC

This shows 94 such stories. These should be fixed.

Then add a foreign key constraint on bss_id on newstories, linking to bss_id on systems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions