diff options
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index c15fe58..cf40946 100644 --- a/src/main.rs +++ b/src/main.rs @@ -93,7 +93,7 @@ async fn init_db(conn: &mut Conn) { CREATE TABLE IF NOT EXISTS is_labeled( repo integer, issue integer, label integer RFERENCES labels, - PRIMARY KEY (issue, label), + PRIMARY KEY (repo, issue, label), FOREIGN KEY (repo, issue) REFERENCES issues ); "#).execute(conn) |