Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Fix & Enhancement] Fixed sqlite3.OperationalError: no such table: timetable + update/delete timetable #32

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

shravanasati
Copy link

@shravanasati shravanasati commented Jan 3, 2021

tags: resolves #5 , resolves #6 , resolves #28

Fixed sqlite3.OperationalError: no such table: timetable
I've fixed the sqlite3.OperationalError: no such table: timetable error. The problem was that the createDB function was called only when there was no timetable.db in the working directory, and not if the table was created in the timetable.db file. So now the createDB is called everytime when the program starts, and it creates a table timetable in the file timetable.db only when there is no such timetable.

@shravanasati
Copy link
Author

tags: resolves #16

Added functions to update and delete timetable
The user is now able to update timetable as well as delete timetable by inputting the class name he/she wants to update or delete.

@shravanasati shravanasati changed the title [Bug Fix] Fixed sqlite3.OperationalError: no such table: timetable [Bug Fix] Fixed sqlite3.OperationalError: no such table: timetable + update/delete timetable Jan 5, 2021
@shravanasati shravanasati changed the title [Bug Fix] Fixed sqlite3.OperationalError: no such table: timetable + update/delete timetable [Bug Fix & Enhancement] Fixed sqlite3.OperationalError: no such table: timetable + update/delete timetable Jan 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Doesn't working sqlite3.OperationalError: no such table: timetable It isn't working bro
1 participant