Skip to content

Commit

Permalink
chore(deps): update engines to 3.13.0-12.b5d46f43717ef745f00f8edb9cfe…
Browse files Browse the repository at this point in the history
…c1d24772476d (#12936)

Co-authored-by: Joël Galeran <Jolg42@users.noreply.github.com>
  • Loading branch information
prisma-bot and Jolg42 committed Apr 25, 2022
1 parent 22f6f51 commit 2121276
Show file tree
Hide file tree
Showing 8 changed files with 79 additions and 84 deletions.
6 changes: 3 additions & 3 deletions packages/cli/package.json
Expand Up @@ -68,9 +68,9 @@
"devDependencies": {
"@prisma/client": "workspace:*",
"@prisma/debug": "workspace:*",
"@prisma/fetch-engine": "3.13.0-11.07815b335736eb128666b4a5a86e94e19656f4ff",
"@prisma/fetch-engine": "3.13.0-12.b5d46f43717ef745f00f8edb9cfec1d24772476d",
"@prisma/generator-helper": "workspace:*",
"@prisma/get-platform": "3.13.0-11.07815b335736eb128666b4a5a86e94e19656f4ff",
"@prisma/get-platform": "3.13.0-12.b5d46f43717ef745f00f8edb9cfec1d24772476d",
"@prisma/migrate": "workspace:*",
"@prisma/sdk": "workspace:*",
"@prisma/studio": "0.459.0",
Expand Down Expand Up @@ -119,7 +119,7 @@
"preinstall": "node scripts/preinstall-entry.js"
},
"dependencies": {
"@prisma/engines": "3.13.0-11.07815b335736eb128666b4a5a86e94e19656f4ff",
"@prisma/engines": "3.13.0-12.b5d46f43717ef745f00f8edb9cfec1d24772476d",
"ts-pattern": "^4.0.1"
},
"sideEffects": false
Expand Down
8 changes: 4 additions & 4 deletions packages/client/package.json
Expand Up @@ -63,10 +63,10 @@
"@opentelemetry/api": "1.0.3",
"@prisma/debug": "workspace:*",
"@prisma/engine-core": "workspace:*",
"@prisma/engines": "3.13.0-11.07815b335736eb128666b4a5a86e94e19656f4ff",
"@prisma/fetch-engine": "3.13.0-11.07815b335736eb128666b4a5a86e94e19656f4ff",
"@prisma/engines": "3.13.0-12.b5d46f43717ef745f00f8edb9cfec1d24772476d",
"@prisma/fetch-engine": "3.13.0-12.b5d46f43717ef745f00f8edb9cfec1d24772476d",
"@prisma/generator-helper": "workspace:*",
"@prisma/get-platform": "3.13.0-11.07815b335736eb128666b4a5a86e94e19656f4ff",
"@prisma/get-platform": "3.13.0-12.b5d46f43717ef745f00f8edb9cfec1d24772476d",
"@prisma/migrate": "workspace:*",
"@prisma/sdk": "workspace:*",
"@timsuchanek/copy": "1.4.5",
Expand Down Expand Up @@ -122,7 +122,7 @@
}
},
"dependencies": {
"@prisma/engines-version": "3.13.0-11.07815b335736eb128666b4a5a86e94e19656f4ff"
"@prisma/engines-version": "3.13.0-12.b5d46f43717ef745f00f8edb9cfec1d24772476d"
},
"sideEffects": false
}
4 changes: 2 additions & 2 deletions packages/engine-core/package.json
Expand Up @@ -36,9 +36,9 @@
},
"dependencies": {
"@prisma/debug": "workspace:*",
"@prisma/engines": "3.13.0-11.07815b335736eb128666b4a5a86e94e19656f4ff",
"@prisma/engines": "3.13.0-12.b5d46f43717ef745f00f8edb9cfec1d24772476d",
"@prisma/generator-helper": "workspace:*",
"@prisma/get-platform": "3.13.0-11.07815b335736eb128666b4a5a86e94e19656f4ff",
"@prisma/get-platform": "3.13.0-12.b5d46f43717ef745f00f8edb9cfec1d24772476d",
"chalk": "4.1.2",
"execa": "5.1.1",
"get-stream": "6.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/migrate/package.json
Expand Up @@ -20,7 +20,7 @@
"version": "latest"
},
"devDependencies": {
"@prisma/engines-version": "3.13.0-11.07815b335736eb128666b4a5a86e94e19656f4ff",
"@prisma/engines-version": "3.13.0-12.b5d46f43717ef745f00f8edb9cfec1d24772476d",
"@prisma/generator-helper": "workspace:*",
"@prisma/sdk": "workspace:*",
"@swc/core": "1.2.141",
Expand All @@ -45,7 +45,7 @@
},
"dependencies": {
"@prisma/debug": "workspace:*",
"@prisma/get-platform": "3.13.0-11.07815b335736eb128666b4a5a86e94e19656f4ff",
"@prisma/get-platform": "3.13.0-12.b5d46f43717ef745f00f8edb9cfec1d24772476d",
"@sindresorhus/slugify": "1.1.2",
"chalk": "4.1.2",
"execa": "5.1.1",
Expand Down
40 changes: 20 additions & 20 deletions packages/migrate/src/__tests__/MigrateDiff.test.ts
Expand Up @@ -132,18 +132,18 @@ describe('migrate diff', () => {
await expect(result).resolves.toMatchInlineSnapshot(``)
expect(ctx.mocked['console.info'].mock.calls.join('\n')).toMatchInlineSnapshot(`
[+] Added tables
- Post
- Profile
- User
- _Migration
[+] Added tables
- Post
- Profile
- User
- _Migration
[*] Changed the \`Profile\` table
[+] Added unique index on columns (userId)
[*] Changed the \`Profile\` table
[+] Added unique index on columns (userId)
[*] Changed the \`User\` table
[+] Added unique index on columns (email)
`)
[*] Changed the \`User\` table
[+] Added unique index on columns (email)
`)
})
it('should diff --from-empty --to-url=file:dev.db --script', async () => {
ctx.fixture('introspection/sqlite')
Expand All @@ -160,9 +160,9 @@ describe('migrate diff', () => {
await expect(result).resolves.toMatchInlineSnapshot(``)
expect(ctx.mocked['console.info'].mock.calls.join('\n')).toMatchInlineSnapshot(`
[+] Added tables
- Blog
`)
[+] Added tables
- Blog
`)
})
it('should diff --from-empty --to-schema-datamodel=./prisma/schema.prisma --script', async () => {
ctx.fixture('schema-only-sqlite')
Expand All @@ -189,9 +189,9 @@ describe('migrate diff', () => {
await expect(result).resolves.toMatchInlineSnapshot(``)
expect(ctx.mocked['console.info'].mock.calls.join('\n')).toMatchInlineSnapshot(`
[-] Removed tables
- Blog
`)
[-] Removed tables
- Blog
`)
})
it('should diff --from-schema-datamodel=./prisma/schema.prisma --to-empty --script', async () => {
ctx.fixture('schema-only-sqlite')
Expand Down Expand Up @@ -236,9 +236,9 @@ describe('migrate diff', () => {
expect(ctx.mocked['console.error'].mock.calls.join('\n')).toMatchInlineSnapshot(``)
expect(ctx.mocked['console.info'].mock.calls.join('\n')).toMatchInlineSnapshot(`
[-] Removed tables
- Blog
`)
[-] Removed tables
- Blog
`)

expect(mockExit).toHaveBeenCalledTimes(1)
expect(mockExit).toHaveBeenCalledWith(2)
Expand Down Expand Up @@ -508,7 +508,7 @@ describe('migrate diff', () => {
CREATE TABLE [dbo].[Blog] (
[id] INT NOT NULL,
[viewCount20] INT NOT NULL,
CONSTRAINT [Blog_pkey] PRIMARY KEY ([id])
CONSTRAINT [Blog_pkey] PRIMARY KEY CLUSTERED ([id])
);
COMMIT TRAN;
Expand Down
6 changes: 3 additions & 3 deletions packages/sdk/package.json
Expand Up @@ -47,10 +47,10 @@
"dependencies": {
"@prisma/debug": "workspace:*",
"@prisma/engine-core": "workspace:*",
"@prisma/engines": "3.13.0-11.07815b335736eb128666b4a5a86e94e19656f4ff",
"@prisma/fetch-engine": "3.13.0-11.07815b335736eb128666b4a5a86e94e19656f4ff",
"@prisma/engines": "3.13.0-12.b5d46f43717ef745f00f8edb9cfec1d24772476d",
"@prisma/fetch-engine": "3.13.0-12.b5d46f43717ef745f00f8edb9cfec1d24772476d",
"@prisma/generator-helper": "workspace:*",
"@prisma/get-platform": "3.13.0-11.07815b335736eb128666b4a5a86e94e19656f4ff",
"@prisma/get-platform": "3.13.0-12.b5d46f43717ef745f00f8edb9cfec1d24772476d",
"@timsuchanek/copy": "1.4.5",
"archiver": "5.3.1",
"arg": "5.0.1",
Expand Down
21 changes: 8 additions & 13 deletions packages/sdk/src/__tests__/introspection/introspection.test.ts
Expand Up @@ -192,8 +192,7 @@ test('introspection basic', async () => {
}
],
\\"tpe\\": \\"Unique\\",
\\"algorithm\\": null,
\\"clustered\\": null
\\"algorithm\\": null
}
],
\\"primary_key\\": {
Expand All @@ -205,8 +204,7 @@ test('introspection basic', async () => {
}
],
\\"sequence\\": null,
\\"constraint_name\\": null,
\\"clustered\\": null
\\"constraint_name\\": null
},
\\"foreign_keys\\": [
{
Expand Down Expand Up @@ -340,8 +338,7 @@ test('introspection basic', async () => {
}
],
\\"tpe\\": \\"Unique\\",
\\"algorithm\\": null,
\\"clustered\\": null
\\"algorithm\\": null
},
{
\\"name\\": \\"User.id\\",
Expand All @@ -353,8 +350,7 @@ test('introspection basic', async () => {
}
],
\\"tpe\\": \\"Unique\\",
\\"algorithm\\": null,
\\"clustered\\": null
\\"algorithm\\": null
}
],
\\"primary_key\\": {
Expand All @@ -366,8 +362,7 @@ test('introspection basic', async () => {
}
],
\\"sequence\\": null,
\\"constraint_name\\": null,
\\"clustered\\": null
\\"constraint_name\\": null
},
\\"foreign_keys\\": []
},
Expand Down Expand Up @@ -506,8 +501,7 @@ test('introspection basic', async () => {
}
],
\\"sequence\\": null,
\\"constraint_name\\": null,
\\"clustered\\": null
\\"constraint_name\\": null
},
\\"foreign_keys\\": []
}
Expand All @@ -516,7 +510,8 @@ test('introspection basic', async () => {
\\"sequences\\": [],
\\"views\\": [],
\\"procedures\\": [],
\\"user_defined_types\\": []
\\"user_defined_types\\": [],
\\"connector_data\\": null
}"
`)
engine.stop()
Expand Down

0 comments on commit 2121276

Please sign in to comment.