Closed XpycTee closed 2 years ago
Did you try both python2 and python3?
Did you try both python2 and python3?
No, I tried it only on Python3, it seems to me that it should work in python 2, because the change is the same for both versions. I added one string variable reffs, replaced the ftype variable with reffs in the place where foreign keys are written and added reffs to the end where fields are formed
Fixed the syntax error that SQLite throws when the foreign key declaration was inserted immediately after the column declaration. Issue: #314
I moved the declaration of foreign keys to the end of the command.
I'm not sure it won't break anything, but now I have no problems with this in my project.