You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Sorry for my bad English)
I've tried to define a one to one relationship and although it works if I use sqlite it doesn't work if I use MariaDB, this code throws an Uncaught error at db.sync()
error: Uncaught Error: can't create tablet `x`.`plan` (errno: 150 "Foreign key constraint is incorrectly formed")
throw new Error(error.message);
at Connection.nextPacket (connection.ts:97:17)
at async Connection.execute(connection.ts:162:19)
at async client.ts:101:14
at async Client.useConnection(client.ts:111:22)
at async Client.execute(client.ts:100:12)
at async MySQLConnector.query(mysql-connector.ts:57:22)
at async Database.query(database.ts:154:21)
at async Function.createTable(model.ts:120:5)
at async Database.sync(database.ts:124:7)
I also checked the error #76 and it's not the same
(Sorry for my bad English)
I've tried to define a one to one relationship and although it works if I use sqlite it doesn't work if I use MariaDB, this code throws an Uncaught error at db.sync()
The text was updated successfully, but these errors were encountered: