Skip to content

Commit

Permalink
cli: password is per default hided
Browse files Browse the repository at this point in the history
* this leads to the problem that the program couldn't connect to the
  database
  • Loading branch information
utnapischtim committed Jan 24, 2025
1 parent 37aabbb commit 3db160f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions invenio_records_marc21/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@
>>> from invenio_db import db
>>> from sqlalchemy_utils.functions import create_database, database_exists, drop_database
>>> if database_exists(str(db.engine.url)):
... drop_database(str(db.engine.url))
>>> create_database(str(db.engine.url))
>>> if database_exists(str(db.engine.url.render_as_string(hide_password=False))):
... drop_database(str(db.engine.url.render_as_string(hide_password=False)))
>>> create_database(str(db.engine.url.render_as_string(hide_password=False)))
>>> db.create_all()
Expand Down

0 comments on commit 3db160f

Please sign in to comment.