Tomasz-Kluczkowski/factory-simulator

Create new DB entities

Tomasz-Kluczkowski opened this issue · 0 comments

We will most likely have only one factory config and one result per simulation but who knows. For now use foreign keys.

Table: simulation
id: int
factory_config_id: FK
result_id: FK
name: str
description: str
start: date
stop: date

Table: result
id: int
simulation_id: FK
efficiency: float