Update AEP05 Erweiterung Datenmodell authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
......@@ -2,6 +2,7 @@
| Datum | Beschreibung | Author | Status |
|--------|-------------------------|--------|--------|
| 2022-05-12 | Erstversion | David | Draft |
| 2022-06-27 | Sprint 1 Scope | Ernesto | Vorschlag |
## EPIC
......@@ -155,3 +156,52 @@ Topic.**children**
</tr>
</table>
## Vorschlag
### `Category`
- Das Feld `abbrev` wird nullable.
- Das Feld `parent` (nullable foreign key auf self) wird hinzugefügt
- Das Feld `subtitle` (nullable `TextField`) wird hinzigefügt.
### `CategoryLink`
Das Modell `CategoryLink` mit dem Feld `category` (foreign key auf `Category`) wird eingeführt.
### `Topic`
- Das Feld `abbrev` wird nullable.
- Das Feld `parent` (nullable foreign key auf self) wird hinzugefügt.
### `MusicFocus`
- Das Feld `abbrev` wird nullable.
### `Show`
- Das Feld `abbrev` wird nullable.
- Das Feld `image_credits` (nullable `TextField`) wird hinzugefügt.
- Das Feld `parent` (foreign key auf self) wird hinzugefügt.
- Das Feld `website` wird entfernt.
- Das Feld `notes` (nullable `TextField`) wird hinzugefügt.
- Das Feld `created_at` (`DateTimeField`) wird hinzugefügt.
- Das Feld `created_by` (foreign key auf `User`) wird hinzugefügt.
- Das Feld `last_updated_at` (`DateTimeField`) wird hinzugefügt.
- Das Feld `last_updated_by` (foreign key auf `User`) wird hinzugefügt.
### `ModerationNotes`
Das Modell `ModerationMotes` mit den Feldern
- `timeslot` (foreign key auf `Timeslot`), und
- `note` (nullable `TextField`)
wird hinzugefügt.
### `Host`
- Das Feld `image_credits` (nullable `TextField`) wird hinzugefügt.
### `Note`
- Das Feld `image_credits` (nullable `TextField`) wird hinzugefügt.
- Das Feld `extra_hosts` (many-to-many auf `Host`) wird hinzugefügt.