@@ -8,4 +8,9 @@ use Illuminate\Database\Eloquent\Model;
class Invite extends Model
{
use HasFactory;
+ protected $primaryKey = 'id';
+ protected $casts = [
+ 'id' => 'string'
+ ];
+ protected $fillable = ['email', 'id'];
}