added Orte-Table

This commit is contained in:
chrosey
2017-07-08 10:26:50 +02:00
parent 8b98db74a2
commit 8cfa2762db
9 changed files with 109 additions and 3557 deletions
+4 -1
View File
@@ -7,7 +7,10 @@ use Illuminate\Database\Eloquent\Model;
class Eintragung extends Model
{
protected $table = "eintragungen";
protected $dates = ['kann_ab', 'kann_bis'];
protected $dates = ['kann_ab', 'kann_bis', 'created_at', 'updated_at'];
protected $casts = [
'nicht_unbedingt' => 'boolean',
];
public function veranstaltung(){
return $this->belongsTo('App\Veranstaltung');