Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 1437 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1437 Revision 1438
Zeile 18... Zeile 18...
18
         */
18
         */
19
        protected $connection = 'order';
19
        protected $connection = 'order';
Zeile 20... Zeile 20...
20
 
20
 
21
        public function item(): BelongsTo
21
        public function item(): BelongsTo
22
        {
22
        {
23
            return $this->belongsTo( Item::class, 'order_item_id' );
23
            return $this->belongsTo( Item::class, 'item_id' );
24
        }
24
        }