Seem to have an error when performing php flarum migrate on one of my forums
In Connection.php line 664:
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (
guruwall_discuss.
#sql-1b37f_2171b, CONSTRAINT
post_votes_post_id_foreignFOREIGN KEY (
post_id) REFERENCES
posts(
id) ON DELETE CASCADE) (SQL: alter table
post_votesadd constraint
post_votes_post_id_foreignforeign key (
post_id) references
posts(
id) on delete cascade)
In PDOStatement.php line 119:
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (
guruwall_discuss.
#sql-1b37f_2171b, CONSTRAINT
post_votes_post_id_foreignFOREIGN KEY (
post_id) REFERENCES
posts(
id) ON DELETE CASCADE)
In PDOStatement.php line 117:
SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (
guruwall_discuss.
#sql-1b37f_2171b, CONSTRAINT
post_votes_post_id_foreignFOREIGN KEY (
post_id) REFERENCES
posts(
id) ON DELETE CASCADE)
Any ideas ?
Thanks