Skip to content
Discussion options

You must be logged in to vote

Supabase Storage doesn’t currently support native object versioning or built-in locking/concurrency controls. Each path points to a single mutable file, and there’s no way yet to list or retrieve historical versions.

Versioning has been discussed internally, but there’s no public timeline. Same for Storage-level locks or conditional writes — not on the immediate roadmap.

Today the recommended approach is app-level logic using Postgres:

  • Store each file revision under its own generated path.
  • Keep a file_versions table that maps versions to Storage paths.
  • Use Postgres for concurrency — either optimistic updates (UPDATE … WHERE version = X) or a simple locks table for temporary edit locks.

T…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Joao-Tiago-Almeida
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants