| SchemaSpy Analysis of library - ColumnsA simple schema to show how SchemaSpy works. Use -desc to specify your own description. | Generated by SchemaSpy |
| Generated by SchemaSpy on Mon Oct 30 19:58 MST 2006 |
| ||||||
library contains 36 columns - click on heading to sort:
| Column | Table | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| address | borrower | int | 11 | √ | null |
|
|||||||||
| address | library_branch | int | 11 |
|
|||||||||||
| address | publisher | int | 11 | √ | null |
|
|||||||||
| address1 | address | varchar | 50 | Address line 1 | |||||||||||
| address2 | address | varchar | 50 | √ | null | Address line 2 (optional) | |||||||||
| addressId | address | int | 11 | √ |
|
||||||||||
| authorId | author | int | 11 | √ |
|
||||||||||
| authorId | book_author | int | 11 | 0 |
|
FK intentionally omitted to show an implied relationship | |||||||||
| borrowDate | borrowed_book | date | 10 | ||||||||||||
| branchId | book_location | int | 11 |
|
|||||||||||
| branchId | borrowed_book | int | 11 |
|
|||||||||||
| branchId | library_branch | int | 11 | √ |
|
||||||||||
| cardNo | borrowed_book | int | 11 |
|
|||||||||||
| cardNo | borrower | int | 11 | √ |
|
||||||||||
| city | address | varchar | 30 | ||||||||||||
| dueDate | borrowed_book | date | 10 | ||||||||||||
| firstName | author | varchar | 32 | ||||||||||||
| firstName | borrower | varchar | 32 | ||||||||||||
| isbn | book | bigint | 20 | 0 |
|
||||||||||
| isbn | book_author | bigint | 20 | 0 |
|
||||||||||
| isbn | book_location | bigint | 20 | 0 |
|
||||||||||
| isbn | borrowed_book | bigint | 20 | 0 |
|
||||||||||
| lastName | author | varchar | 32 | ||||||||||||
| lastName | borrower | varchar | 32 | ||||||||||||
| middleName | author | varchar | 32 | √ | null | ||||||||||
| middleName | borrower | varchar | 32 | √ | null | ||||||||||
| name | library_branch | varchar | 64 | ||||||||||||
| name | publisher | varchar | 64 | ||||||||||||
| numCopies | book_location | int | 11 | ||||||||||||
| phone | borrower | varchar | 16 | √ | null | ||||||||||
| phone | publisher | varchar | 16 | √ | null | ||||||||||
| publisherId | book | int | 11 | √ |
|
||||||||||
| publisherId | publisher | int | 11 | √ |
|
||||||||||
| state | address | char | 2 | ||||||||||||
| title | book | varchar | 64 | ||||||||||||
| zip | address | varchar | 10 | Dash req'd for zip+4 |