From b711ec410089b43ae30458e85c6cd42561aacc2c Mon Sep 17 00:00:00 2001 From: Amy Date: Sun, 5 Dec 2021 13:34:11 +0000 Subject: [PATCH] dont make the warn message unique in database --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 7a1dec2..7c3ebf5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -29,7 +29,7 @@ pub fn create_database() { let result = connection .execute( " - CREATE TABLE pkg_mngrs (mngr TEXT, distro TEXT, UNIQUE (mngr, distro)); + CREATE TABLE pkg_mngrs (mngr TEXT, distro TEXT, UNIQUE (mngr)); ", ); match result {