Код: Выделить всё
SQLSTATE[HY000]: General error: 3780 Referencing column 'local_id' and referenced column 'id' in foreign key constraint 'fk_name' are incompatible.
Код: Выделить всё
SET FOREIGN_KEY_CHECKS=0;
Подробнее здесь: https://stackoverflow.com/questions/795 ... temporarly
Мобильная версия