added nicer overview and delete function

This commit is contained in:
2023-10-26 17:50:54 +02:00
parent 0f13bdea27
commit ddf13b2413
8 changed files with 81 additions and 23 deletions

View File

@ -12,8 +12,8 @@ class Dog extends Model
'size' => ['type' => 'text'], //in cm
'birthday' => ['type' => 'text'],
'agility_size' => ['type' => 'text'], //S,M,I,L
'photo' => ['type' => 'text'],
'active' => ['type' => 'int', 'default' => 1]
'photo' => ['type' => 'text', 'default' => 'https://pictshare.net/1ch3e5.png'],
'active' => ['type' => 'bool', 'default' => 1]
);
function isMyDog($dog = false)