MCPcopy Index your code
hub / github.com/pgadmin-org/pgadmin4 / set_version

Function set_version

web/pgadmin/setup/db_version.py:40–42  ·  view source on GitHub ↗
(new_version)

Source from the content-addressed store, hash-verified

38
39
40def set_version(new_version):
41 version = Version.query.filter_by(name='ConfigDB').first()
42 version.value = new_version

Callers 2

run_migration_for_sqliteFunction · 0.90
run_migration_for_othersFunction · 0.90

Calls 1

firstMethod · 0.65

Tested by

no test coverage detected