Skip to content Skip to sidebar Skip to footer

Table X Has No Column Named Y - Sqlalchemy

I am using SQLAlchemy library in python for mapping my database. I have created a file contains my database and it runs without problems. But when I create a new row specifying my

Solution 1:

I figured it out, I created a database firstly without the description column but when I added it and ran the python file again, it did not update the file to add the column (Which I don't know why) so, I had to remove the .db file and run the python file to recreate the database and it worked out.


Post a Comment for "Table X Has No Column Named Y - Sqlalchemy"