Events insertion in DB

Gantz7 years ago

Hello, i have a little problem
i need to find where does the server insert events in the database in the new traccar 3.15 (i found it in 3.11 in DataManager but it change)
some one knows where the server does this???

Thanks in advance.

Anton Tananaev7 years ago

No, it hasn't changed. It's still in the DataManager class.

Gantz7 years ago

can you guide me a little bit in wich function does the insertion ocurs plz, im a bit lost and the "database.insert..." structure disapear, Thanks!!

Anton Tananaev7 years ago

Queries and keys are now automatically generated, but you can still override them in the config.

Gantz7 years ago

perfect Anton Thank you very much!!!

Sasa Ahlan6 years ago

Hello Anton,
I need to add custom field in tc_positions table to identify vehicle number because the devices are sometime interchangeably.
Which coding should I need to modify?
Thanks