uniqueにしたほうがいいのか
This commit is contained in:
parent
478804e414
commit
c22936c670
1 changed files with 2 additions and 0 deletions
2
app.py
2
app.py
|
@ -53,6 +53,8 @@ mongo_client = MongoClient(
|
||||||
password=environ.get("MONGO_PASSWORD")
|
password=environ.get("MONGO_PASSWORD")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
#uuid重複する?考えすぎ?
|
||||||
|
#mongo_client.litey.notes.create_index("id", unique=True)
|
||||||
mongo_client.litey.ngs.create_index("word", unique=True)
|
mongo_client.litey.ngs.create_index("word", unique=True)
|
||||||
|
|
||||||
# スニペット
|
# スニペット
|
||||||
|
|
Loading…
Add table
Reference in a new issue