Closed MokiMeow closed 2 months ago
Hey! Thanks for appreciating my project. Yes, there are constraints for the file upload sizes because I am using the free tier of a media handling service called uploadthing.
You can customise the file limits by making changes in the app/api/core.ts file.
Your issue: The table public.Room does not exist in the current database.
This usually occurs when you haven't run the Prisma migration command. Make sure you have done that. the command is: npx prisma migrate dev --name "name of the migration"
Finally, This is what the .env should look like: DATABASE_URL="" NEXT_PUBLIC_SUPABASE_URL="" NEXT_PUBLIC_SUPABASE_ANON_KEY ="" UPLOADTHING_SECRET="" UPLOADTHING_APP_ID=""
you can get the uploadthing key by registering on their website.
hey , Ur project looks dope and very useful , wanted to know if there are any constraints on how much u can upload or how many mb of videos and file and it would be helpful if u provide env .example file and u have any idea why i might be getting the
code: 'P2021', clientVersion: '5.14.0', meta: { modelName: 'Room', table: 'public.Room' } } ⨯ PrismaClientKnownRequestError: Invalid
prisma.room.findFirst()
invocation:The table
public.Room
does not exist in the current database. at async createRoom (./app/_actions/actions.ts:21:34)digest: "3878262217"
(i have added the superbase url, key and database url and the environment variable have kept has .env but still getting this