Skip to content

Commit 915d00a

Browse files
committed
chore: update to 6.14.0, add missing dotenv
1 parent 1455049 commit 915d00a

File tree

57 files changed

+6576
-9608
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+6576
-9608
lines changed

generator-prisma-client/basic-typedsql/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ This command runs `prisma generate --sql`, which will generate the Prisma Client
5959
### 4. Run the example
6060

6161
```
62-
npm run dev
62+
pnpm dev
6363
```
6464

6565
This command will run [`index.ts`](./index.ts), which will execute the SQL query defined in [`prisma/sql/conversionByVariant.sql`](./prisma/sql/conversionByVariant.sql) and print the results to the console.

generator-prisma-client/basic-typedsql/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
"author": "",
1414
"license": "ISC",
1515
"dependencies": {
16-
"@prisma/client": "6.13.0"
16+
"@prisma/client": "6.14.0"
1717
},
1818
"devDependencies": {
1919
"@types/node": "22.15.32",
20-
"prisma": "6.13.0",
20+
"prisma": "6.14.0",
2121
"tsx": "4.20.3"
2222
},
2323
"packageManager": "[email protected]+sha512.499434c9d8fdd1a2794ebf4552b3b25c0a633abcee5bb15e7b5de90f32f47b513aca98cd5cfd001c31f0db454bc3804edccd578501e4ca293a6816166bbd9f81"

generator-prisma-client/basic-typedsql/pnpm-lock.yaml

Lines changed: 36 additions & 141 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
-- CreateTable
2+
CREATE TABLE "User" (
3+
"id" TEXT NOT NULL PRIMARY KEY,
4+
"email" TEXT NOT NULL
5+
);
6+
7+
-- CreateTable
8+
CREATE TABLE "TrackingEvent" (
9+
"id" TEXT NOT NULL PRIMARY KEY,
10+
"timestamp" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
11+
"userId" TEXT NOT NULL,
12+
"type" TEXT NOT NULL,
13+
"variant" TEXT NOT NULL,
14+
CONSTRAINT "TrackingEvent_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User" ("id") ON DELETE RESTRICT ON UPDATE CASCADE
15+
);
16+
17+
-- CreateIndex
18+
CREATE UNIQUE INDEX "User_email_key" ON "User"("email");
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Please do not edit this file manually
2+
# It should be added in your version-control system (e.g., Git)
3+
provider = "sqlite"

generator-prisma-client/deno-deploy/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,26 +63,26 @@ Note that `__YOUR_PRISMA_POSTGRES_CONNECTION_STRING__` is a placeholder value th
6363

6464
Note that `__YOUR_PRISMA_POSTGRES_DIRECT_CONNECTION_STRING__` is a placeholder value that you need to replace with the values of your Prisma Postgres direct TCP connection string. The direct connection string has the following structure: `postgres://<username>:<password>@<host>:<port>/<database>`.
6565

66-
### 3. Run a migration to create the database structure and seed the database
66+
### 3. Generate Prisma Client
6767

68-
The [Prisma schema file](./prisma/schema.prisma) contains a single `Quotes` model and a `QuoteKind` enum. You can map this model to the database and create the corresponding `Quotes` table using the following command:
68+
Run:
6969

7070
```
71-
deno task prisma migrate dev --name init
71+
deno task prisma generate
7272
```
7373

74-
You now have an empty `Quotes` table in your database. Next, run the [seed script](./prisma/seed.ts) to create some sample records in the table:
74+
### 4. Run a migration to create the database structure and seed the database
75+
76+
The [Prisma schema file](./prisma/schema.prisma) contains a single `Quotes` model and a `QuoteKind` enum. You can map this model to the database and create the corresponding `Quotes` table using the following command:
7577

7678
```
77-
deno task prisma db seed
79+
deno task prisma migrate dev --name init
7880
```
7981

80-
### 4. Generate Prisma Client
81-
82-
Run:
82+
You now have an empty `Quotes` table in your database. Next, run the [seed script](./prisma/seed.ts) to create some sample records in the table:
8383

8484
```
85-
deno task prisma generate
85+
deno task prisma db seed
8686
```
8787

8888
### 5. Start the app

0 commit comments

Comments
 (0)