timtbdev / Next.js-Blog-App

✨ Multi-User, Full-stack blogging application built with Next.js and Supabase.
https://ink.mn
322 stars 55 forks source link

Supabase Sql #1

Closed Rstacx closed 1 year ago

Rstacx commented 1 year ago

If you can provide supabase sql file.

timtbdev commented 1 year ago

Hi, Sorry for a late reply. Let me know if you need anything else. https://github.com/timtbdev/Next.js-Blog-App/tree/main/database_schema

Rstacx commented 11 months ago
{
  code: '23503',
  details: 'Key (author_id)=(ffa6add6-903f-4265-956e-388065b67e14) is not present in table "profiles".',
  hint: null,
  message: 'insert or update on table "drafts" violates foreign key constraint "drafts_author_id_fkey"'
}

Can you give me the updated sql?