From c22936c670dcec06370a5968d99c44c9f3c5dc50 Mon Sep 17 00:00:00 2001 From: yuuki <> Date: Tue, 25 Jun 2024 03:39:07 +0900 Subject: [PATCH] =?UTF-8?q?unique=E3=81=AB=E3=81=97=E3=81=9F=E3=81=BB?= =?UTF-8?q?=E3=81=86=E3=81=8C=E3=81=84=E3=81=84=E3=81=AE=E3=81=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.py b/app.py index 3df87da..ddbdd41 100644 --- a/app.py +++ b/app.py @@ -53,6 +53,8 @@ mongo_client = MongoClient( password=environ.get("MONGO_PASSWORD") ) +#uuid重複する?考えすぎ? +#mongo_client.litey.notes.create_index("id", unique=True) mongo_client.litey.ngs.create_index("word", unique=True) # スニペット