Closed iturner72 closed 10 months ago
Someone is attempting to deploy a commit to a Personal Account owned by @ishan0102 on Vercel.
@ishan0102 first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
engblogs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 3, 2023 3:57pm |
Love this idea, I'll implement this weekend
Do you know how to convert my already existing company column in the posts table to a foreign key without breaking stuff?
Do you know how to convert my already existing company column in the posts table to a foreign key without breaking stuff?
Yes, I should've added some more photos. I did everything in the Supabase UI.
Below are the screenshots that show the fields to edit and how it should look afterwards:
Cool just need to fix this error and that should work, think I just need to add some constraint
looks like links.company needs to be unique lemme try that
Cool just need to fix this error and that should work, think I just need to add some constraint looks like links.company needs to be unique lemme try that
Did you create
oops, Meant to reply with:
Did you create the new column to store logo urls in the links table?
Yep created that column, will get these db changes in and then update frontend with your changes later
Awesome! I used all kinds of image formats for the logos .png, .jpeg, .ico to see if they worked and those all do just FYI
Great that's good to know, I'll try to find good logo assets. also supabase is insanely slow rn
yea, I noticed they had a banner last night saying they were fixing some bug. It was gone today, but perhaps related
Sweet it worked!
lessgo :)
New Feature: Blog Post Logos
Description
This feature allows the addition of logos to blog posts. It utilizes Supabase storage buckets for logo management and requires new table relationships to link logos to their respective posts.
Supabase Configuration
blog-post-logos
is required for logo storage.company
column in theposts
table requires a foreign link to thelinks
table (or whatever you've named this table). I've added a column in thelinks
table calledlogo_url
which stores the Supabase Storage link to the respective company logos.The foreign link looks like this when I hover over the
company
column in theposts
table:company -> public.links.company
Let me know if this feature is worth, I think it looks nice on the sister brypto site I've created. If the instructions are unclear, or the implementation sucks, please let me know :)