ocurrent / current-bench

Experimental benchmarking infrastructure using OCurrent pipelines
Apache License 2.0
33 stars 17 forks source link

Use omigrate `setup` in the pipeline entrypoint script #483

Closed punchagan closed 1 year ago

punchagan commented 1 year ago

omigrate setup ensures that the database exists and the version table of schema migrations exists, before running up, which runs all the migrations that have not yet been run. Using setup works better in cases where the database has not yet been setup, and works the same in cases when running with an existing DB.