You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New to python in general, so please excuse it if I'm doing something wrong, but I cannot figure out why create_tables([Task]) does not create the fields that I provided for the Task class.
All that is created from this in the SQLite db is the id column:
When debugging into create_tables(), it appears that the model is missing some fields (title, description, isDone) while others (createdAt, changedAt) are present, but not created in the DB.
Is there anything I'm doing wrong? Your help would be greatly appreciated!
The text was updated successfully, but these errors were encountered:
Hi there!
New to python in general, so please excuse it if I'm doing something wrong, but I cannot figure out why
create_tables([Task])
does not create the fields that I provided for theTask
class.All that is created from this in the SQLite db is the id column:
When debugging into
create_tables()
, it appears that the model is missing some fields (title, description, isDone) while others (createdAt, changedAt) are present, but not created in the DB.Is there anything I'm doing wrong? Your help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: