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
Pull Request Title: The title should start with a correct ClickUp ticket ID. Consider changing:
Current: Feature/86ey8tnah hospital management system
Suggested: 86ey8tnah: Hospital Management System
Pull Request Description: The description should better reflect the changes in this PR, potentially include details about tables and data added.
Indentation Consistency: The SQL files use a mix of tabs and spaces. Ensure all lines are indented consistently with 4 spaces.
Unnecessary Blank Lines:
In hospitalDDL.sql, there are unnecessary blank lines after each CREATE TABLE statement:
Example: Lines 9, 14, 18, 27, etc. Remove these lines for a cleaner format.
Logical Errors/Improvements:
In sample_data.sql, consider adding constraints if applicable; for example, set appropriate statuses based on valid states.
In hospitalDDL.sql, for the STATUS fields, consider using enumerated types to avoid future state conflicts (i.e., define acceptable states).
Check for Consistency in Column Types: For columns like EMAIL, ensure they use a consistent format or a regex pattern to validate email addresses on insertion.
Considerations for Foreign Keys: In hospitalDDL.sql, foreign key constraints should match respective tables (e.g., DOCTORS should match the DEPARTMENTS table based on DEPARTMENT_ID).
Default Values Logical Check: Ensure default values, like for dates (CREATED_AT), are appropriate for your business logic.
This feedback is aimed at improving clarity, consistency, and functionality while maintaining best practices in database design.
This file contains hidden or 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.
Hospital Management System using Oracle APEX for Al Noor Hospital