mirror of
https://github.com/dalers/mywind.git
synced 2025-12-08 14:58:49 +00:00
clarifications
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
## MyWind
|
||||
|
||||
MyWind - MySQL version of MS Northwind 2010 database (MS Access)
|
||||
MySQL version of Microsoft Access 2010 Northwind sample database.
|
||||
|
||||
The Northwind database is an excellent tutorial schema for a
|
||||
small-business ERP, with customers, orders, inventory, purchasing,
|
||||
suppliers, shipping, employees, and single-entry accounting. However,
|
||||
I wanted to experiment with the schema using [MySQL](http://www.mysql.com).
|
||||
|
||||
The Northwind demo database provided with Microsoft Access is an excellent schema for a small-business ERP, with customers, orders, inventory, purchasing, suppliers, shipping, employees, and single-entry accounting. I wanted to experiment with the schema using [MySQL](http://www.mysql.com) and the [Yii Framework](http://www.yiiframework.com).
|
||||
|
||||
## Files
|
||||
|
||||
@@ -13,20 +17,20 @@ The Northwind demo database provided with Microsoft Access is an excellent schem
|
||||
* northwind-erd.png
|
||||
* Structure:
|
||||
* northwind.sql
|
||||
* northwind-default-current-timestamp (row create/modify columns are DEFAULT CURRENT TIMESTAMP, requires MySQL 5.6.5+)
|
||||
* northwind-default-current-timestamp.sql (uses DEFAULT CURRENT TIMESTAMP, requires MySQL 5.6.5+)
|
||||
* Data:
|
||||
* northwind-data.sql
|
||||
|
||||
## Creating MyWind
|
||||
|
||||
* Create Northwind.aacdb using MS Access 2010 (File > New > Sample Templates > Northwind > SaveAs)
|
||||
* Convert Northwind.accdb to MySQL SQL using BullZip ["Access to MySQL"](http://www.bullzip.com).[1]
|
||||
* Created Northwind.aacdb using MS Access 2010 (File > New > Sample Templates > Northwind > SaveAs)
|
||||
* Converted Northwind.accdb to MySQL SQL using BullZip ["Access to MySQL"](http://www.bullzip.com).[1]
|
||||
* Converted CamelCase identifiers to lower_case_with_underscore
|
||||
* Replace space and slash characters in identifiers with _underscores_
|
||||
* Rename primary key columns "id"
|
||||
* Rename foreign key columns "xxx_id" (e.g. "inventory_id")
|
||||
* Change record create and modified date columns to type DATETIME to avoid TIMESTAMP range (1997 - 2038 UTC) and other limitations
|
||||
* Add foreign key relationships and create EER diagram using MySQL Workbench
|
||||
* Replaced space and slash characters in identifiers with _underscores_
|
||||
* Renamed primary key columns "id"
|
||||
* Renamed foreign key columns "xxx_id" (e.g. "inventory_id")
|
||||
* Changed record create and modified date columns to type DATETIME to avoid TIMESTAMP range (1997 - 2038 UTC) and other limitations
|
||||
* Added foreign key relationships and created EER diagrams using MySQL Workbench
|
||||
|
||||
----
|
||||
[1]: BullZip *Access to MySQL* version 5.1.242. *Access to MySQL* "...may be used free of charge for non-commercial purposes.", http://www.bullzip.com, accessed 2014-01-08.
|
||||
|
||||
Reference in New Issue
Block a user