James
05/06/2021, 3:07 AMManish
05/06/2021, 12:16 PMJoey
05/07/2021, 1:44 PMMichael Aubry
05/07/2021, 8:54 PMmanuel
05/08/2021, 11:35 AMgustav
05/08/2021, 12:51 PMType: PrismaClientKnownRequestError
Message: The records for relation `MembershipToUser` between the `Membership` and `User` models are not connected.
Code: P2017
Query:
prisma.membership.update(
{
where: {
id: 1,
},
data: {
user: {
connect: [
{
id: 1,
},
],
disconnect: [
],
},
},
select: {
id: true,
user: true,
},
}
)
gustav
05/08/2021, 12:57 PMTharshan
05/08/2021, 6:35 PMError occurred during query execution:
ConnectorError(ConnectorError { user_facing_error: None, kind: QueryError(Error { kind: Db, cause: Some(DbError { severity: "ERROR", parsed_severity: Some(Error), code: SqlState("55000"), message: "cannot delete from table \"_ChangelogEntryToRoadmapItem\" because it does not have a replica identity and publishes deletes", detail: None, hint: Some("To enable deleting from the table, set REPLICA IDENTITY using ALTER TABLE."), position: None, where_: Some("SQL statement \"DELETE FROM ONLY \"public\".\"_ChangelogEntryToRoadmapItem\" WHERE $1 OPERATOR(pg_catalog.=) \"B\"\""), schema: None, table: None, column: None, datatype: None, constraint: None, file: Some("execReplication.c"), line: Some(583), routine: Some("CheckCmdReplicaIdentity") }) }) })
gustav
05/08/2021, 9:00 PMxyphyk
05/09/2021, 4:01 AMprisma migrate dev
i get:
Error: Prisma Migrate has detected that the environment is non-interactive, which is not supported.
xyphyk
05/09/2021, 4:01 AMxyphyk
05/09/2021, 4:13 AMNatalia
Julien Goux
05/10/2021, 1:37 PMJulien Goux
05/10/2021, 1:37 PMJulien Goux
05/10/2021, 1:41 PMJulien Goux
05/10/2021, 1:42 PMcreate: [{ title: 'How to make an omelette' }, { title: 'How to eat an omelette' }],
will be of type any[] and autocompletion won’t be available when typing each objects inside the arrayJulien Goux
05/10/2021, 1:42 PMLars Ivar Igesund
05/10/2021, 1:59 PMJulien Goux
05/10/2021, 2:00 PMsampoder
05/10/2021, 2:22 PMPanagiotis Kalogeropoulos
05/10/2021, 3:46 PM?connect_timeout=30&pool_timeout=30&socket_timeout=30
), but it does not look like it is acknowledging those arguments as I get the error P1001 within 5 seconds of Prisma saying that it is accessing the DB to introspect it. The entire database URL (of course with redacted info) is <mysql://user:pass@ip:3306/Database?connect_timeout=30&pool_timeout=30&socket_timeout=30>
. Thanks for anyone reading this and thanks in advance for any help 🙏gustav
05/10/2021, 6:37 PM@id @default(autoincrement())
field?Robin
05/10/2021, 7:37 PMRobin
05/10/2021, 7:37 PMwhere: { id: [1,2,3] }
failsRobin
05/10/2021, 7:38 PMRobin
05/10/2021, 7:40 PMManthan Mallikarjun
05/11/2021, 8:03 AM