Skip to content

Commit

Permalink
fix: added sem field in init sql
Browse files Browse the repository at this point in the history
  • Loading branch information
harshkhandeparkar committed Jan 14, 2025
1 parent 5a245ef commit 3b4588a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/src/db/queries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ CREATE TABLE IF NOT EXISTS iqps (
course_code TEXT NOT NULL DEFAULT '',
course_name TEXT NOT NULL,
year INTEGER NOT NULL,
exam TEXT,
exam TEXT NOT NULL DEFAULT '',
semester TEXT NOT NULL DEFAULT '',
filelink TEXT NOT NULL,
from_library BOOLEAN DEFAULT FALSE,
upload_timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
Expand Down

0 comments on commit 3b4588a

Please sign in to comment.