Skip to content

Implementing Database Schema

Amit Das edited this page Aug 14, 2023 · 3 revisions

To structure the database, a SQL script was created and executed. The script to create the schema is linked here. Below, is a visual representation and description of the implemented schema:

Entity-Relationship (ER) Diagram: Using MySQL Workbench 'Reverse Engineer' feature, I captured the designed schema of the database. This visual representation aligns closely with the initial plan, with the exception of a few variable types. Below is the embedded screenshot.

implemented_erd

Tabular View of the Implemented Schema: Beyond the visual diagram, a tabular breakdown of the schema was also captured. While there are numerous tables shown in this view, many of these tables served intermediary purposes, aiding in data cleaning and migration. However, the details of the 7 tables in the schema are provided by the screenshot below.

earthquake_erd

In summary, the database schema has been successfully implemented. The screenshots above provide an overview of the design and layout of the schema, aligning closely with my initial design objectives.

Clone this wiki locally