Skip to content

Playing with the database

Francis edited this page Apr 27, 2022 · 8 revisions

Database migrations

A gradle task is available for all migrations. Make sure you have set up a working database first. For that, see getting started

Exporting the database

To create a dump that can be quickly restored use the following command:

pg_dump -U telraam_user -d telraam_dev --inserts --rows-per-insert=2000 -Ft -f dump.sql
Clone this wiki locally