https://cerbos.dev logo
#help
Title
# help
b

Ben Hall

06/13/2023, 12:25 PM
Hey, has there been a change made so that when cerbos spins up, it doesn't automatically make the schema / tables? recently it was creating it when it first span up, but now I just get a bunch of errors about table missing
a

Alex Olivier (Cerbos)

06/13/2023, 12:27 PM
Hey
v0.27 included an update which verifies that tables exist https://github.com/cerbos/cerbos/commit/b20c1828f9b8e3a4a625f50166e36e67170c4689 The tables and other database objects are not created automatically by the Cerbos. You must create the required tables using the provided script before configuring Cerbos to connect to the database.
b

Ben Hall

06/13/2023, 12:29 PM
has this, in turn, also disabled it from auto creating them?
a

Alex Olivier (Cerbos)

06/13/2023, 12:30 PM
Which driver are you using?
b

Ben Hall

06/13/2023, 12:30 PM
Postgres
a

Alex Olivier (Cerbos)

06/13/2023, 12:32 PM
The tables aren't created for Postgres (only SQLLite) https://docs.cerbos.dev/cerbos/latest/configuration/storage.html#postgres
Hey @Ben Hall did you get up and running?
b

Ben Hall

06/16/2023, 6:33 AM
Hey @Alex Olivier (Cerbos), yeah I did thanks!
a

Alex Olivier (Cerbos)

06/16/2023, 6:54 AM
What’s your use case for using the admin api