-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
schools/mit: allow manually adding classes to your registration
for example, if you are a TA for a class and therefore aren't registered in it even though you need to attend lectures
- Loading branch information
1 parent
e6af0e3
commit 83de93c
Showing
4 changed files
with
122 additions
and
4 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
migrations/1694698547_allow_adding_custom_classes_to_mit_registration_down.sql
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-- Description: Allow adding custom classes to MIT registration | ||
-- Down migration | ||
|
||
ALTER TABLE `mit_classes` | ||
DROP `custom`; |
5 changes: 5 additions & 0 deletions
5
migrations/1694698547_allow_adding_custom_classes_to_mit_registration_up.sql
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-- Description: Allow adding custom classes to MIT registration | ||
-- Up migration | ||
|
||
ALTER TABLE `mit_classes` | ||
ADD `custom` tinyint(1) NOT NULL AFTER `sections`; |
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