/usr/bin/biomaj_migrate_database.py is in python3-biomaj3 3.1.3-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 | #!/usr/bin/python3
from biomaj.schema_version import SchemaVersion
import logging
logging.warn('Migrate BioMAJ database...')
logging.warn('Needs global.properties in local directory or env variable BIOMAJ_CONF')
SchemaVersion.migrate_pendings()
logging.warn('Migration done')
|