| 1553bfc9 Andy McCall ↶ | 1 | -- Stars and topics (hub spec §6: explore). |
| 2 | ( |
|
| 3 | account_id INTEGER NOT NULL REFERENCES accounts(id) ON DELETE CASCADE, |
|
| 4 | repo_id INTEGER NOT NULL REFERENCES repositories(id) ON DELETE CASCADE, |
|
| 5 | at_ms INTEGER NOT NULL, |
|
| 6 | PRIMARY KEY (account_id, repo_id) |
|
| 7 | ); |
|
| 8 | ON stars (repo_id); |
|
| 9 | -- Space-separated, lower case. |
|
| 10 | repositories ADD COLUMN topics TEXT NOT NULL DEFAULT ''; |