{"id":15002425,"url":"https://github.com/kaddyp/db_design_course","last_synced_at":"2026-02-03T18:34:34.517Z","repository":{"id":249808943,"uuid":"832620492","full_name":"Kaddyp/db_design_course","owner":"Kaddyp","description":"DB Design for ecommerce platform","archived":false,"fork":false,"pushed_at":"2024-07-23T11:47:32.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T04:14:09.757Z","etag":null,"topics":["mysql","mysql2","sql","sql-injection","sql-server","sqlquery"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kaddyp.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-23T11:41:51.000Z","updated_at":"2024-07-23T11:47:35.000Z","dependencies_parsed_at":"2024-07-23T13:53:19.270Z","dependency_job_id":"94755aed-7a63-4f05-be84-f330cd3518dc","html_url":"https://github.com/Kaddyp/db_design_course","commit_stats":null,"previous_names":["kaddyp/db_design_course"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kaddyp/db_design_course","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaddyp%2Fdb_design_course","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaddyp%2Fdb_design_course/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaddyp%2Fdb_design_course/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaddyp%2Fdb_design_course/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kaddyp","download_url":"https://codeload.github.com/Kaddyp/db_design_course/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kaddyp%2Fdb_design_course/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263715096,"owners_count":23500238,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mysql","mysql2","sql","sql-injection","sql-server","sqlquery"],"created_at":"2024-09-24T18:50:13.135Z","updated_at":"2026-02-03T18:34:34.483Z","avatar_url":"https://github.com/Kaddyp.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Designing a database for courses with categories involves creating tables that can efficiently store information about courses and their associated categories. Below is a basic design with essential tables and their relationships:\n\nTables\n    Category\n    Course\n    CourseCategory (junction table for many-to-many relationship between Course and Category)\nTable Definitions\nCategory Table\n`    category_id (Primary Key)\n    name (Category name)\n    description (Category description)`\nCourse Table\n    course_id (Primary Key)\n    title (Course title)\n    description (Course description)\n    start_date (Course start date)\n    end_date (Course end date)\n    instructor (Course instructor name)\nCourseCategory Table\n    course_id (Foreign Key referencing Course)\n    category_id (Foreign Key referencing Category)\nRelationships\n    A Course can belong to multiple Categories.\n    A Category can have multiple Courses.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaddyp%2Fdb_design_course","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaddyp%2Fdb_design_course","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaddyp%2Fdb_design_course/lists"}