chore(db): migrate from SQLite to PostgreSQL
- Change Prisma provider from sqlite to postgresql - Replace better-sqlite3 adapter with @prisma/adapter-pg - Update prisma.config.ts and lib/prisma.ts for PostgreSQL - Add DATABASE_URL to .env.local - Regenerate Prisma client for PostgreSQL - Recreate migrations for PostgreSQL database
This commit is contained in:
@@ -566,6 +566,7 @@ export type GameCreateOrConnectWithoutUserInput = {
|
||||
|
||||
export type GameCreateManyUserInputEnvelope = {
|
||||
data: Prisma.GameCreateManyUserInput | Prisma.GameCreateManyUserInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
export type GameUpsertWithWhereUniqueWithoutUserInput = {
|
||||
@@ -1400,6 +1401,7 @@ export type GameCreateManyArgs<ExtArgs extends runtime.Types.Extensions.Internal
|
||||
* The data used to create many Games.
|
||||
*/
|
||||
data: Prisma.GameCreateManyInput | Prisma.GameCreateManyInput[]
|
||||
skipDuplicates?: boolean
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1418,6 +1420,7 @@ export type GameCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions
|
||||
* The data used to create many Games.
|
||||
*/
|
||||
data: Prisma.GameCreateManyInput | Prisma.GameCreateManyInput[]
|
||||
skipDuplicates?: boolean
|
||||
/**
|
||||
* Choose, which related nodes to fetch as well
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user