update_dbix_class_files.pl [--koha-conf <path>] --db_name=db-name \ --db_user=db-user --db_passwd=db-pass ...
The command in usually called from the root directory for the Koha source tree. If you are running from another directory, use the --path switch to specify a different path.
Path to koha-conf.xml from which DB connection params will be retrieved.
<path> is optional and defaults to the value of environment variable KOHA_CONF, if set. It is an error to omit the <path> if KOHA_CONF is not set.
Any --db_* options will override values retrieved from <path>.
DB name. (mandatory)
DB user name.
DB driver to be used. (defaults to 'mysql')
hostname for the DB server. (defaults to 'localhost')
port number for the DB server. (defaults to '3306')
path into which create the schema files. (defaults to './')
Force a schema overwrite.
WARNING: Use this at your own risk! it's helpful if you are maintaining a fork or in other such cases. You should always attempt to run the script without force first and only resort to using force if that fails. It is also very much worthwhile checking the diff after running with force to ensure you have not resulted in any unexpected changes.
prints this help text