TheExGenesis / community-archive

An open tweet database and API anyone can build on.
https://www.community-archive.org
MIT License
55 stars 8 forks source link

Fix conversation_id migrations and some typos #154

Closed ri72miieop closed 4 weeks ago

ri72miieop commented 1 month ago

I made a mistake where I had two migrations with different versions of private.update_conversation_ids, the first one would time out and the 2nd version run in ~1min15 the problem is that since I put the 2nd version in another migration this would always break when applying the migrations! I replaced the version 1 with the version 2 in the 1st migration file and removed the 2nd migration file since it is no longer necessary.

Added a lock in private.update_conversation_ids to be sure there are never concurrency issues executing this.

vercel[bot] commented 1 month ago

@ri72miieop is attempting to deploy a commit to the theexgenesis' projects Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
community-archive ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2024 11:07am