Apoc optionally allows you to run a cypher command after database initialization is finished. This can e.g. be used to ensure indexes/constraints are created up front.
To use this feature use a config option:
For running multiple statements you can also add suffixes to the config options, like
The statements will then be executed in sort-order.