Modify ↓
Opened 11 years ago
Last modified 8 years ago
#456 new Bug/Fehler
customers_basket mit "falschem Datentyp" für products_id
| Reported by: | Volker Strähle | Owned by: | somebody |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Shop | Version: | 2.0.1.0 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description
Ich zitiere mal das Wiki/Datanbank-Referenz für Tabelle customers_basket:
products_id: Da dieses Feld eigentlich den Primärschlüssel von products.products_id referenzieren soll, sollte der Datentyp wie products.products_id sein.
Das ist notwendig für:
- spätere mögliche Umstellung von MyISAM Tabellentyp auf Tabellentypen, die echte Referenzen zwischen Datenbanktabellen erlauben. (InnoDB) Dies ermöglicht z.B. mit einem Produkt in products zusammenhängende Daten zu entfernen/zu ändern, ohne dass das extra programmiert werden muss.
Attachments (0)
Change History (2)
comment:1 by , 11 years ago
| Milestone: | modified-shop-2.00 → modified-shop-2.10 |
|---|---|
| Version: | 2.0 → 2.10 |
comment:2 by , 8 years ago
| Milestone: | modified-shop-2.1.0.0 |
|---|
Note:
See TracTickets
for help on using tickets.

products_id im Warenkorb enthält die ID inkl. den Attributen
Beispiel:
products_id = 1{1}2
Deshalb kann man das nicht so einfach ändern.
Verschoben nach 2.10