{"id":15657448,"url":"https://github.com/mrin9/northwind","last_synced_at":"2026-02-01T11:31:31.887Z","repository":{"id":97810492,"uuid":"85273643","full_name":"mrin9/northwind","owner":"mrin9","description":"Database agnostic DB Script to create Northwind Data Model with some sample data","archived":false,"fork":false,"pushed_at":"2017-03-17T16:06:29.000Z","size":1118,"stargazers_count":30,"open_issues_count":1,"forks_count":42,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-15T20:06:44.562Z","etag":null,"topics":["dataset","northwind","northwind-database","northwind-schema","sample-data","schema","sql"],"latest_commit_sha":null,"homepage":null,"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/mrin9.png","metadata":{"files":{"readme":"Readme.md","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}},"created_at":"2017-03-17T05:19:14.000Z","updated_at":"2025-03-17T04:28:49.000Z","dependencies_parsed_at":"2024-02-01T16:28:03.859Z","dependency_job_id":"3571181c-a835-48a9-923b-edf58dab5bc1","html_url":"https://github.com/mrin9/northwind","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mrin9/northwind","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrin9%2Fnorthwind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrin9%2Fnorthwind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrin9%2Fnorthwind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrin9%2Fnorthwind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrin9","download_url":"https://codeload.github.com/mrin9/northwind/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrin9%2Fnorthwind/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28977318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T11:31:13.034Z","status":"ssl_error","status_checked_at":"2026-02-01T11:30:25.558Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["dataset","northwind","northwind-database","northwind-schema","sample-data","schema","sql"],"created_at":"2024-10-03T13:07:08.032Z","updated_at":"2026-02-01T11:31:31.872Z","avatar_url":"https://github.com/mrin9.png","language":null,"readme":"# Basic SQL equivalent of Northwind schema \nThe Northwind database from Microsoft has a nice and simple schema that deals with \nwith customers, orders, inventory, purchasing, suppliers, shipping, employees, and single-entry accounting.\n\u003cbr/\u003e\nThis project is an attempt to create database agnostic srcript so that it can be reused in various other databases\n\n## Naming Convention used \n* Field names are in `snake_case` instead of `CamelCase`. \n    * To facilitate some ORM frameworks (Hibernate/Spring Data) which uses field names to generate Java method names\n    * Some databases and OS combination ignore case in field names therefore CamelCase dont make much sense\n* primary keys named `id`.\n* foreign keys constrained named as `fk_table_name__reference_table_name`.\n* All the column data types are valid with most databases\n\n## Two Datasets\n* Northwind Small    (Few tables more data in each tables)\n* Northwind Extended (More Tables, More references, Less data per table)\n\n\n## Files\n* **Northwind Small**\n    * schema.sql - DDL Statements (Table creation \u0026 Foreign Key definations)\n    * data.sql   - Insert statements to populate with sample data\n\n* **Northwind Extended**\n    * schema_extended.sql - DDL Statements (Table creation \u0026 Foreign Key definations)\n    * data_extended.sql   - Insert statements to populate with sample data\n\n\n* NorthwindModel_MySQLWorkbench.mwb - This File can be opened with MySQLWorkbench, you may use it to generate schema script or \nmodel diagram\n\n## Schema Diagram\n### Northwind Small\n![Northwind Schema](/NorthwindModel_Small.png?raw=true)\n\n### Northwind Extended\n![Northwind Schema](/NorthwindModel_Extended.png?raw=true)\n","funding_links":[],"categories":["Others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrin9%2Fnorthwind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrin9%2Fnorthwind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrin9%2Fnorthwind/lists"}