Subversion-Projekte lars-tiefland.laravel_shop

Revision

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

Revision 148 Revision 399
Zeile 61... Zeile 61...
61
     */
61
     */
62
    public function nullOnDelete()
62
    public function nullOnDelete()
63
    {
63
    {
64
        return $this->onDelete('set null');
64
        return $this->onDelete('set null');
65
    }
65
    }
-
 
66
 
-
 
67
    /**
-
 
68
     * Indicate that deletes should have "no action".
-
 
69
     *
-
 
70
     * @return $this
-
 
71
     */
-
 
72
    public function noActionOnDelete()
-
 
73
    {
-
 
74
        return $this->onDelete('no action');
-
 
75
    }
66
}
76
}