stamp_database

safir.database.stamp_database(config_path)

Mark the database as updated to the head of the given Alembic config.

Add the necessary data to the database to mark it as having the current schema, without performing any migrations. It is intended to be called immediately after a fresh database initialization with the current schema.

Parameters:

config_path (Path) – Path to the Alembic configuration.

Return type:

None