Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Running save outputs connection strings if included in schema file #551

Closed
janpio opened this issue Aug 16, 2020 · 0 comments
Closed

Running save outputs connection strings if included in schema file #551

janpio opened this issue Aug 16, 2020 · 0 comments
Assignees
Labels
bug/1-repro-available A reproduction exists and needs to be confirmed. kind/bug A reported bug. tech/typescript Issue for tech TypeScript. topic: cli
Milestone

Comments

@janpio
Copy link
Member

janpio commented Aug 16, 2020

See https://github.com/prisma/prisma-client-js-benchmarks/pull/20/checks?check_run_id=990311915

2020-08-16T11:46:22.4017636Z 馃摷  migrate save --name init
2020-08-16T11:46:22.4035585Z 
2020-08-16T11:46:22.4036168Z New datamodel:
2020-08-16T11:46:22.4036424Z 
2020-08-16T11:46:22.4036731Z // datasource db {
2020-08-16T11:46:22.4037066Z //   provider = "postgres"
2020-08-16T11:46:22.4037480Z //   url      = "postgres://postgres:prisma@localhost:5432/postgres?schema=sql_load_test"
2020-08-16T11:46:22.4037785Z // }
2020-08-16T11:46:22.4038011Z 
2020-08-16T11:46:22.4038500Z datasource db {
2020-08-16T11:46:22.4058936Z   provider = "mysql"
2020-08-16T11:46:22.4059536Z   url      = "mysql://root:root@localhost:3306/benchmark"
2020-08-16T11:46:22.4059997Z }
2020-08-16T11:46:22.4060139Z 
2020-08-16T11:46:22.4060336Z generator client {
2020-08-16T11:46:22.4060770Z   provider = "prisma-client-js"
2020-08-16T11:46:22.4060935Z }
2020-08-16T11:46:22.4061015Z 
2020-08-16T11:46:22.4061173Z model Comment {
2020-08-16T11:46:22.4061286Z   author    Int
2020-08-16T11:46:22.4061406Z   content   String?
2020-08-16T11:46:22.4061552Z   createdAt DateTime @default(dbgenerated())
2020-08-16T11:46:22.4098885Z   id        Int      @id
2020-08-16T11:46:22.4099071Z   post      Int
2020-08-16T11:46:22.4099216Z   updatedAt DateTime @default(dbgenerated())
2020-08-16T11:46:22.4099386Z   User      User     @relation(fields: [author], references: [id])
2020-08-16T11:46:22.4099556Z   Post      Post     @relation(fields: [post], references: [id])
2020-08-16T11:46:22.4099684Z   Like      Like[]
2020-08-16T11:46:22.4099759Z 
2020-08-16T11:46:22.4099899Z   @@index([author], name: "Comment.author")
2020-08-16T11:46:22.4100204Z   @@index([post], name: "Comment.post")
2020-08-16T11:46:22.4100392Z }

@Jolg42 Jolg42 added bug/1-repro-available A reproduction exists and needs to be confirmed. kind/bug A reported bug. tech/typescript Issue for tech TypeScript. topic: cli labels Aug 19, 2020
@Jolg42 Jolg42 self-assigned this Aug 19, 2020
@Jolg42 Jolg42 added the process/candidate Candidate for next Milestone. label Aug 19, 2020
@albertoperdomo albertoperdomo added this to the Backlog 2.6.0 milestone Aug 19, 2020
@albertoperdomo albertoperdomo removed the process/candidate Candidate for next Milestone. label Aug 19, 2020
@Jolg42 Jolg42 modified the milestones: Backlog 2.6.0, Release 2.6.0 Aug 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug/1-repro-available A reproduction exists and needs to be confirmed. kind/bug A reported bug. tech/typescript Issue for tech TypeScript. topic: cli
Projects
None yet
Development

No branches or pull requests

3 participants