𝖋𝖔𝖈𝖚𝖘
𝖋𝖔𝖈𝖚𝖘
TTCTheo's Typesafe Cult
Created by 𝖋𝖔𝖈𝖚𝖘 on 9/19/2024 in #questions
?CloudFlare - `Validating asset` "Pages only supports files up to 25 MiB in size"
Honestly easier to just self host
7 replies
TTCTheo's Typesafe Cult
Created by 𝖋𝖔𝖈𝖚𝖘 on 9/19/2024 in #questions
?CloudFlare - `Validating asset` "Pages only supports files up to 25 MiB in size"
I was already considering it for Auth and Online Editing, but seems really dumb if its just ~15mb to be the culprit. Only other assumption is THREE/Fiber/Drei is too much to bundle as is. No clue what I can do about that.
7 replies
TTCTheo's Typesafe Cult
Created by 𝖋𝖔𝖈𝖚𝖘 on 9/19/2024 in #questions
?CloudFlare - `Validating asset` "Pages only supports files up to 25 MiB in size"
Is this directly correlated to my Assets (~15mb)? Because otherwise id have to host them somehow. And the Cheapest Solution I can think of is Self-Hosting Supabase.
7 replies
TTCTheo's Typesafe Cult
Created by 𝖋𝖔𝖈𝖚𝖘 on 9/19/2024 in #questions
?CloudFlare - `Validating asset` "Pages only supports files up to 25 MiB in size"
I've found and tried adding: && rm -rf cache to build command, With no Success, yet. src: https://github.com/cloudflare/workers-sdk/issues/2516#issuecomment-1375546028
7 replies
TTCTheo's Typesafe Cult
Created by blues on 5/18/2023 in #questions
Discord OAUTH not working, I've tried almost everything
For me, it was returning this Error from Prisma:
The table `main.Session` does not exist in the current database.
The table `main.Session` does not exist in the current database.
It seems that the Session model is defined in your Prisma schema but the corresponding table has not been created in your SQLite database. To resolve this issue, you can follow these steps: 1. Run Migrations: Ensure that your database schema is up to date with your Prisma schema. You can do this by running the following command:
npx prisma migrate dev --name init
npx prisma migrate dev --name init
This command will create the necessary tables in your database based on your Prisma schema. 2. Push Schema Changes: If you are not using migrations and just want to push the current schema to the database, you can use:
npx prisma db push
npx prisma db push
3. Check Database Connection: Ensure that your DATABASE_URL in the .env file is correctly pointing to your SQLite database. 4. Prisma Studio: You can also use Prisma Studio to visually inspect your database and confirm that the Session table has been created:
npx prisma studio
npx prisma studio
After performing these steps, the Session table should exist in your database, and the error should be resolved.
22 replies
TTCTheo's Typesafe Cult
Created by plaZma on 2/16/2024 in #questions
Try signing in with a different account.
For me, it was returning this Error from Prisma:
The table `main.Session` does not exist in the current database.
The table `main.Session` does not exist in the current database.
It seems that the Session model is defined in your Prisma schema but the corresponding table has not been created in your SQLite database. To resolve this issue, you can follow these steps: 1. Run Migrations: Ensure that your database schema is up to date with your Prisma schema. You can do this by running the following command:
npx prisma migrate dev --name init
npx prisma migrate dev --name init
This command will create the necessary tables in your database based on your Prisma schema. 2. Push Schema Changes: If you are not using migrations and just want to push the current schema to the database, you can use:
npx prisma db push
npx prisma db push
3. Check Database Connection: Ensure that your DATABASE_URL in the .env file is correctly pointing to your SQLite database. 4. Prisma Studio: You can also use Prisma Studio to visually inspect your database and confirm that the Session table has been created:
npx prisma studio
npx prisma studio
After performing these steps, the Session table should exist in your database, and the error should be resolved.
22 replies