© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago
doa

Need advice with storage and table

I want to make a platform of sort in Supabase, where user can upload "books" and other user can view them. But I am struggling with connecting the table with the storage,

So the table is "contents" where it have the books, and the book themselves is in a bucket under storage named "books".
It looks like this under buckets: books/[book_title]/[chapter_number]

So for example it could look like this: books/Cinderella/chapter 01/
And then a chapter consist of multiple images.

Now the problem is because I want to track who is the original uploader I want a way to connect them. Any user can view the books but delete, edit, and upload belongs to the original user.

So I want to put Cinderella for example into contents, and now I can see what titles I have in contents and access them. But how do I do this ?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Storage only or storage + table?
SupabaseSSupabase / help-and-questions
2y ago
Sync Supabase table and storage IDs
SupabaseSSupabase / help-and-questions
4y ago
Need help with self-hosted storage
SupabaseSSupabase / help-and-questions
8mo ago
Clone branch with tables schema and data, Authentication users and Storage
SupabaseSSupabase / help-and-questions
7mo ago