How to disable dumping in production?

Hi everyone

I have a problem. When I run the command:

hanami db create 

I get error

pg_dump: error: aborting because of server version mismatch

pg_dump: detail: server version: 16.4 (Ubuntu 16.4-1.pgdg20.04+2); pg_dump version: 15.10 (Debian 15.10-0+deb12u1)

!!! => "my_base structure dumped to config/db/structure.sql" FAILED

=> my_base migrated in 0.0809s

How can I disable dumping?

Oh sorry. I’ve found out how to do it

hanami db migrate --no-dump
1 Like