In database terminology primary key refers to the column in a table that's intended to be the primary way of identifying rows. Each table must have exactly one, and it needs to be unique. This is usually some kind of a unique identifier associated with objects presented by the table, or if such an identifier doesn't exist simply a running ID number (which is incremented automatically).
Deadline 2: Database¶
For this deadline you need to present your database design and code. The design must be filled into the project wiki in your repository, in appropriate page. In addition you need to have the database implementation in your project repository.
Evaluation Criteria¶
| points | details | ||
|---|---|---|---|
| 1. Database Design | 2.0 | ||
![]() |
Database Tables | 1.0 | Each database table is included here. For each database column, all relevant fields are filled correctly. Good choices have been made regarding types and restrictions. |
![]() |
Database Diagram | 1.0 | Diagram exists, and contains all tables. For each table, all relations are shown in the diagram, and their type is clear. |
| 2. Database Models | 2.0 | ||
![]() |
Models Match Design | 1.0 | All models are included in the implementation, and they match the tables in the project wiki. This includes using correct column types, and setting restrictions where needed (even though SQLite might not support them). |
![]() |
Relationships | 1.0 | Relationships are set correctly for each model, and mach the foreign key relations shown in the diagram. ONDELETE behavior has been set explicitly for each relation, and is implemented correctly. |
| 3. Readme | 1.0 | ||
![]() |
Dependency Information | 0.5 | The readme file contains list of project dependencies or a requirements file is provided. It also indicates which database is used and/or list of supported databases. |
![]() |
Instructions | 0.5 | The readme contains instructions about how to setup the database, and how to populate it to see that instances of all models can be created. You can provide a setup + population script file instead of writing instructions (just instruct the reader how to run it). |
Return Box¶
To submit your deliverable, simply paste the URL of the project repository or the deadline 2 wiki page into the box below.
Hints
Messages
