python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Laravel Migration Error Foreign key constraint is incorrectly formed
This is the error showing every time.
Illuminate\Database\QueryException
SQLSTATE[HY000]: General error: 1005 Can't create table `codehacking`.`posts` (errno: 150 "Foreign key constraint i...
Md. Imrul Kayes
Votes: 0
Answers: 2
MySQL DELETE from two tables does not delete all records
innodb_version: 10.3.34
version: 10.3.34-MariaDB-0ubuntu0.20.04.1
Simple query:
DELETE `anode`, `adevice`
FROM `adevice`
JOIN `adevice_node`
ON `adevice_node`.`device` = `adevice`.`id`
JOIN `anode...
Avorthoren
Votes: 0
Answers: 0
How can I CASCADE ON DELETE with a Recursive Relationships with MySQL
I've this code:
CREATE TABLE Employee (idEmployee int PRIMARY KEY, nane varchar(100));
CREATE TABLE Friend (idFriendA integer, idFriendB integer,
FOREIGN KEY (idFriendA) REFERENC...
Arzack1112
Votes: 0
Answers: 2
Having trouble with cv2 cascade
Here's my code:
import cv2 as c
face_cascade = c.CascadeClassifier(r"haracascade_frontalface.xml")
img = c.imread(r"D:\cODE\Python_Only\CV2\Files\photo.jpg" )
grey_image = c.cvtC...
Yatharth Saini 9A
Votes: 0
Answers: 1