server create_db is a light wrapper around SQLA’s Base.metadata.create_all() call which is idempotent in the way we use it.
Redash uses Alembic by way of Flask-Migrate. The creator of Alembic / SQLA says in the below GH issue that migrations are not idempotent by design. In my experience, however, they are idempotent de facto.
Ι am in the process of creating helm charts for redash out of the proposed docker-composeconfiguration.
I plan to use helm hooks for such tasks (create_db + migration scripts) and was wandering what could possible go wrong (in terms of database corruption) in case such scripts run on the wrong timing.
Login or sign up disabled while the site is in read only mode