Open ZhongWwwHhh opened 1 year ago
When I use DB_TYPE=mysql, I got this error as run yarn run build:without-migrate
yarn run build:without-migrate
./pages/api/subscription.ts:61:39 Type error: Property 'subscription' does not exist on type 'PrismaClient<PrismaClientOptions, never, DefaultArgs>'. 59 | } 60 | > 61 | const subscription = await prisma.subscription.findUnique({ | ^ 62 | where: { 63 | userId: session.uid 64 | }, error Command failed with exit code 1.
And I found a new submit add subscription c82cd09. Sqlite has been changed correctly, but mysql not.
I thought it was lead by #252
When I use DB_TYPE=mysql, I got this error as run
yarn run build:without-migrate
And I found a new submit add subscription c82cd09. Sqlite has been changed correctly, but mysql not.