Traccar adapt schema in postgresql

Kevin Goos7 years ago

Hello I am using traccar on one of my servers, but I have the question, is it possible to change the default public schema?
So that it will create in like a traccar schema for example, because there is no config option for this.

<entry key='database.driver'>org.postgresql.Driver</entry>
<entry key='database.url'>jdbc:postgresql://127.0.0.1:5432/[DATABASE]</entry>
<entry key='database.user'>[USER]</entry>
<entry key='database.password'>[PASSWORD]</entry>
Anton Tananaev7 years ago

You can use additional parameters in the database URL:

https://jdbc.postgresql.org/documentation/head/connect.html