DDL scripts as of 2022

Hello,
I want to use Axon without the Server and was wondering what’s the correct way of initialising the event store based on Postgres. I’ve found an old topic DDL scripts but cannot reply there and it’s from 2017.

If I’d leave jpa.hibernate.ddl-auto in any state other than ‘none’ in production environment my team leader would kill me.

How do I proceed?

Hi @JustinBloom,

The closest to what you are looking for is probably this

Other than that, checking inside the AxonFramework code for entities and how they are generated is an option. Also exporting a DDL from a local/dev database is another option.

But no ‘official’ DDL out there AFAIK.

KR,

1 Like