-
Notifications
You must be signed in to change notification settings - Fork 0
Database: Books Table
Fifteen 15 Studios edited this page Dec 30, 2021
·
8 revisions
Holds a list of books, or folders, that hold coins.
Each book can have multiple pages, and each page can have multiple slots. Examples of these are the Whitman books.
-
ID- BigInt(20) (UNSIGNED) (PRIMARY KEY) -
Title- VarChar(64) (NOT NULL) -
Denomination- Decimal(20,3) (UNSIGNED) (NOT NULL) -
StartYear- Int(10) (UNSIGNED) (NOT NULL) -
EndYear- Int(10) (UNSIGNED) (NOT NULL) -
ContainerID- BigInt(20) (UNSIGNED) (DEFAULT NULL)
-
ID- Unique identifier for this book -
Title- Tile of the book (e.g. Washington Quarts 1) -
Denomination- Face value of each coin inside the book -
StartYear- First year in the book -
EndYear- Last year in the book -
ContainerID- Unique identifier of the container that holds this book. Null if this book is not in a container.
Containers - Containers that can hold this book
BookPages - Pages in books.