Closed dshovchko closed 7 years ago
Useful improvements but while using the time limit, isnt it better to set it 0?
Really, somehow did not think about it. I have corrected
@dshovchko Maybe changing to UTF8 wasn't a good idea, truncating tables are not working anymore. Unless u can fix it, feel free to commit again. (Or isn't it due the charset? It worked before ..)
Cannot truncate a table referenced in a foreign key constraint (
flar_recipients, CONSTRAINT
recipients_discussion_id_foreignFOREIGN KEY (
discussion_id) REFERENCES .
flar_discussions(
id))
For now i found
$flarum_db->query("SET FOREIGN_KEY_CHECKS=0;");
Also some slugs are empty.
It's strange. It works for me perfectly.
I think, it's not because of UTF8. Try to clear the base and perform migration again.
PS. Perhaps, you didn't truncate all necessary tables.
In my DB isn't such table "recipients"!
Ah! Yeah indeed, I wanted to test and installed this private discussions extension, that created this table. In case i could migrate private messages into these private discussions. Discarded all my edits, restarted from this git and works now (: