Pycharm mysql database error report

when pycharm writes models, there is always something wrong with foreign keys, so I delete one of the tables in the mysql database, and then delete the related class in models, and then there are errors such as
1146, "Table "vc_system.df_coinvestors_coinvestor" doesn"t exist".
the first thing I delete is the attribute. The error message is
(1091, "Can"t DROP "VC2"; check that column/key exists"), but even if VC2 is added, it will still report an error

.

how to solve this problem by asking the great god? Graduation thesis, urgent!

Mar.07,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4d8b0-65558.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4d8b0-65558.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?