-
Notifications
You must be signed in to change notification settings - Fork 0
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
adding course year to backend #225
Merged
Merged
Changes from 2 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
881d5c0
adding course year to backend
AWerbrouck 5317c3d
switcheroo
AWerbrouck a2aa954
Fixed db-breaking typo in populate_database.sql and removed duplicate…
arnedierick 92a4826
Merge branch 'development' of github.com:SELab-2/UGent-6 into feature…
AWerbrouck 0dfb5c4
Merge branch 'development' of github.com:SELab-2/UGent-6 into feature…
AWerbrouck 7d609e3
adding course years
AWerbrouck 746bbaa
adding course year
AWerbrouck c51cbb2
testing github actions
AWerbrouck 4a5c384
death to docker
AWerbrouck 469e454
Merge branch 'development' into feature/224-jaartallen
Aqua-sc 738303e
Add year to return body,change json parameter name
Aqua-sc ead08ae
Added year to `/courses` response
Aqua-sc c71e4cd
fixed tests
Aqua-sc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,12 +10,12 @@ INSERT INTO users (name, surname, email, azure_id, role) VALUES | |
('Charlie', 'Davis', '[email protected]', 'token_5', 'teacher'); | ||
|
||
-- Inserting into `courses` | ||
INSERT INTO courses (course_id,course_name, description) VALUES | ||
(1,'Math 101', 'Introduction to Mathematics'), | ||
(2,'Science 101', 'Basics of Scientific Method'), | ||
(3,'History 101', 'World History Overview'), | ||
(4,'Computer Science 101', 'Introduction to Computing'), | ||
(5,'English 101', 'English Literature'); | ||
INSERT INTO courses (course_id,course_name, description, coures_year) VALUES | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. typfout, ik pas het aan |
||
(1,'Math 101', 'Introduction to Mathematics',2023), | ||
(2,'Science 101', 'Basics of Scientific Method',2023), | ||
(3,'History 101', 'World History Overview',2023), | ||
(4,'Computer Science 101', 'Introduction to Computing',2023), | ||
(5,'English 101', 'English Literature',2023); | ||
|
||
-- Inserting into `course_users` | ||
-- Assume course_id and user_id start from 1 and match accordingly | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deze import lijkt overbodig