| 1 | -- A repository's boards (oxygenhub#360): a board made or chosen with a new |
| 2 | -- repository takes its issues and proposals as they open, each a card at |
| 3 | -- the bottom of the board's first column. |
| 4 | ( |
| 5 | project_id INTEGER NOT NULL REFERENCES projects(id) ON DELETE CASCADE, |
| 6 | repo_id INTEGER NOT NULL REFERENCES repositories(id) ON DELETE CASCADE, |
| 7 | PRIMARY KEY (project_id, repo_id) |
| 8 | ); |
| 9 | ON project_repos (repo_id); |