Add initial Todo items and CalDAV sync

This commit is contained in:
2025-12-02 17:32:52 +01:00
parent 2e440edc61
commit a4466a9d2c
18 changed files with 1112 additions and 114 deletions
+20
View File
@@ -0,0 +1,20 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class TodoType extends Model
{
use HasFactory;
protected $fillable = ['name'];
public $timestamps = false;
public function todos()
{
return $this->hasMany(Todo::class, 'type_id');
}
}